Page 1 of 1

Problem 1. [50 points] Use Python package odeint to write code for numerical solution of the following second-order equa

Posted: Thu May 12, 2022 11:44 am
by answerhappygod
Problem 1 50 Points Use Python Package Odeint To Write Code For Numerical Solution Of The Following Second Order Equa 1
Problem 1 50 Points Use Python Package Odeint To Write Code For Numerical Solution Of The Following Second Order Equa 1 (33.13 KiB) Viewed 23 times
Problem 1. [50 points] Use Python package odeint to write code for numerical solution of the following second-order equation for the pendulum with gravity g and length L: x"(t) + k sin(x) = 0 with k = g/L, for initial conditions x(0) = a and x'(0) = b. [a, 20 points] Write code for general parameters a, b, k. [b, 20 points] For values a = 1, b = -0.8, and k = 1.6, plot (t, x(t)) fort € [0, 10). [c, 10 points) For the values from , find the value x(9.64).