photo

sv


Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 10 anni fa | 1 risposta | 0

1

risposta