Question: Given: Use MATLAB to find and plot the solution to the equations of motion given, assuming M =10kg , m = 2kg , k =
Given:



Use MATLAB to find and plot the solution to the equations of motion given, assuming M =10kg , m = 2kg , k = 0.5N/m , b = 0.2N-s/m , lo = 0.5m , and each mass starts from rest. Set the initial distance between mass M and the wall to be lo / 2 and the initial distance between mass m and M to be lo . Be sure to label your axes with units and add a legend.
Please give the code used
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
