Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / 1

1

Math

1. A function that asks the user to input a number of velocities, as magnitude and angle, and returns the resultant vector. (Produce a Vector Calculator) 
2. Code to simulate the path of the projectile under the following two scenarios: 
Scenario 1 - No obstacles in the path of the object Scenario 2 - A wall of a finite height (defined by the user) and an infinitesimal thickness between the point of launch and the intended landing point. 
Scenario 1 — No obstacles in the way 
Scenario 2 — A wall in the way 
1) Ask the user for the height of the launching point. 
1) Ask the user for the height of the launching point as well as the wall's height and distance to it. 
2) Use the resultant velocity from the Vector Calculator as the initial velocity of the object. 
3) Apply the SUVAT equations to calculate the object's trajectory (ignore the air resistance). 
4) Finish the simulation when the object hits the ground. 
4) Finish the simulation when the object hits either the ground or the wall. 
5) Plot the trajectory of the object. 
6) Communicate the time of flight of the object to the user as well as the total horizontal distance traveled. 
6) Communicate the time of flight of the object to the user as well as either the total horizontal distance traveled if it hits the ground or the height at which the object hits the wall. 
7) Make an animation of the object flying through the air. 
8) Make a GUI with a slider that will highlight a point on the graph at each corresponding value of the slider along the entire path of the object once the animation is finished. The program must also show the following information about the highlighted point of the graph: i. The object's coordinates: Horizontal and Vertical the reference point is the launching point). ii. The time past since the object was launched. iii. The object's velocity: Magnitude and Direction.  
3. The code should be fully documented, i.e. make a VERY extensive use of 'comment statements'. 4. This is an open-ended project. So be smart on how you approach it. Plan ahead on how far you want to take the problem. 
 

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE