HOW TO SOLVE THIS FUNCTION?
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
how to solvethis problem by matlab?thanks
y'=-2y+2x^2+2x y(0)=1
y(0.5)=??
0 件のコメント
回答 (1 件)
Andrei Bobrov
2013 年 11 月 28 日
編集済み: Andrei Bobrov
2013 年 11 月 28 日
Please read about dsolve :
doc dsolve
Your case:
syms x y(x)
yy = dsolve(diff(y) == -2*y + 2*x^2 + 2*x, y(0) == 1);
out = vpa(subs(yy,x,.5))
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!