n class last week, Dr. xxxx showed a particle connected to the origin by a spring with a 3 degree...
n class last week, Dr. xxxx showed a particle connected to the origin by a spring with a 3 degree of freedom swivel, so that the spring could easily take any orientation in 3 dimensional space. The particle is under the influence of gravity. This example was used as an example of a case where spherical or cylindrical coordinates might make the problem easier to solve than Cartesian coordinates. This extra credit assignment will examine this.
Write a computer program (in your choice of language) that accepts an input from the user as a structure containing the following:
1. The initial location of the particle (at an arbitrary location in 3 dimensional space)
2. The initial velocity of the particle (in an arbitrary direction)
3. The spring constant
Your program should then compute the trajectory of the particle and display the motion of the particle as an animation in 3 dimensions. The animation should then be exported as a video file that can be played by VLC media player (e.g. mp4, avi)
Submit
1. A .pdf of your code (with comments)
2. A video file showing your animation for some representative choice of user input
3. A paragraph explaining what coordinate system you used to write your code and the reasoning behind why you chose it.
4. A readme file explaining to computer literate users how to run and provide input to your code.
11 years ago
999999.99
- ACC 291 Week 3 Learning Team Learning Team Reflection
- project management-project motorcycles ALL WORK MUST BE ORIGINAL, NOT SOMETHING PREVIOUSLY USED. APA FORMAT. Assignment 2: Project Motorcycles Due Week 4 and worth 250 points You are a project manager for a medium-sized manufacturer of motorcycle cruiser
- Pacific Oil Case Study Read and respond to the Case 2-Pacific Oil Company and thoroughly respond to the case study questions in an essay. Support your interpretation with evidence from the book and other sources. The CSU-Global Library is a good place to
- BUS644: Operations Management Week 1
- 4 SIMPLE ENGINEERING QUESTIONS need a revision in next 2 hours please to upload by midnight
- for "nyanya" only
- Gender Inequality as it Exists Today
- essay 2-3 pages long
- production response
- ACC 220 Week 7 DQ 2