photo

sv


自 2014 起处于活动状态

Followers: 0   Following: 0

消息

统计学

  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


i want to plot coupled differential-algebraic equations dy/dt=Sqrt ((1-1/y^4)+log(y)) and z=Abs[(3*c^2)*(4*e^2)/((1-f^2/((3*y^3)^2))*4*(1 - f^2/(12*y^3))). Here c, e, f are constants and their values are known. What type of ode solver should i use.
The initial value of y at t=0 is 1.005. Also the limits of t are 0 to 0.05. I want the plot between z and t, also between y an...

10 years 前 | 1 个回答 | 0

1

个回答

提问


i want to plot a equation dy/dt=Sqrt ((1-1/y^4)+log(y)). What type of ode solver should i use. The initial value of y at t=0 is 1.005. Also the limits of t are 0 to 0.05.
function bb [t,y]=ode(@odefun,[0 0.05],1.005); plot(t,y(:,1),'-o') end function dy =odefun(t,y) a=250; b= 1e5; dy=(a*(1...

10 years 前 | 1 个回答 | 0

1

个回答