Clear Filters
Clear Filters

ordinary differential equation

1 view (last 30 days)
12ar.af
12ar.af on 29 Sep 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

Answers (1)

Grzegorz Knor
Grzegorz Knor on 29 Sep 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 Comments
12ar.af
12ar.af on 29 Sep 2011
Can we make the values into a table or something.like year and theta side by side?
Grzegorz Knor
Grzegorz Knor on 29 Sep 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])

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!