Question: Please write in C++ and use python for the plot Write a program that calculates the position, velocity v(t)-dt, and acceleration a() of a particle

Please write in C++ and use python for the plot
Write a program that calculates the position, velocity v(t)-dt, and acceleration a() of a particle moving along a line as follows: dt2 x(t) = 3.4 cos(0.15 t) _ 0.9 Vt sin2(0.26 ) Do this for 0 50s using functions for x, v, and a. Specify a reasonably small much less than one, when finding v and a. The function for x should have one parameter(t), while the functions for v and a should also receive the t used for the derivative calculations, and will use the function x(t) repeat- edly. You must use user-defined functions to receive credit. Have the program output t, x, v, a into a file and use python/matplotlib to plot the results (single set of axes is fine)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
