Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Graphing/Solving Differential Equation
조회 수: 1 (최근 30일)
이전 댓글 표시
I tried to solve it by using dsolve, however I'm not even sure if I'm doing it right. How do I get it in terms of x? Would the equivalent equation to the 2nd ODE in that picture be D2y=-P*t/bstiff
syms bstiff P t L
def=dsolve('D2y=-P*t/bstiff','y(L)=0','Dy(L)=0')
slope=diff(def)
L = 2.0;
edef=subs(def)
eslo=subs(slope)
f = symfun(eslo + edef, t);
bstiff = 1.0; P = 1.0;
ef = subs(f);
fplot(ef, [0 L])
end
댓글 수: 1
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!