Project

Oscillating animation of simple pendulum using MATLAB

Objective: b=damping coefficient., g = gravity in m/s2, L = length of the pendulum in m, m = mass of the ball in kg, clear all close all clc %constants b=0.5 g=9.81 l=1 m=1 %intial condition theta_0=[0;5] %time t_span=linspace(0,20,100); %solve ode [t,x] = ode45(@(t1,theta) exam(t1,theta,b,g,l,m),t_span,theta_0); %origin O=[0,0];…

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.