{ "cells": [ { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import matplotlib.pyplot as plt\n", "from scipy.integrate import odeint\n", "import sympy as smp\n", "from matplotlib import animation\n", "from matplotlib.animation import PillowWriter" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "A diagram of the problem at hand:\n", "\n", "* The entire system depends on only two angles: $\\theta_1$ and $\\theta_2$\n", "* We will use these variables as our free variables" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
\n",
" \n",
"