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

��b�@s�ddlZddlmZddlZddlmZdZdZ	dZ
dd�ZejddddgZ
e�ddd	�Zeee
eee	e
fd
�Ze�edd�dfedd�dfd�e�d�e�d
�e�d�e��e��dS)�N)�odeint�g��Q��#@c
	Csn|\}}}}|d||t�|�d|||d|||||d||||t�|�g}	|	S)Nr�)�np�sin�cos)
�y�t�M�m�g�theta�omega�radius�RhoZdydt�r�&/home/user/Group Project/phasePlot6.py�Atwood
s^rr�di@B)�args�rz"Angular velocity (rad per seconds)zAngular displacement (radians)zFig 6 - Phase Plot)�numpyr�matplotlib.pyplot�pyplot�plt�mathZscipy.integraterr
rrr�pi�y0�linspacer	Zsul�plot�ylabel�xlabel�title�grid�showrrrr�<module>s &