Challenge

Week 3 - Solving second order ODEs

L=1

m=1

b=0.05

g=9.81

%initial condition

theta_@=[0;5];

%Time points

t_span=linespace(0,10,500);

%solveode

[t,results]=ode30(@(t,theta)ode_function(t,theta,b,g,l,m)t,t_span,theta_@);

plot(t_result(:,1))

holdon

plot(t,result(:,2))

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.