Symbolic differential equation using dsolve. one of the constraints at t=infinity. i.e. y(t) @ t=Inf = a constant. (or y(Inf) == k) How do I do this?

Answers (1)

Set the condition at t=R. In the solution to this problem, let R approach infinity.
Best wishes
Torsten.

1 Comment

This does not seem to work, this is what I have tried: syms v(t) c r R E x >> R=limit(x,Inf); >> dsolve(diff(v)+v/(c*r)==E/(c*r),v(0)=0,v®=E) dsolve(diff(v)+v/(c*r)==E/(c*r),v(0)=0,v®=E) | Error: The expression to the left of the equals sign is not a valid target for an assignment. or
>> dsolve(diff(v)+v/(c*r)==E/(c*r),v(0)=0,v(Inf)=E) dsolve(diff(v)+v/(c*r)==E/(c*r),v(0)=0,v(Inf)=E) | Error: The expression to the left of the equals sign is not a valid target for an assignment.
The "Inf" seems to make dsolve choke as a constraint

Sign in to comment.

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Asked:

on 12 Nov 2015

Commented:

on 13 Nov 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!