MATLAB Answers

dsolve second order differential equation

조회 수: 7(최근 30일)
esat gulhan
esat gulhan 11 Apr 2020
댓글: esat gulhan 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

댓글을 달려면 로그인하십시오.

채택된 답변

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

  댓글 수: 1

esat gulhan
esat gulhan 11 Apr 2020
Excellent, thank you

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by