dsolve second order differential equation

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),

 Réponse acceptée

Torsten
Torsten le 11 Avr 2020

0 votes

dySol=diff(ySol,x);
dySol(585.8)

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by