dsolve second order differential equation

1 view (last 30 days)
I am working on second order diferantial question,
y"=0.0008742
y(0)=0 , y(585.8)=150,
My code is below
syms y(x)
eqn = diff(y,x,2) == 0.00087422358746158224444900076826769;
Dy = diff(y,x);
cond = [y(0)==0, y(585.8)==150];
ySol(x) = dsolve(eqn,cond)
Dy(585.8)
I want to find Dy at 585.8, but i cant find solution
it gives, D(y)(2929/5) but it is useless
how can i find Dy(585.8),

Accepted Answer

Torsten
Torsten on 11 Apr 2020
dySol=diff(ySol,x);
dySol(585.8)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!