Question: Consider the mechanical system shown in the figure that includes two identical bars connected by a spring of spring constant k. Each bar has

Consider the mechanical system shown in the figure that includes two identicalbars connected by a spring of spring constant k. Each bar hasa length L and mass m. The motions of the masses are

Consider the mechanical system shown in the figure that includes two identical bars connected by a spring of spring constant k. Each bar has a length L and mass m. The motions of the masses are described by the following system of two second-order differential equations: = - - 3g 2L 3g 2L k -sin 0-3-cos 0 (sin 0 - sin 0) m k -sin 02 - 3cos 02 (sin 02 sin 0) m Solve the system numerically using the step size h = 0.05 s, the initial conditions 0(0) = 0,02 (0) = 0,0(0) = 4 rad/s, 02(0) = 0, and the parameters g = 9.81 m/s, m = 2 kg, L = 2 m, k = 1 N/m. Write a computer program to solve the system using the methods 1) Second-Order Runge-Kutta and 2) Fourth-Order Runge-Kutta. Plot to compare each of 0(t), (t), (t), (t) solutions from the two methods in the same plot for 50 seconds. (1)le 02(1) k www.

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 Mechanical Engineering Questions!

Q:

IL