Question: 2. If a force is applied sideways to a moving object, the resulting motion path of the object will be curvilinear. Using MATLAB, simulate such

 2. If a force is applied sideways to a moving object,

2. If a force is applied sideways to a moving object, the resulting motion path of the object will be curvilinear. Using MATLAB, simulate such a motion and plot the resulting motion path in x-y coordinates. Assume that the object is 5kg, the initial position of the object is (0,0), and the initial velocity is (0, 5m/s). f = 2N v= 5m/s (1) Assume that the applied force is f = 2N in the negative x direction. Using a time vector from 0 to 5s with a time interval of 0.1s, simulate the motion and plot the motion path in x-y coordinates. You should use For loop for the numerical simulation. (2) Assume that the applied force is f = 2N in the negative x direction for the first 2 seconds and f = 3N in the positive x direction for the next 3 seconds. Using a time vector from 0 to 5s with a time interval of Ims, simulate the motion and plot the motion path in x-y coordinates. You should use For loop for the numerical simulation. Note: Present both your MATLAB code and plots. Plot the two paths from (1) and (2) on separate plots and compare the results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!