Just for clarification below is the question again (d^2 y)/(dx^2 )+4dy/dx+3y=0 subject to initial condition where dy/dx=4 and y=4. Can you help me explain how this can be solved?

1 view (last 30 days)
Just for clarification below is the question again
(d^2 y)/(dx^2 )+4dy/dx+3y=0 subject to initial condition where dy/dx=4 and y=4.
Can you help me explain how this can be solved?
  4 Comments
Walter Roberson
Walter Roberson on 5 Nov 2016
Joshua Amuga: you have attempted to use MuPAD syntax in MATLAB. You need to command
nb
and then use the command in the MuPAD notebook that opens.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 2 Nov 2016
dsolve() or one of the ode* routines.
  2 Comments
Walter Roberson
Walter Roberson on 5 Nov 2016
You are attempting to use MuPAD syntax in MATLAB. The solution you posted of
dsolve('D2y-4*Dy+3*y','y(0)=3','Dy(0)=4')
appears to me to be valid.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!