Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Consider the first order differential equation, dx1dt=-x2with an initial valuex0=10 . With an integration step size of seconds, determine the value of using (a) Euler’s method, (b) the modified Euler’s method.

Short Answer

Expert verified

(a) The value ofx0.5 by using the Euler’s method is 5.9049.

(b) The value of x0.5by using the modified Euler’s method is 6.0715.

Step by step solution

01

Write the given data from the question.

Write the differential equation,

dx1dt=-x2

Initial value,x0=10

Integration step size,Δt=0.1sec

02

 Step 2: Determine the equation to calculate the value of by using Euler’s method and modified Euler’s method. 

The equation to calculate the value of by Euler’s method is given as follows.

xt+t=xt+dxtdtt …… (1)

The equation to calculate the value of by modified Euler’s method is given as follows.

xt+Δt=xt+dxtdtΔt …… (2)

Heredx~t is the variable.

03

Calculate the value of x0.5by using Euler’s method.

(a)

Solve the ordinary differential equation.

Substitute 0.1secfor Δtand -xtfor dxtdtinto equation (1).

xt+0.1=xt-0.1xt …… (3)

Calculate the value ofx0.1

Substitute 0 for into equation (3).

x0+0.1=x0-0.1x0x0.1=x0-0.1x0

Substitute 10 for x0into above equation

x0.1=10-0.1×10x0.1=10-1x0.1=9

Calculate the value of x0.2.

Substitute 0.1for into equation (3).

x0.1+0.1=x0.1-0.1x0.1x0.2=x0.1-0.1x0.1

Substitute 9 for intox0.1 above equation

x0.2=9-0.1×9x0.2=9-0.9x0.2=8.1

Calculate the value of x0.3.

Substitute 0.2 for into equation (3).

x0.2+0.1=x0.2-0.1x0.2x0.3=x0.2-0.1x0.2

Substitute 8.1forx0.2 into above equation

role="math" localid="1656070654945" x0.3=8.1-0.1×8.1x0.3=8.1-0.81x0.3=7.29

Calculate the value of x0.4.

Substitute0.3 for into equation (3).

x0.3+0.1=x0.3-0.1x0.3x0.4=x0.3-0.1x0.3

Substitute 7.29forx0.3 into above equation

x0.4=7.29-0.1×7.29x0.4=7.29-0.729x0.4=6.561

Calculate the value of x0.5.

Substitute for x0.4into equation (3).

x0.4+0.1=x0.4-0.1x0.4x0.5=x0.4-0.1x0.4

Substitute 6.561for into above equation

x0.5=6.561-0.1×6.561x0.5=6.561-0.6561x0.5=5.9049

Hence the value of x0.5by using the Euler’s method is 5.9049.
04

Calculate the value of by using modified Euler’s method.

xt+0.1=xt+-xt-x~t2×0.1b)

The variable x~tis defined as,

localid="1656084442483" x~t=xt+dxtdtΔt

Substitute localid="1656084471034" 0.1forlocalid="1656084461231" Δtandlocalid="1656084449532" -xtfor localid="1656084454921" dxtdtinto above equation.

localid="1656084483967" x~t=xt-xt×0.1 …… (4)

localid="1656084489993" dx~tdt=-x~t

Solve the modified form of Euler’s method.

Substitute andlocalid="1656084495667" -x~tforlocalid="1656084510241" dxtdtinto equation (2).

xt+Δt=xt+-xt-x~t2Δt

Substitute 0.1for Δtinto above equation.

xt+0.1=xt+-xt-x~t2×0.1 xt+0.1=xt+-xt-x~t2×0.1 …… (5)

Calculate the value of variable localid="1656084545440" x~0

Substitute 0 for into equation (4).

x~0=x0-x0×0.1

Substitute for into above equation.

x~0=10-10×0.1x~0=10-1x~0=9x~0=10-10×0.1x~0=10-1x~0=9

Calculate the value ofx0,1

Substitute 0 for into equation (5).

Substitute 10 for x0, 9 for x~0into above equation.

Calculate the value of variable x~0.1.

Substitute0.1for into equation (4).

x~0.1=x0.1-x0.1×0.1

