In: Physics
C++ language, only math equation, no code.
A Box on a slope slides under the following force F = m*g*sin(theta) - 0.2v(t). Assume m = 1kg and g=10 and theta = 30'. We want to simulate the slide using dt = 0.1 second interval. This means update frame rate is 10 per second. Initial speed is 0. After 2 seconds we like to know what is the current position and speed of the box. We want to do this using Explicit Euler(EE), Semi-Explicit Euler(SE), and Verlet Method for updating at each frame.
a) What are the update equations for EE method?
b) What are the update equations for SE method?
c) What is the update equation for Verlet method? How do you choose the initial first 2 positions in this method?
d) Provide a table showing updates per frame for each method. This means there are 3 columns, one for each method, and there are 20 rows for 20 frames to comprise 2 seconds of updates. Which method is more out of sync with the other 2 methods?
e) What is the maximum speed of decent of the box on the slope? why? (hint. Use analytical way to argue what is the maximum speed)