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

  Develop project to calculate checking account balance

Develop project to calculate your checking account balance. Form: Include radio buttons to indicate the type of transaction: deposit, check, or service charge.

  Program to return the array index having largest savings

Write down function also called from main module - this function will find out and return array index containing the largest savings.

  Dishtinguish antigone and what you know of theban saga

How would you dishtinguish Antigone, and what you know of Theban saga, to Oresteia, and what you know of story of Mycenaean saga?

  What is an abstract method

What is an abstract class? What is an abstract method

  Based on the kercher 2009 article how can management tools

q1. based on the kercher 2009 article how can management tools for microsoft windows server 2008 automate user account

  Write recursive programs with lists and backtracking

Objectives: For this assignment, you'll learn how to use Prolog to write recursive programs with lists and backtracking. Problem: There are three parts to this assignment. They are all related

  Make confirmation page using xhtml portion of script

Use XHTML portion of the script to make confirmation page to be viewed by visitor. Confirmation page must display the text of email message.

  Write a program to enter the number of apartment units

Write a program that prompts the user to enter the number of apartment units, the rent to occupy all the units, the increase in rent that result in a vacant unit.

  Machine language used by sim virtual computer simulator

Write a program in machine language used by the SIM virtual computer simulator package to calculate the sum of the four numbers stored in memory addresses A1, A2, A3 and A4.

  Find the total number of products sold for each product

Find the total number of products sold for each product.

  About html

Hyper Text Markup Language.

  Algorithm attributes and their importance.

Write a 2 page research paper (excluding title and reference pages) on algorithm attributes and their importance. Use two resources (Wikipedia sources are not permitted) and list each resource used at the end of the paper in the reference list sec..

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