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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!