Sections05-08.mws

Unit 1: Ordinary Differential Equations - Part 1

Chapter 5: Second-Order

Sections5.8: the bobbing cylinder

Copyright

Copyright * 2001 by Addison Wesley Longman, Inc.

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America.

Initializations

> restart;

> with(plots):

Warning, the name changecoords has been redefined

>

Introduction

Undamped free motion for a spring-mass system is modeled by the differential equation

m*`y''`+k*y = 0

Such a system is called a harmonic oscillator because the solution can be put into the form

y(t) = a*cos(omega*t-phi)

where omega = sqrt(k/m) is the angular frequency. But nature provides more instances of harmonic oscillators than just spring-mass systems. In this Sectionswe examine the motion of a floating cylinder which bobs under the influence of buoyancy, a system governed by an equation of the form

`y''`+omega^2*y = 0

and which is therefor a harmonic oscillator.

>

Problem Statement

A cylinder of height H , radius R , and weight f floats with its axis vertical in a fluid whose weight per unit volume is rho[w] . If h is the height, at equilibrium, of the submerged part of the cylinder, describe the motion of the cylinder subsequent to its being pushed down into the fluid and released.

The following figure (Figure 5.10) shows the waterline as Plane 1 (blue), the base of the cylinder as Plane 2 (red), the height H (green), the depth of submersion h (yellow) and the radius R .

> p1 := cylinderplot([1,t,z],t=0..2*Pi,z=0..3, orientation =[45,77],style=patchnogrid):
p2 := plot3d(2,x=-2..2,y=-2..2,color=blue):
p3 := plot3d(0,x=-2..2,y=-2..2,color=red):
p4 := spacecurve([[0,0,3],[0,-1,3]],color=black,thickness=3):
p5 := spacecurve({[0,2,t,t=0..3],[[0,2,3],[0,1,3]]},color=green, thickness=3):
p6 := spacecurve([2,0,t,t=0..2],color=yellow,thickness=3):
p7 := textplot3d({[0,2.3,2.75,`H`],[2.2,0,1.75,`h`],[0,-.6,3.3,`R`]}, font=[TIMES,BOLD,14]):
p8 := textplot3d({[-1.8,1,1.5,`Plane 1`],[-1.8,1,.3,`Plane 2`]}):
display3d([p||(1..8)]);

[Maple Plot]

>

Analysis

This mechanical problem yields to Newton's Second Law, F = m*a . The secret is realizing that the weight of the cylinder is a force balanced by the buoyant force exerted by the fluid. And this buoyant force is governed by

Archimedes Principle

Buoyant Force on Cylinder = Weight of Fluid Displaced

F[b] = w[f]

The equilibrium and non-equilibrium configurations must be considered. At equilibrium, where the amount of the cylinder beneath the surface of the fluid is measured by h , the volume of the submerged part is given by

Pi*R^2*h

The weight of the fluid displaced by this submerged volume is

w[f] = Pi*R^2*h*rho[w]

Consequently, the buoyant force at equlibrium is given by

F[b] = Pi*R^2*h*rho[w]

By Archimedes Principle, at equilibrium, the buoyant force F[b] = w[b] balances f , the weight of the cylinder. Hence

Pi*R^2*h*rho[w] = f

This key equality links f , the weight of the cylinder, with h , the amount of the cylinder submerged at equilibrium.

Next, consider the non-equilibrium configuration. For this, paint a line around the cylinder at the equilibrium "water" line. Let y(t) denote the amount by which this line on the cylinder is displaced above or below the surface of the fluid. Take y(t) positive if the cylinder rises (the black ring is visible) and negative if the cylinder descends (only the fish see the black ring). The following figure, Figure 5.11, depicts this configuration.

> p1 := cylinderplot([1,t,z],t=0..2*Pi,z=0..3,orientation =[45,77],style=patchnogrid):
p2 := plot3d(1.5,x=-2..2,y=-2..2,color=blue):
p3 := plot3d(0,x=-2..2,y=-2..2,color=red):
p4 := spacecurve([[0,0,3],[0,-1,3]],color=black,thickness=3):
p5 := spacecurve({[0,2,t,t=0..3],[[0,2,3],[0,1,3]]}, color=red, thickness=3):
p6 := spacecurve({[2,0,t,t=0..2],[[2,0,2],[1,0,2]]},color=navy, thickness=3):
p7 := textplot3d({[0,2.3,2.75,`H`],[2.2,0,1.4,`h`],[0,-.6,3.3,`R`]}, font=[TIMES,BOLD,14]):
p8 := spacecurve([1.05*cos(t),1.05*sin(t),2,t=0..2*Pi],color=black, thickness=3):
p9 := spacecurve([.8,.6,t,t=1.5..2],color=black,thickness=3):
p10 := spacecurve([2,2,t,t=0..1.5],color=black,thickness=3):
p11 := textplot3d({[.27,1,1.75,`y(t)>0`],[.2,1,.75,`h-y(t)`]}, font=[TIMES,BOLD,14]):
display3d([p||(1..11)]);

[Maple Plot]

>

Now, F[b](t) , the time-dependent buoyant force on the cylinder is proportional to the length h-y(t) . Thus,

F[b](t) = Pi*R^2*[h-y(t)]*rho[w]

We are ready to invoke F = m*a = m*`y''`*``(t) , Newton's Second Law, where m , the mass of the cylinder is given by m = f/g , with g being the acceleration of gravity. Thus, summing forces on the cylinder, we have

-f+F[b](t) = f/g `y''`*``(t)

which becomes

-f+Pi*R^2*[h-y(t)]*rho[w] = f/g `y''`*``(t)

But from Archimedes Law at equilibrium we found that f = Pi*R^2*rho[w]*h . Making this substitution, and expanding the brackets, we find

-Pi*R^2*rho[w]*h + Pi*R^2*rho[w]*h - Pi*R^2*rho[w]*y(t) = f/g `y''`*``(t)

which collapses to

-Pi*R^2*rho[w]*y(t) = f/g `y''`*``(t)

Hence, we have the equation

`y''` + Pi*R^2*rho[w]*g/f y = 0

which we write as `y''`+omega^2 y = 0 by defining

omega = R*sqrt(Pi*rho[w]*g/f)

We therefore have simple harmonic motion governed by the initial value problem for undamped free motion

`y''`+omega^2 y = 0

y(0) = y[0]

`y'`*``(0) = v[0]

>

Solution

The solution to this initial value problem is

y(t) = y[0]*cos(omega*t)+v[0]/omega sin(omega*t)

which says the cylinder bobs with periodic motion whose angular frequency is omega and whose period is T = 2*Pi/omega . The solution can also be written as

y(t) = sqrt(``(v[0])^2+omega^2)/omega cos(omega*t-phi)

where phi is determined by

sin(phi) = v[0]/sqrt(``(v[0])^2+omega^2*``(y[0])^2)...

and

cos(phi) = omega*y[0]/sqrt(``(v[0])^2+omega^2*``(y[...

The reader is again cautioned not to define phi as arctan(v[0]/omega/y[0]) since the range of the arctangent function is ``(-Pi/2,Pi/2) , not

( -Pi, Pi ]. A negative value for the displacement y[0] results in a second-quadrant phase angle, while a negative for v[0] , the initial velocity, results in a third-quadrant angle. These angles would not be correctly obtained by a naive use of the arctangent function.

To verify these calculations in Maple, enter the differential equation as

> q := diff(y(t),t,t) + omega^2*y(t) = 0;

q := diff(y(t),`$`(t,2))+omega^2*y(t) = 0

>

and obtain the dsolve solution

> Y := rhs(dsolve({q, y(0) = y0, D(y)(0)=v0}, y(t)));

Y := y0*cos(omega*t)+v0*sin(omega*t)/omega

>

which says the cylinder bobs with periodic motion whose angular frequency is omega and whose period is T = 2*Pi/omega .

Additionally, we can write the solution in terms of a single trig function. This makes it easier to determine the amplitude of motion. The template for the single-trig-term solution is

> YY := A*cos(omega*t - phi);

YY := A*cos(omega*t-phi)

>

To get Maple to make the match to this template, try

> q1 := solve(identity(Y = expand(YY),t),{A,phi});

q1 := {A = sqrt(v0^2+y0^2*omega^2)/omega, phi = arc...
q1 := {A = sqrt(v0^2+y0^2*omega^2)/omega, phi = arc...

>

Maple has expressed phi , the phase angle, in terms of the two-argument arctangent function. The function arctan(y/x) returns an angle in the range ( -Pi/2, Pi/2 ] which includes only the first and fourth quadrants. The function arctan(y,x) , the two-argument arctangent function, returns an angle in the range ( -Pi, Pi ] which includes all four quadrants. Maple's usage is precise, but for symbolic work, messy.

The amplitude is taken as positive, so we conclude

> amplitude = subs(q1[1],A);

amplitude = sqrt(v0^2+y0^2*omega^2)/omega

>

Example 5.13

A cylinder of radius R = 2 inches bobs, with a period of 1/2 second, in water whose weight per cubic foot is rho[w] = 62.5 lbs. Using the gravitational constant g = 32 ft/(sec^2) , find f , the weight of the cylinder, and find the equilibrium height h .

This problem is realistic in that it uses an observable, the period, from which you can deduce information about the nature of the cylinder. The period can be estimated by careful counting in the presence of a wristwatch.

The period is T = 2*Pi/omega , where

omega = R*sqrt(Pi*rho[w]*g/f)

Hence, we have

> omega := R*sqrt(Pi*rho[w]*g/f);

omega := R*sqrt(Pi*rho[w]*g/f)

>

and

> T := 2*Pi/omega;

T := 2*Pi/(R*sqrt(Pi*rho[w]*g/f))

>

Setting T = 1/2 and taking R = 2/12, rho[w] = 62.5 and g = 32 , we obtain the equation

> q2 := 1/2 = subs(R = 2/12,rho[w] = 62.5,g = 32, T);

q2 := 1/2 = .4743416491e-1*Pi*sqrt(32)/(sqrt(Pi/f))...

>

which we solve for the weight f , getting

> wt := solve(q2,f);

wt := 1.105242660

>

The weight of the cylinder is 1.10524266 pounds.

To find the equilibrium height h , again use the equilibrium relationship f = Pi*R^2*rho[w]*h . Consequently,

> q3 := wt = Pi*(2/12)^2 * 62.5 * h;

q3 := 1.105242660 = 1.736111111*Pi*h

>

from which h , the submerged length at equilibrium, follows via

> h = solve(q3,h);

h = .2026423672

>

The equilibrium height of the cylinder is .202 feet (hence, 2.43 inches).

>