MATLAB Answers

dsolve second order differential equation

5 views (last 30 days)
esat gulhan
esat gulhan on 11 Apr 2020
Commented: esat gulhan on 11 Apr 2020
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),

  0 Comments

Sign in to comment.

Accepted Answer

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

More Answers (0)