Question

We consider 2 coupled harmonic oscillators, as shown in the diagram below.

m/ F(0) win 01 x1(0) 02 x200)

The mass m1 is subjected to an external force F (t).

1. Construct the system of differential equations whose unknowns are the displacements x1 (t) and x2 (t) of each of the 2 masses. (5 points).

2. Solve x1(t) and x2(t) in the case where m1 = 1kg; m2 = 2kg; k = 1 N / m; F(t) = 0 and x1(0) = 0; ?1′(0) = 0; x2(0) = 0; ?2′(0) = 0 (10 points).

3. Solve x1(t) and x2(t) in the case where m1 = 1kg; m2 = 2kg; k = 1 N / m; F(t) = cos(t) and x1(0) = 0; ?1′(0) = 0; x2(0) = 0; ?2′(0) = 0 (10 points).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.

clc
clear
close
m1=1; m2=2; k=1; F=0;
tspan=[0 10];
x0=[0;0;0;0];
[t,a]=ode45(@(t,a)[a(2);(F-k*(a(1)-a(3)))/m1; a(4); k*(a(1)-a(3))/m2],tspan,x0);
figure(1)
plot(t,a(:,1))
xlabel('time [sec]'), ylabel('x_1 [m]')
figure(2)
plot(t,a(:,3))
xlabel('time [sec]'), ylabel('x_2 [m]')

X 2 - A Figure 1 Eile Edit View Insert Tools Desktop Window Help R 4 - la VE - 5 junk3.mx + 1 - clc clear 3 - close ml=l; m2=

2.

clc
clear
close
m1=1; m2=2; k=1;
tspan=[0 70];
x0=[0;0;0;0];
[t,a]=ode45(@(t,a)[a(2);(cos(t)-k*(a(1)-a(3)))/m1; a(4); k*(a(1)-a(3))/m2],tspan,x0);
figure(1)
plot(t,a(:,1))
xlabel('time [sec]'), ylabel('x_1 [m]')
figure(2)
plot(t,a(:,3))
xlabel('time [sec]'), ylabel('x_2 [m]')

fx >> A Figure 1 ох File Edit View Insert Tools Desktop Window Help TE 3 - 3 junk3.mx + 1 clc 2 - clear close ml=l; m2=2; k=l

