Question
(!!!PLEASE MAKE A VIDEO SOLUTION FOR EXPLANATION!!!) Consider problem 4.61 in your textbook. It has a pendulum where there is a stop the string will
(!!!PLEASE MAKE A VIDEO SOLUTION FOR EXPLANATION!!!)
Consider problem 4.61 in your textbook. It has a pendulum where there is a stop the string will hit. If the pendulum is released at some initial angle theta, with an initial velocity L theta_dot in the t_hat direction, one of three things can happen: 1) the pendulum will hit the stop, swing up by an angle phi and turn around, 2) start the same way as 1) but eventually drop under the influence of gravity, causing the cord to go slack, or 3) continue spinning around the stop until the cord is wound up. Which happens is determined by the initial conditions. The assignment is as follows: Write a computer program where a user can input the initial angle and initial velocity of the pendulum bob. With this input, based on the equations of motion, your program should output a video file (any commonly used format that can be played by VLC media player) showing the predicted motion of the pendulum. Make sure to comment your code. You should hand in the following: A. A video file showing the output of your program. Select initial conditions that give each of the 3 behaviors and show them in succession in one video. The values of the initial conditions should be shown in a few frames of the video so the viewer can see what they are. B. A readme file explaining how to use your program and what format the video is and how to play it. C. Your computer program in its native format (.c, . cpp, .m, , nb) D . pdf file of your computer code I am happy to answer questions to clarify the assignment, but will not offer assistance. You should not seek assistance from other faculty, students, practicing engineers or alumni. You are welcome to use any written or online materials you wish, but you must do the work yourself. Uncommented code will not receive credit. All four files must be present to receive credit.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started