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

  After this force is applied the length of the cylinder

a cylinder of an aluminum alloy with a radius of 2.00 cm and a length of 11.00000cm is subjected to a force of 41.0kn.

  The upper block just begins to slip when the amplitude is

the two blocks in the figureoscillate on a frictionless surface with a period of 1.7 s. the upper block just begins to

  Molecular weight problem

Material D has a molecular weight of 213.45 g/mol and material E has a molecular weight of 75.12 g/mol. You desire to have a mixture of 15 mol % D. How much D is required to be added to 500 g of E to make this mixture?

  An airplane heading eastward is observed to be in a

an airplane heading eastward is observed to be in a 20degree climb at a speed of 1200kmh. at this instant its

  Use the thin-airfoil theory to find the center of pressure

Use the thin-airfoil theory to find the center of pressure (as a function of lift coefficient) and the moment coefficient about the aerodynamic center for the NACA 2412 and the NACA 4412?

  Determine the amount of energy transfer by heat

A rigid tank initially contains 3 kg of saturated water vapor at 140°C. Heat transfer occurs, and the pressure drops to 200 kPa. Assume that kinetic and potential energies are negligible. Determine the amount of energy transfer by heat, in kJ.

  Each glass bottle has an empty dry mass of 120 grams based

all makers of beverages such as breweries wineries and soda makers must wash bottles before filling. a new beverage

  What would be the velocity of the sound in the tube for

estimate in mm your uncertinity in locating the position of a resonance level. are the resonances sharp located at a

  What is the inner tube sur- face temperature

If the inner tube wall is heated electrically at a rate (per unit length) of q'= 4000 W/m, while the outer tube wall is insulated, how long must the tubes be for the water to achieve an outlet temperature of 85°C? What is the inner tube sur- f..

  Find the voltage measured by the dvm

Find the voltage measured by the DVM - what is the reading R and find the relative humidity and the humidity ratio.

  Determine the mass flow rate of air through the turbine

An adiabatic gas turbine expands air at 1,000kPa and 500C to 100kPa and 150C. Air enters the turbine through 0.200m^2 opening with an average velocity of 40 m/s and exhausts through a 0.910m^2 opening.

  The rate of heat addition to the air by the heating coil

In a heating/humidifying system moist air first flows through a heating coil and then through an air washer. The air enters the system at 55 °F dry-bulb temperature and 40 % relative humidity. The air exits the system at 90 °F dry-bulb temperature an..

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