2.9 HW8

  2.9.1 problem description
  2.9.2 problem 1
  2.9.3 problem 2
  2.9.4 problem 3
  2.9.5 problem 4
  2.9.6 problem 5
  2.9.7 problem 6
  2.9.8 Key solution for HW 8

2.9.1 problem description

PDF

PDF (letter size)
PDF (legal size)

2.9.2 problem 1

   2.9.2.1 part(a)
   2.9.2.2 part(b)
   2.9.2.3 part(c)
   2.9.2.4 part(d)

pict

2.9.2.1 part(a)

Let initial length of the spring (un stretched length) be L0 and when the mass m has moved to the right by an amount x then let the current length be Lcur.

Therefore the stretch in the spring isΔ=LcurL0

Let the height of the bar by H, where tanθ0=HL or H=Ltanθ0

pict

Hence from the above diagram we see that L0=H2+L2 and Lcur=H2+(L+x)2, thereforeΔ=H2+(L+x)2H2+L2Δ2=(H2+(L+x)2H2+L2)2

Now we can derive the equation of motion using energy methods.

Let T be the current kinetic energy in the system, and let V be the current potential energy.  This system is one degree of freedom, since we only need one generalized coordinate to determine the position of the mass m. This coordinate is x.T=12mx˙2V=12kΔ2=12k(H2+(L+x)2H2+L2)2

Hence the Lagrangian Φ isΦ=TV=TV=12mx˙212k(H2+(L+x)2H2+L2)2

Now the equation of motion for coordinate x is (using the standard Lagrangian form)ddt(Φx˙)Φx=Qx

But Qx, then generalized force, is zero since there is no external force and no damping. Now we just need to evaluate each part of the above expression to obtain the EOM.Φx˙=mx˙ddt(Φx˙)=mx¨

andΦx=x(12mx˙212k(H2+(L+x)2H2+L2)2)=k(H2+(L+x)2H2+L2)12(H2+(L+x)2)122(L+x)=k(H2+(L+x)2H2+L2H2+(L+x)2)(L+x)

Hence EOM becomesddt(Φx˙)Φx=0mx¨+k(H2+(L+x)2H2+L2H2+(L+x)2)(L+x)=0

2.9.2.2 part(b)

For small x we need to expand f(x)=k(H2+(L+x)2H2+L2H2+(L+x)2)(L+x) around x=0 in Taylor series and let higher powers of x go to zero.f(x)=f(0)+xf(0)+x2f(0)2!+HOT.

f(0)=k(H2+(L+0)2H2+L2H2+(L+0)2)(L+0)=k(H2+L2H2+L2H2+L2)L=0

and now for f(0)f(0)=ddxf(x)x=0=kddx[(H2+(L+x)2H2+L2H2+(L+x)2)(L+x)]x=0=k((L+x)ddx(H2+(L+x)2H2+L2H2+(L+x)2)+(H2+(L+x)2H2+L2H2+(L+x)2)ddx(L+x))x=0=k((L+x)(H2+L2L+x(H2+L2+2Lx+x2)32)+(H2+(L+x)2H2+L2H2+(L+x)2))x=0

Now we evaluate it at x=0f(0)=k((L+0)(H2+L2L+0(H2+L2+2L0+0)32)+(H2+(L+0)2H2+L2H2+(L+0)2))=k(L(H2+L2L(H2+L2)32)+(H2+L2H2+L2H2+L2))=k(L2((H2+L2)12(H2+L2)32))=k(L2(H2+L2))

Therefore, EOM of motion becomes (notice we ignored higher order terms, which contains x2 in them)mx¨+(f(0)+xf(0))=0

Hence the linearized EOM ismx¨+kL2(H2+L2)x=0

Or in terms of θ0 the EOM can be written asmx¨+kL2((Ltanθ0)2+L2)x=0mx¨+k11+tan2θ0x=0

This is the linearized EOM around x=0. Using numerical values given in the problem L=1,m=1,k=1000N/m,θ0=π4, it becomesx¨+100011+(tanπ4)2x=0x¨+500x=0

Therefore the linearized stiffness is 500x while the nonlinearized stiffness is[k(H2+(L+x)2H2+L2H2+(L+x)2)(L+x)]L=1,θ=450=1000((tanπ4)2+(1+x)2(tanπ4)2+1(tanπ4)2+(1+x)2)(1+x)=1000((x+1.0)2+1.01.4142(x+1.0)2+1.0)(1+x)

Here is a plot of linearized vs. non-linearized stiffness for x=11

pict

2.9.2.3 part(c)

The spring extension Δ is first found by assuming there is a point A at x=0 and point B where the spring is attached to the ceiling. Hence

pict

Δ˙=(u˙Au˙B)eA/B=(x˙ı^0ȷ^)(cosθ0ı^sinθ0ȷ^)=x˙cosθ0

ThereforeΔ=xcosθ0

Now we repeat the same calculations but using Δ=xcosθ0 for the spring extension.T=12mx˙2V=12kΔ2=12k(xcosθ0)2

Hence the Lagrangian Φ isΦ=TV=12mx˙212k(xcosθ0)2

Now the equation of motion for coordinate x is (using the standard Lagrangian form)ddt(Φx˙)Φx=0

It is equal to zero above, since there is no generalized force associated with coordinate x. Now we just need to evaluate each part of the above expression to obtain the EOM.Φx˙=mx˙ddt(Φx˙)=mx¨

andΦx=x(12mx˙212k(xcosθ0)2)=k(xcosθ0)cosθ0=kxcos2θ0

Hence EOM becomesddt(Φx˙)Φx=0mx¨+kxcos2θ0=0

But cosθ0=LH2+L2 hencemx¨+kxL2H2+L2=0

This is the same as the EOM for the linearized case found in part(c)

2.9.2.4 part(d)

Now we need to solve numerically the nonlinear EOM found in part(a) which ismx¨+k(H2+(L+x)2H2+L2H2+(L+x)2)(L+x)=0

using m=1,k=1000,L=1,θ0=450. For IC we use x(0)=0.1,x(0)=0 for first case, and for second case using x(0)=0.5,x(0)=0. This is a plot showing both responses on same diagram

pict

The period for the response for case of IC given by x(0)=0.5 is seen to be about 0.375 seconds and for the case x(0)=0.1 it is 0.275 sec.

The linearized EOM is x¨+500x=0 and hence ωn2=500 or ωn=500=22.361 rad/sec, hence T=2πωn=2π22.361=0.281 sec.

We notice this agrees well with the period of the response of the nonlinear equation for only the case x=0.1.This is because x=0.1 is very close to x=0 the point at which the linearization happened. Therefore, the linearized EOM gave an answer of 0.281 sec that is very close the more exact value of 0.275 seconds. But when the initial conditions changed to x(0)=0.5, then T found from linearized EOM does not agree with the exact value of 0.375 seconds.

This is because x=0.5 is far away from the point x=0 where the linearized was done. Hence the linearized EOM can be used for only initial conditions that are close to the point where the linearization was done.

Additionally, the nonlinearity manifests itself in the response of the system by noticing that the frequency of the free vibration response has actually changed depending on initial conditions. In a linear system, only the phase and amplitude of the free vibration response will change as initial conditions is changed, while the natural frequency of vibrations does not change.

2.9.3 problem 2

pict

Use y and θ as generalized coordinates as shown in this diagram in the positive direction

pict

Using Lagrangian method, we start by finding the kinetic energy of the system, then the potential energy.T=12my˙2+12(mrG2)θ˙2

For the potential energy, there will be potential energy due to ky spring extension and due to kT spring angle of rotation in system. From the diagram above, we see that, for small angle θV=12kyΔ2+12kTθ2

To find Δ we use the stiff spring approximation. Let the point the spring is attached at the top be B, thenΔ˙=(u˙Eu˙B)eE/B=((lθ˙y˙)ȷ^0)(ȷ^)=(lθ˙y˙)ȷ^(ȷ^)=(y˙lθ˙)

HenceΔ=ylθ

Therefore, the potential energy now can be found to beV=12ky(ylθ)2+12kTθ2

Therefore, the Lagrangian Φ isΦ=TV=12my˙2+12(mrG2)θ˙212ky(ylθ)212kTθ2

