Reference no: EM13979368
In 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.
Show that penny lands a distance from base of coffee table
: Given: A penny moving at speed "v" slides off the horizontal surface of a coffee table a vertical distance "y" from the floor. Show that the penny lands a distance v√2y/g from the base of the coffee table.
|
What are some of the key areas of control and risk issues
: What are some of the key areas of control and risk issues associated with IT operations, especially, in the virtual environment?
|
What are the competing training interests of employers
: What are the competing training interests of employers and workers in Canada? How and to what degree do active labour market policies benefit workers ? And employers in Canada? How and to what degree does immigration benefit workers? And employers ..
|
Decision to start lending more vigorously lead to inflation
: Karen Dynan, a former Federal Reserve economist, was quoted as stating: The size of the Fed’s balance sheet, which has more than doubled since the financial crisis of 2008, and the large amount of reserves sitting at the Fed has made officials at the..
|
Compute the trajectory of the particle
: Your program should then compute the trajectory of the particle and display the motion of the particle as an animation in 3 dimensions
|
Demand curves are shift in response to indicated changes
: Show how the following demand curves are likely to shift in response to the indicated changes: a) The effect on the demand curve for umbrellas when rainfall decreases. b) The effect on the demand curve for apple juice when the price of orange juice d..
|
Stockholding and handling charges
: The advantage of ordering directly from the mill is that you can order plates to the exact dimensions that you require (within the particular mails rolling tolerances) and the cost per MT will be less as there are no stockholding and handling char..
|
Compare the plot of exact solution to numerical simulation
: Numerically integrate and plot the response of an underdamped system determined by m = 100 kg, k = 20,000 N>m, and c = 200 , Compare the plot of the exact solution to the numerical simulation
|
Why is it operations especially networks
: Why is IT operations, especially networks, important to virtual corporations?
|