Add a comment
Know the answer?
Add Answer to:
We consider 2 coupled harmonic oscillators, as shown in the diagram below. The mass m1 is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • DIFFÉRENTIEL EQUATIONS We consider 2 coupled harmonic oscillators, as shown in the diagram below. The mass...

    DIFFÉRENTIEL EQUATIONS We consider 2 coupled harmonic oscillators, as shown in the diagram below. The mass m1 is subjected to an external force F (t). 1. Construct the system of differential equations whose unknowns are the displacements x1 (t) and x2 (t) of each of the 2 masses (DIFFERENTIEL EQUATIONS). 2. Solve x1 (t) and x2 (t) in the case where m1 = 1kg; m2 = 2kg; k = 1 N / m; F (t) = 0 and x1 (0)...

  • We consider 2 coupled harmonic oscillators, as shown in the diagram below The mass m1 is...

    We consider 2 coupled harmonic oscillators, as shown in the diagram below The mass m1 is subjected to an external force F(t). 1) Construct the system of differential equations whose unknowns are the displacements x1 (t) and x2 (t) of each of the 2 masses. 2) Solve x1 (t) and x2 (t) in the case where m1 = 1kg; m2 = 2kg; k = 1 N / m; F (t) = 0 and x1 (0) = 0; ?1′ (0) =...

  • 6. Consider two coupled oscillators of mass mi and m2 that are attached by springs and are unstre...

    6. Consider two coupled oscillators of mass mi and m2 that are attached by springs and are unstretched when x,-12-0. The damping force viscous dampers. The springs is proportional to the speed of the displacement and acts in the direction opposite the motion, Fd--cv T1 k1 k2 m1 m2 C1 C2 C3 a) Find the equations of motion in and i2 b) Since the equations are coupled, write them in matrix form: ME+ CE+ K 0 6. Consider two coupled...

  • M1 m2 Figure 1: 2dof 1. Consider the system above. Derive the equation of motion and calculate th...

    m1 m2 Figure 1: 2dof 1. Consider the system above. Derive the equation of motion and calculate the mass and stiffness matrices Note that setting k30 in your solution should result in the stiffness matrix given by Eq. (4.9). a. Calculate the characteristic equation from problem 4.1 for the case m1-9 kg m2-1 kg ki-24 N/m 2 3 N/m k 3 N/m and solve for the system's natural frequencies. b. Calculate the eigenvectors u1 and u2. c. Calculate 띠(t) and...

  • We consider here, the two masses m1 and m2 connected this time by springs of stiffnesses...

    We consider here, the two masses m1 and m2 connected this time by springs of stiffnesses k1, k2 and k3 as shown in the figure below. We denote by x1(t) and x2(t) the movement of each of the 2 masses relative to its position of equilibrium static. 1. Prove that the differential equation whose unknown is the displacement x1(t) is written in the following form: (3 points) 2. Deduce the second differential equation whose unknown is the displacement x2(t) (3...

  • Problem 1 (Harmonic Oscillators) A mass-damper-spring system is a simple harmonic oscillator whose dynamics is governed...

    Problem 1 (Harmonic Oscillators) A mass-damper-spring system is a simple harmonic oscillator whose dynamics is governed by the equation of motion where m is the mass, c is the damping coefficient of the damper, k is the stiffness of the spring, F is the net force applied on the mass, and x is the displacement of the mass from its equilibrium point. In this problem, we focus on a mass-damper-spring system with m = 1 kg, c-4 kg/s, k-3 N/m,...

  • For a mass-spring-damper mechanical systems shown below, x200) K1-1 N/m 0000 -X,(0) K-1 N/m 00004 =...

    For a mass-spring-damper mechanical systems shown below, x200) K1-1 N/m 0000 -X,(0) K-1 N/m 00004 = 1 N-s/m fr2 M1=1 kg = 2 N-s/m M2 -1 kg 13 = 1 N-s/m 1. Find the differential equations relating input force f(t) and output displacement xi(t) and x2(C) in the system. (40 marks) (Hint: K, fy and M are spring constant, friction coefficient and mass respectively) 2. Determine the transfer function G(s)= X1(s)/F(s) (20 marks)

  • Here we consider the two masses m1 and m2 connected this time by springs of stiffnesses...

    Here we consider the two masses m1 and m2 connected this time by springs of stiffnesses k1, k2 and k3 as shown in the figure below. The movement of each of the 2 masses relative to its position of static equilibrium is designated by x1(t) and x2(t). 1. Demonstrate that the differential equation whose unknown is the displacement x1(t) is written as follows: 2. Determine the second differential equation whose unknown is the displacement x2(t). 3. Determine the free oscillatory...

  • We consider here, the two masses m1 and m2 connected this time by springs of stiffnesses...

    We consider here, the two masses m1 and m2 connected this time by springs of stiffnesses k1, k2 and k3 as shown in the figure below. We denote x1 (t) and x2 (t) as the movement of each of the 2 masses relative to its position of equilibrium static. 1) Prove that the differential equation whose unknown is the displacement is written in the following form: 2) Deduce the second differential equation whose unknown is the displacement 3) Determine the...

  • (6) Here is the Hamiltonian for two coupled harmonic oscillators oriented along ti same axis: 22...

    (6) Here is the Hamiltonian for two coupled harmonic oscillators oriented along ti same axis: 22 22 2mozz + 3.2) + -k(zỉ + 2) + Ariza, (a) What are the energy levels for the two oscillators when there is no coupling, or i = 0 (b) Now include the coupling. What change of variables can be made to solve this syste exactly? (C) What are the energy levels for the system? (d) How would one construct the raising and lowering...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT