Project

Pendulum ODE

Objective: clear all close all clc b=0.05; g=9.81; l=1; m=1; %initial_con th_0=[0;3]; %time plot tspan=linspace(0,20,500); %solve ode [t,results]= ode45(@(time,theta) ode_func(t,th,b,g,l,m),tspan,th_0); subplot(5,4,[13,14,17,18]); plot(t,results(:,1)) hold on; plot(t,results(:,2)) hold off subplot(5,4,[15,16,19,20]); plot(t,results(:,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.