The mass m is attached to a spring of free length b and stiffness k. The coefficient of friction between the mass and the horizontal rod is u. The acceleration of the mass can be shown to be x=-f(x), where k b f(x) = ug + ) 1- v m b2 +x If the mass is released from rest at x = b, its speed at x= 0 is given by 1. Compute vo by numerical Simpson's 1/3 and 3/8 integration and compare between them with different step size, using the data m= 0.9 kg. b 0.6 m. u=0.3, k = 100 N/m, and g = 9.81 m/s', 2. Develop a MATLAB code to solve the equation for both methods. 3. Plot the acceleration of the mass versus x, and find the area under the curve by MATLAB built-in function. 4. Can we find an exact solution???Try it. wwww Figure (1)
The mass m is attached to a spring of free length b and stiffness k. The coefficient of friction between the mass and the horizontal rod is u. The acceleration of the mass can be shown to be x=-f(x), where k b f(x) = ug + ) 1- v m b2 +x If the mass is released from rest at x = b, its speed at x= 0 is given by 1. Compute vo by numerical Simpson's 1/3 and 3/8 integration and compare between them with different step size, using the data m= 0.9 kg. b 0.6 m. u=0.3, k = 100 N/m, and g = 9.81 m/s', 2. Develop a MATLAB code to solve the equation for both methods. 3. Plot the acceleration of the mass versus x, and find the area under the curve by MATLAB built-in function. 4. Can we find an exact solution???Try it. wwww Figure (1)
Related questions
Question

Transcribed Image Text:The mass m is attached to a spring of free length b and stiffness k. The coefficient of friction
between the mass and the horizontal rod is u. The acceleration of the mass can be shown to be
x=-f(x), where
k
f(x) = ug+(b + x) 1–-
m
b² +x²
If the mass is released from rest at x = b, its speed at x = 0 is given by
1. Compute vo by numerical Simpson's 1/3 and 3/8 integration and compare between them
with different step size, using the data m = 0.9 kg. b = 0.6 m, =0.3, k = 100 N/m, and g
= 9.81 m/s.
2. Develop a MATLAB code to solve the equation for both methods.
3. Plot the acceleration of the mass versus x, and find the area under the curve by MATLAB
built-in function.
4. Can we find an exact solution??Try it.
www
Figure (1)
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 5 steps with 4 images
