Question: Objectives: Solve a system of ODEs using built-in Matlab functions like ode45(). You must be able to setup the inputs properly by hand or in

Objectives: Solve a system of ODEs using built-in Matlab functions like ode45(). You must be able to setup the inputs properly by hand or in Matlab. Consider the same pendulum from before, with g=9.81 and L=0.6. Solve the following ODE as a system without using the small angle approximation. Consider a time range from 0 to 4 with increments of 0.1. dt2d2+Lgsin()=0 Consider two different sets of initial conditions as shown below. a) at t=0,=0.1 radians and dtd=0. Name your output matrix "yA" where the first column is displacement and the second column is velocity. Plot the displacement and velocity versus time. b) at t=0,=4 radians and dtd=0. Name your output matrix "yB" where the first column is displacement and the second column is velocity. For this scenario, you may wish to compare to the small angle approximation to see how it diverges
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
