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

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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