Compute the trajectory of the particle

Assignment Help Programming Languages
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.

Reference no: EM13979368

Questions Cloud

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?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd