> 其他 >
mathematica 画微分方程数值解
求y'(t)=y^2+t^2,y(0)=0的解的图像!
人气:251 ℃ 时间:2020-05-27 22:58:14
解答
tt1=NDSolve[{D[y[t],t]\[Equal]y[t]^2+t^2,y[0]\[Equal]0},y,{t,-2,2}]
{{y -> InterpolatingFunction[{{-2.,2.}},""]}}
Plot[y[t] /.tt1,{t,-2,2}]
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版