ubuntu2004
U ��a � @ s� d dl Zd dlmZ d dlmZ dZdZdZ dd� Z d dddgZe�d d d �Z ee ee eee fd�Zejedd�d f edd�df dd d� ejdd� e�� e�� dS )� N)�odeint� � g��Q��#@c C sn | \}}}}|d| | t �|� d|| |d|| || |d || || t �|� g} | S )N� r )�np�sin�cos) �y�t�M�m�g�theta�omega�radius�RhoZdydt� r �-/home/user/Group Project/Modular Code/test.py�Atwood s ^r r � �e )�args�rztheta (x) vs theta dot (y))�label�best)�loc)�numpyr �matplotlib.pyplot�pyplot�pltZscipy.integrater r r r r �y0�linspacer Zsul�plot�legend�grid�showr r r r �<module> s *