photo

sv


Aktiv seit 2014

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort