Answered step by step
Verified Expert Solution
Question
1 Approved Answer
this is a matlab question. solve the question only if you are sure on how to do it correct. The second order differential equation (see
this is a matlab question. solve the question only if you are sure on how to do it correct.
x1=x2, x1(0)=pi/3, x2=-(g/L)sin(x1), x2(0)=0.
Solve this system with a Runge-kutta4 (do not use a function handle, it has to be hand made). Chose a time interval [0,T], which allows the pendulum to swing about two whole periods. Then plot the angel and angel velocity as a function of time.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started