Display the motion of the particle as an animation

Assignment Help Mechanical Engineering
Reference no: EM131070393

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.

Reference no: EM131070393

Questions Cloud

An example of a product-of-sum expression : QUESTION 1. Which answer is an example of a product-of-sum (POS) expression?
Complete list of classes used in your design : Complete list of classes used in your design. Complete Design class diagram. List of the Design patterns that you have used. Clearly annotate your class diagram where you used the design patterns in your design.
Same pitch the sound will pulsate : A piano has two or three strings that are struck simultaneously when each individual key is pressed. If these strings are not properly tuned to exactly the same pitch the sound will pulsate (change intensity) as the key is held down. Why?
The u.s.system of volume measurement : In the U.S.system of volume measurement, a pint is 2 cups, a cup is 8 ounces, an ounce is 2 tablespoons, and a tablespoon is 3 teaspoon. Write a program that requests a volume in cups and that displays the equivalent volumes in pints,ounces,tables..
Display the motion of the particle as an animation : 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 t..
Develope a software that tests softwares : To develope a software that tests softwares using genetic algorithm. The techniques that should be applied in the software are: selection, crossover, mutation, fitness function and termination.
Tunnel cost comparisons : Search the internet for the link to the Boston tunnel, "the Big Dig" or the "Channel Tunnel," and London's Millennium Dome. In spite of their poor cost performance, why do you think these projects were supported to their conclusion? What would it ..
Design a summing amplifier with three channels : Design a summing amplifier with three channels, using a 741C Op-Amp. The voltage gain of the should be 1.3, 2, and 4.7 for channel 1 to channel 3. Show the results for vout for all possible combinations of the channels in a table. Use screen shots..
Components in multisim-vhdl : Listthe type of equipment or components that you will be using? Where will you find these components? How will you use these components in Multisim/VHDL? Explain any adjustments required such as tolerances.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  What percentage of washers are discarded

25 washers have a combined mass of 1 lb. how much money is recovered per day from the sale of scrap washers?

  Calculate the average spacing between free-electron energy

Calculate the average spacing between free-electron energy levels in a cube-shaped crystal of Li that is one centimetre on each edge. At what cube size will the separation between energy levels be larger than the thermal energy available to the elect..

  Calculate normal forces associated with front and rear wheel

Calculate the normal forces associated with the front and rear wheel pairs of the 1600-kg front- wheel-drive van. Then repeat the calculations when the van

  Calculate the reaction force in each of supports a and b

a crate containing 40 bricks each of mass 1.3kg is placed on a storage framework as shown.a calculate the reaction

  Assuming there is no friction what will be the final height

a solid cylindrical workpiece made of 5052-o aluminum is 12 cm high and 8 cm in diameter. assuming there is no

  When the outer temperature is raised to 200 degrees celsius

consider a 12-cm-thick plane wall with its inner surface temperature fixed at 0 degrees celsius. when its outer surface

  The water enters the electric heater at 60f and is heated

a household hot water system heats water only as it is needed. the water enters the electric heater at 60f and is

  If the barometric pressure was 100 kpa and the humidity was

temperature in state college pa on 31st december 2012 was 22 f. if the barometric pressure was 100 kpa and the humidity

  A well insulated thin-walled double-pipe counter-flow heat

a well insulated thin-walled double-pipe counter-flow heat exchanger is to be used to cool oil cp 2.20 kjkg c from 150

  Find the final relative humidity and rate of heat transfer

Outside air at 1 bar, 5 °C and RH 70% is heated to 25 °C. The flow rate of air is 50 m 3/min. Find (a) the final relative humidity, (b) the rate of heat transfer (in kW) needed to heat up the air?

  If a heat pump is used to pump heat from the outside to the

it is found that 10 btus of heat must be supplied to a house in order to maintain its temperature at 70of when the

  An orifice meter is installed in a 12 foot ductile iron

an orifice meter is installed in a 12 foot ductile iron pipe carrying water at 60 deg f. a mercury manometer is used to

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