Substitute 9.05 for x0.1into above equation.

localid="1656092132555" x~0.1=9.05-9.05×0.1x~0.1=9.05-0.905x~0.1=8.145

Calculate the value of x0.2.

Substitute 0.1for t into equation (5).

x0.1+0.1=x0.1+-x0.1-x~0.12×0.1x0.2=x0.1+-x0.1-x~0.12×0.1

Substitute 9.05for x0.1,8.145for x~0.1into above equation.

x0.2=9.05+-9.05-8.1452×0.1x0.2=9.05-0.859x0.2=8.191

Calculate the value of variablex~0.2.

Substitute 0.2 for into equation (4).

x~0.2=x0.2-x0.2×0.1

Substitute 8.191for x0.2into above equation.

x~0.1=8.191-8.191×0.1x~0.1=9.05-0.8191x~0.1=7.3719

Calculate the value of x0.3.

Substitute 0.2 for into equation (5).

x0.2+0.1=x0.2+-x0.2-x~0.22×0.1x0.3=x0.2+-x0.2-x~0.22×0.1

Substitute8.191forx0.2,7.3719forx~0.2into above equation.

x0.3=8.191+-8.191-7.37192×0.1x0.3=9.05-0.778x0.3=7.413

Calculate the value of variable x~0.3.

Substitute 0.3for into equation (4).

x~0.3=x0.3-x0.3×0.1

Substitute7.413forx0.3into above equation.

x~0.3=7.413-7.413×0.1x~0.3=7.413-0.7413x~0.3=6.6717

Calculate the value of x0.4.

Substitute 0.3for into equation (5).

x0.3+0.1=x0.3+-x0.3-x~0.32×0.1x0.4=x0.3+-x0.3-x~0.32×0.1

Substitute7.413for x0.3,6.6717forx~0.3into above equation.

x0.4=7.413+-7.413-6.67172×0.1x0.4=7.413-0.7042x0.4=6.7088

Calculate the value of variablex~0.4.

Substitute0.4for t into equation (4).

x~0.4=x0.4-x0.4×0.1

Substitute for into above equation.

x~0.4=6.7088-6.7088×0.1x~0.4=6.7088-0.67088x~0.4=6.0379

Calculate the value of x0.5.

Substitute 0.4for into equation (5).

x0.4+0.1=x0.4+-x0.4-x~0.42×0.1x0.5=x0.4+-x0.4-x~0.42×0.1

Substitute 6.7088forx0.4,6.0379for x~0.4into above equation.

x0.5=6.7088+-6.7088-6.03792×0.1x0.5=6.7088-0.6373x0.5=6.0715

Hence, the value of x0.5by using the modified Euler’s method is6.0715.

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 60 Hz generator is supplying (and ) to an infinite bus (with per unit voltage) through two parallel transmission lines. Each transmission line has a per unit impedance ( base) of . The per unit transient reactance for the generator is , the per unit inertia constant for the generator (H) is seconds, and damping is per unit (all with a base). At time 5 0, one of the transmission lines experiences a balanced three-phase short to ground one third () of the way down the line from the generator to the infinite bus. (a) Using the classical generator model, determine the prefault internal voltage magnitude and angle of the generator. (b) Express the system dynamics during the fault as a set of first order differential equations. (c) Using Euler’s method, determine the generator internal angle at the end of the second timestep. Use an integration step size of one cycle.

Repeat Example 11.1 except assume the number of poles is changed from 32to 16, H is changed from 2.0 p.u.-sto 1.5 p.u.-s, and the unit is initially operating with an electrical and mechanical power of 0.5 p.u.

Redo Example 11.12 with the assumption the generator is supplying 100 1 j10 MVA to the infinite bus.

Question:How would the value of H change if a generator’s assumed operating frequency is changed from 60-HZ to 55 HZ?

The synchronous generator in Figure 11.4 delivers 0.8 per unit real power at 1.05 per unit terminal voltage. Determine: (a) the reactive power output of the generator; (b) the generator internal voltage; and (c) an equation for the electrical power delivered by the generator versus power angle δ.

See all solutions

Recommended explanations on Computer Science 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