Borrar filtros
Borrar filtros

ordinary differential equation

1 visualización (últimos 30 días)
12ar.af
12ar.af el 29 de Sept. de 2011
i have an equation d(theta)/dt=((P*L^2)/(E*I))*sin(theta*D/L)
L=55.863; D=15.484; E=200*10^9; I=138; P=440*10^6
The initial theta at 1198 years is 0.010degrees.
i have to find theta from the year 1198 to 1990
can someone please help me.its urgent

Respuestas (1)

Grzegorz Knor
Grzegorz Knor el 29 de Sept. de 2011
Use ode45:
L=55.863; D=15.484; E=200*10^9; I=138; P=440*10^6;
ode45(@(t,theta)((P*L^2)/(E*I))*sin(theta*D/L),[1198 1990],0.01)
  7 comentarios
12ar.af
12ar.af el 29 de Sept. de 2011
Can we make the values into a table or something.like year and theta side by side?
Grzegorz Knor
Grzegorz Knor el 29 de Sept. de 2011
Yes, read one of my comment above.
[T THETA] = ode45(@(t,theta)((P*L^2)/(E*I))*sin(theta*D/L),[1198:1990],0.01);
disp([T THETA])

Iniciar sesión para comentar.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by