Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

imageimageimage

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Control Systems

Authors: Richard C. Dorf, Robert H. Bishop

12th edition

136024580, 978-0136024583

More Books

Students also viewed these Mechanical Engineering questions