THEORY EMT101: PROJECT 4: PHYTON Figure 1 shows that a simple pendulum is made up of a mass attached to a string of leng
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
THEORY EMT101: PROJECT 4: PHYTON Figure 1 shows that a simple pendulum is made up of a mass attached to a string of leng
QUESTION Develop a Phyton program to investigate the relationship of the motion of the simple pendulum at a different initial angle in a period of time of one oscillation. (Assume the g = 9.81 m/s, L = 1 m and 80 degreed value is from user input). Your program should be able to: 1. Request the user input for initial angular displacement 80 degreed (valid only for 0º < 0o < 180° intervals) and convert the 8, the degree to radian. (the values are in radians) 2. Calculate and display the values of angular displacement along the 0≤ t ≤ T intervals with a 0.025-time step. 3. Plot the 8(t) vs t. 4. Set up a suitable legend, title, axis label, and line colour in your graph. Please submit your answer in two different versions of the file. First, submit your source code in the.ipynb file. Second, combine the source code, results, and graph into one PDF file. Submit all the files through e-learning. The submission date is July 21, 2022.