We now find the equations for each coordinate. For yΦy˙=my˙ddtΦy˙=my¨Φy=ky(ylθ)

Hence EOM isddtΦy˙Φy=Qymy¨+ky(ylθ)=Qy

We just need to find Qy the generalized force in the y direction. Using virtual work, we make small virtual displacement δy in positive y direction while fixing all other generalized coordinates from moving (in this case θ) and then find out the work done by external forces. In this case, there is only one external force which is L. Hence δW=Lδy

Therefore Qy=L since that is the force that is multiplied by δy. Hence EOM for y is now found my¨+ky(ylθ)=L

verification: As L increases, then we see that y gets larger. This makes sense since y is upwards acceleration, so wing accelerates in the same direction.

Now we find EOM for θΦθ˙=mrG2θ˙ddtΦθ˙=mrG2θ¨Φθ=kyl(ylθ)kTθ

Therefore the EOM isddtΦθ˙Φθ=QθmrG2θ¨kyl(ylθ)+kTθ=QθmrG2θ¨kyly+kyl2θ+kTθ=QθmrG2θ¨kyly+(kT+kyl2)θ=Qθ

We just need to find Qθ the generalized force in the θ direction. Using virtual work, we make small virtual displacement δθ in positive θ direction (i.e. anticlock wise) while fixing all other generalized coordinates from moving (in this case y) and then find out the work done by external forces. In this case, there is only one external force which is L. When we make δθ rotation in the positive θ direction, the displacement where the force L acts is (l+s)δθ for small angle. But this displacement is in the downward direction, hence it is negative, since we are using y as positive upwards. Hence δW=L(l+s)δθ

Therefore Qθ=L(l+s) since that is the force that is multiplied by δθ. Hence EOM for θ is now found mrG2θ¨kyly+(kT+kyl2)θ=L(l+s)

Verification: As L gets larger, then θ¨ gets negative (since L has negative sign). This makes sense, since as L gets larger, the rotation as shown in the positive direction will change sign and the wing will now swing the opposite direction (i.e. anticlockwise).

Now we can make the matrix of EOMMX+kX=Q(m00mrG2)(y¨θ¨)+(kylkylkykT+kyl2)(yθ)=(LL(l+s))

Notice that for [k] the matrix is symmetric as expected, and also positive on the diagonal as expected. The mass matrix [m] is symmetric and positive definite as well.

2.9.4 problem 3

pict

Let θ be the small angle of rotation that the rod rotates by in the anti clockwise direction. Let the point the spring is fixed be B and the moving point where the spring is attached to the rod be A.To find spring extension Δ we use the stiff spring approximation. Let the angle α=53.130, henceΔ˙=(u˙Au˙B)eA/B=((L3θ˙)ȷ^0)(cosαı^+sinαȷ^)=L3θ˙sinα

HenceΔ=L3θsinα

Using Lagrangian method, we start by finding the kinetic energy of the system, then the potential energy. θ is the only generalized coordinate. Assume bar has mass m and hence I= mL23T=12Iθ˙2

For the potential energy, there will be potential energy due to k spring extension. From the diagram above, we see that V=12k(L3θsinα)2

Therefore, the Lagrangian Φ isΦ=TV=12Iθ˙212kL29θ2sin2α

Now we find EOM for θΦθ˙=Iθ˙ddtΦθ˙=Iθ¨Φθ=kL2sin2α9θ

Therefore the EOM isddtΦθ˙Φθ=QθIθ¨+kL2sin2α9θ=Qθ

We now need to find the generalized force due to virtual δθ rotation using the virtual work method. There are 2 external forces, the damping force which will have negative sign since it takes energy away from the system, and the external force F which will add energy hence will have positive sign.

We start by making δθ and then find the work done by these 2 forces.

Work done by F is FLδθ since the displacement is Lδθ for small angle.  Now the work done by damping is(cL3θ˙)L3δθ hence total work isδW=FLδθ(cL3θ˙)L3δθ=(FLcL29θ˙)δθ

Notice that work due to damping was added with negative sign since damping removes energy from the system.

Hence Qθ=(FLcL29θ˙) therefore the EOM isIθ¨+kL2sin2α9θ=FLcL29θ˙Iθ¨+cL29θ˙+kL2sin2α9θ=FL

