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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 1 | 0

1

답변