Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
1931 views
ubuntu2004
U

��b;�@s�ddlZddlmZddlmZdZdZdd�Z	ddgZ
e�dd	d
�Zee	e
eeefd�Z
e�e
dd�dfe
dd�dfd
�e�d�e�d�e�d�e��e��e��dS)�N)�odeintg��Q��#@�cCs$|\}}|||t�|�g}|S)N)�np�sin)�y�t�g�L�theta�omegaZdydt�r�3/home/user/Group Project/simplependulumphaseplot.py�model
srg��������g�
�e)�args��bz&Angular velocity (radians per seconds)zAngular displacement (radians)zFig 3)�numpyr�matplotlib.pyplot�pyplot�pltZscipy.integraterrr	r�y0�linspacerZsol�plot�ylabel�xlabel�title�grid�showrrrr
�<module>s&