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 views (last 30 days)
Show older comments
Joshua Amuga
on 2 Nov 2016
Commented: Walter Roberson
on 5 Nov 2016
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
on 5 Nov 2016
Edited: Walter Roberson
on 5 Nov 2016
Joshua Amuga comments to KSSV:
IVP :=ode({y''(x)+4*y'(x)+3*y,y(0)=3,y'(0)=4},y(x));
Undefined function or variable 'IVP'.
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.
Accepted Answer
Walter Roberson
on 2 Nov 2016
dsolve() or one of the ode* routines.
2 Comments
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.
More Answers (0)
See Also
Categories
Find more on Get Started with MuPAD in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!