please help me (dsolve)
Show older comments
im sure its correct but it doesnt work
w=dsolve('D2y+0.5*Dy+y=3','y(0)=0.5,Dy(0)=0');
matlab 2018
im grateful for your help
Accepted Answer
More Answers (1)
Mischa Kim
on 16 Jan 2021
Use instead
syms y(t)
eqn = diff(y,t,2) + 0.5*diff(y,t) + y == 3;
Dy = diff(y,t);
cond = [y(0) == 0.5, Dy(0) == 0];
w = dsolve(eqn,cond)
1 Comment
Melika Eft
on 16 Jan 2021
Categories
Find more on Calculus 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!