Hence the damping coefficient is cL29.

2.9.5 problem 4

pict

Let x1 and x2 be the generalized coordinates as shown in this diagram

pict

Let mass of cart be m1 and mass of small sliding block be m2 (at the end, they will be replaced by values given). Let k for spring attached to wall be k1 and k for spring for small block be k2.We start by finding the kinetic energy of the systemT=12m1x˙12+12m2v2

where v is the velocity of the block. To find this v it is easier to resolve components on the x and y direction. Therefore we find that v=x˙2sinθj+(x˙2cosθ+x˙1)i

pict

Hence |v|2=(x˙2sinθ)2+(x˙2cosθ+x˙1)2=(x˙22sin2θ)+(x˙22cos2θ+x˙12+2x˙2x˙1cosθ)=x˙22(sin2θ+cos2θ)+x˙12+2x˙2x˙1cosθ=x˙22+x˙12+2x˙2x˙1cosθ

Therefore T=12m1x˙12+12m2(x˙22+x˙12+2x˙2x˙1cosθ)

Now we find the potential energy.V=12k1x12+12k2x22m2g(x2sinθ)

There are no external forces, hence generalized forces Qx1,Qx2 are zero.  The Lagrangian Φ isΦ=TV=12m1x˙12+12m2(x˙22+x˙12+2x˙2x˙1cosθ)12k1x1212k2x22+m2g(x2sinθ)

Now we find EOM for x1 isΦx˙1=m1x˙1+m2x˙1+m2x˙2cosθddtΦx˙1=m1x¨1+m2x¨1+m2x¨2cosθ=(m1+m2)x¨1+m2x¨2cosθΦx1=k1x1

Therefore the EOM for x1 isddtΦx˙1Φx1=0(m1+m2)x¨1+m2x¨2cosθ+k1x1=0

Now we replace the actual values for m1=2m,m2=m,k1=3k hence3mx¨1+mx¨2cosθ+3kx1=0

Now we find EOM for x2 isΦx˙2=m2(x˙2+x˙1cosθ)ddtΦx˙1=m2(x¨2+x¨1cosθ)=m2cosθx¨1+m2x¨2Φx2=k2x2+m2gsinθ

Therefore the EOM for x2 isddtΦx˙2Φx2=0m2cosθx¨1+m2x¨2+k2x2m2gsinθ=0

Now we replace the actual values for m1=2m,m2=m,k2=k hencemcosθx¨1+mx¨2+kx2=m2gsinθ

Now we can make the matrix of EOMMX+kX=Q(3mmcosθmcosθm)(x¨1x¨2)+(3k00k)(x1x2)=(0m2gsinθ)

Hencem(3cosθcosθ1)(x¨1x¨2)+k(3001)(x1x2)=(0m2gsinθ)

Notice that there zeros now off diagonal in the [K] matrix, which means the springs are not coupled. (which is expected, as motion of one is not affected by the other). But mass matrix [m] has non-zeros off the diagonal. So the masses are coupled. i.e. EOM is coupled. This means we can’t solve on EOM on its own and both have to be solved simultaneously.

2.9.6 problem 5

pict

There are 2 degrees of freedom, θ1 and θ2 as shown in this diagram, using anticlock wise rotation as positive

pict

The Lagrangian Φ=TV whereT=12I1θ˙12+12I2θ˙22

Where I1=m1L23 and I2=m2L212+m2(L4)2 (using parallel axis theorem). Hence I2=m2L212+m2L216=748L2m2

Now we find the potential energy, assuming springs remain straight (stiff spring assumption) and assuming small anglesV=12k1(3L4θ1+3L4θ2Δ1)2+12k2(Lθ1+L2θ2Δ2)2+m1gL2θ1m2gL4θ2

Hence Φ=TV=(12I1θ˙12+12I2θ˙22)(12k1(3L4θ1+3L4θ2)2+12k2(Lθ1+L2θ2)2+m1gL2θ1m2gL4θ2)

Now we find EOM for θ1Φθ˙1=Iθ˙1ddtΦθ˙1=Iθ¨1Φθ1=k1(3L4θ2+3L4θ1)(3L4)k2(L2θ2+Lθ1)(L)m1gL2=3L4k1(3L4θ2+3L4θ1)k2L(L2θ2+Lθ1)m1gL2

Therefore the EOM for θ1 isddtΦθ˙1Φθ1=Qθ1I1θ¨1+3L4k1(3L4θ2+3L4θ1)+k2L(L2θ2+Lθ1)+m1gL2=0

The generalized force is zero, since there is no direct external force acting on top rod.

Hence EOM for θ1 is from abovem1L23θ¨1+θ1(k1(3L4)2+k2L2)+θ2(k1(3L4)2+k2L22)=m1gL2

Now we find EOM for θ2Φθ˙2=Iθ˙2ddtΦθ˙2=Iθ¨2Φθ2=k1(3L4θ2+3L4θ1)(3L4)k2(L2θ2+Lθ1)(L2)+m2gL4

Therefore the EOM for θ2 isddtΦθ˙2Φθ2=Qθ2I2θ¨2+k1(3L4θ2+3L4θ1)(3L4)+k2(L2θ2+Lθ1)(L2)m2gL4=Qθ1

Now Qθ2is found by virtual work. Making a virtual displacement δθ2 while fixing θ1 and finding the work done by all external forces.δW=FL2δθ2

Hence Qθ2=FL2 with positive sign since it add energy to the system. Hence EOM for θ2 is748L2m2θ¨2+θ1(k1(3L4)2+k2L22)+θ2(k1(3L4)2+k2(L2)2)=m2gL4+FL2

Now we can make the matrix of EOMMX+kX=Q(m1L2300748L2m2)(θ¨1θ¨2)+(k19L216+k2L2k1(3L4)2+k2L22k1(3L4)2+k2L22k1(3L4)2+k2(L2)2)(θ1θ2)=(m1gL2m2gL4+FL2)

The matrix [k] is coupled but the mass matrix [m] is not.

2.9.7 problem 6

The inertia and stiffness matrices for a system are [M]=[4002] kg, [K]=[200200200800]N/m. determine the corresponding natural frequencies and modes of free vibration.[[k]ω2[M]]{Φ}={0}

Solving for eigenvaluesdet([200200200800]ω2[4002])=0det[2004ω22002008002ω2]=0(2004ω2)(8002ω2)2002=08ω43600ω2+120000=0

Hence, taking the positive square root only we findω1=20.341 rad/secω2=6.0211 rad/sec

When ω=ω1[2004ω122002008002ω12]{Φ11Φ21}={00}

Let Φ11 be the arbitrary value 1 hence[2004ω12200××]{1Φ21}={0×}2004ω12+200Φ21=0Φ21=200+4ω12200=200+4(20.341)2200=7.2751

Hence the first mode associated with ω=20.341 rad/sec is {17.2751}

When ω=ω2[2004ω222002008002ω22]{Φ12Φ22}={00}

Let Φ12 be the arbitrary value 1 hence[2004ω22200××]{1Φ22}={0×}2004ω22+200Φ22=0Φ22=200+4ω22200=200+4(6.0211)2200=0.27493

Hence the first mode associated with ω=6.0211 rad/sec is {10.27493}

Summary\begin {tabular} [c]{|l|l|}\hline $\omega _{n}$ (rad/sec) & mode shape\\\hline $6.0211$ & $\begin {Bmatrix} 1\\ -0.27493 \end {Bmatrix} $\\\hline $20.341$ & $\begin {Bmatrix} 1\\ 7.2751 \end {Bmatrix} $\\\hline \end {tabular} \

Verification using Matlab:

EDU>> M=[4 0;0 2]; K=[200 200;200 800];
EDU>> [phi,omega]=eig(K,M);
EDU>> sqrt(omega)

    6.0211         0
         0   20.3407
EDU>> phi(:,1)/abs(phi(1,1))

   -1.0000
    0.2749

EDU>> phi(:,2)/abs(phi(1,2))

    1.0000
    7.2749

Which matches the result derived. One mode shape has both displacement in phase, and the other mode shape shows the displacements to be out of phase.

2.9.8 Key solution for HW 8

PDF