Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Now that we have a good method to solve our pendulum differential equation, let's solve the non-linear equation, and compare the results with the analytical

image text in transcribed
Now that we have a good method to solve our pendulum differential equation, let's solve the non-linear equation, and compare the results with the analytical solution of the linear pendulum. This time youi'l use a 6 - 45. This will show us how bad t can be assuming that the behaviour of the pendulum is linear when our initial theta (0o) is not small enough. a) Using Runge-Kutta's method compute the numerical solution to the non-linear pendulunm. Parameters and initial conditions: 9.81 m ,-45 (convert to radians) 00-0 (where is a) Define your derivatives function and name it pendulum non 1inear Note: For the value of L use 9.81 def pendulum non linear (state): Write docstrings here g =-9.81 L 9.81 pendulum-non-linear -numpy . array([state[1], return pendulum non linear (g/L) state(0)))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago