In Project C of Chapter 4, it was shown that the simple pendulum equationθ''(t)+sinθ(t)=0 has periodic solutions when the initial displacement and velocity show that the period of the solution may depend on the initial conditions by using the vectorized Runge–Kutta algorithm with h= 0.02 to approximate the solutions to the simple pendulum problem on

[0, 4] for the initial conditions:

localid="1664100454791" (a)θ(0)=0.1,θ'(0)=0(b)θ(0)=0.5,θ'(0)=0(c)θ(0)=1.0,θ'(0)=0

[Hint: Approximate the length of time it takes to reach].

Short Answer

Expert verified

(a) The period is 6.28.

(b) The period is 6.4.

(c) The period is about 6.68.

Step by step solution

01

Transform the equation

The equation isθ''(t)+sinθ(t)=0

The system can be written as:

x1=θx2=θ'=x'1

The transform equation is:

role="math" localid="1664100052779" x'1=x2x'2=-sinx1

The initial conditions are:

x1(0)=θ(0)=0.1,0.5,1x2(0)=θ'(0)=0,0,0

02

Apply Runge –Kutta method.

For the solution, apply the Runge-Kutta method in Matlab. For h=0.02

h

θfor part a

θfor part b

θfor part c

0

0.1

0.5

1

0.02

0.0999

0.4999

0.99983

0.04

0.09992

0.4996

0.99932

0.06

0.0998

0.49913

0.9984

0.2

0.980

0.492251

0.9863

1

0.054

0.2777

0.6000

2

-0.0415

-0.194

-0.306

Continuing this procedure for value h=4 and getting the result -0.0655,-0.3507,-0.82576, respectively.

From the table and all the results, one gets the first time -θ(0) for part (a) is 3.14.this will be half a period. So, the period ofθ is about 6.28.

The first time-θ(0) for part (b) is 3.2.and the period ofθ is about 6.4.

The first time-θ(0) for part (c) is 3.34, and the period ofθ are about 6.68.

Thus, this is the required result.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

A model for the velocity v at time tof a certain object falling under the influence of gravity in a viscous medium is given by the equation dvdt=1-v8.From the direction field shown in Figure 1.14, sketch the solutions with the initial conditions v(0) = 5, 8, and 15. Why is the value v = 8 called the “terminal velocity”?

Figure 1.14

Stefan’s law of radiation states that the rate of change in the temperature of a body at T (t) kelvins in a medium at M (t) kelvins is proportional to M4-T4. That is, dTdt=KMt4-Tt4 where K is a constant. Let K=2.9×10-10min-1 and assume that the medium temperature is constant, M (t) = 293 kelvins. If T (0) = 360 kelvins, use Euler’s method with h = 3.0 min to approximate the temperature of the body after

(a) 30 minutes.

(b) 60 minutes.

In Problems 3-8, determine whether the given function is a solution to the given differential equation.

y=sinx+x2,d2ydx2+y=x2+2

Decide whether the statement made is True or False. The function x(t)=t-3sint+4t-3 is a solution to t3dxdt=cost-3t2x.

Mixing.Suppose a brine containing 0.2 kg of salt per liter runs into a tank initially filled with 500 L of water containing 5 kg of salt. The brine enters the tank at a rate of 5 L/min. The mixture, kept uniform by stirring, is flowing out at the rate of 5 L/min (see Figure 2.6).

(a)Find the concentration, in kilograms per liter, of salt in the tank after 10 min. [Hint:LetAdenote the number of kilograms of salt in the tank attminutes after the process begins and use the fact that

rate of increase inA=rate of input- rate of exit.

A further discussion of mixing problems is given in Section 3.2.]

(b)After 10 min, a leak develops in the tank and an additional liter per minute of mixture flows out of the tank (see Figure 2.7). What will be the concentration, in kilograms per liter, of salt in the tank 20 min after the leak develops? [Hint:Use the method discussed in Problems 31 and 32.]

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free