Numerical Methods For Engineers, 7 Ed
Numerical Methods For Engineers, 7 Ed
7th Edition
ISBN: 9789352602131
Author: Canale Chapra
Publisher: MCGRAW-HILL HIGHER EDUCATION
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 27, Problem 28P

A heated rod with a uniform heat source can be modeled with the Poisson equation,

d 2 T d x 2 = f ( x )

Given a heat source f ( x ) = 25 and the boundary conditions, T ( x = 0 ) = 40 and  T ( x = 10 ) = 200 , solve for the temperature distribution with (a) the shooting method and (b) the finite-difference method ( Δ x = 2 ) .

(a)

Expert Solution
Check Mark
To determine

To calculate: The temperature distribution by shooting method for a heated rod with a uniform heat source given by Poisson equation, d2Tdx2=f(x)

, where heat source f(x)=25 and the boundary conditions, T(x=0)=40 and T(x=10)=200

, also Δx=2.

Answer to Problem 28P

Solution: The table of the solution of the boundary value problem is,

xTz0401412272914404416436983685910200109

Explanation of Solution

Given:

A differential equation, d2Tdx2=f(x)

, where heat source f(x)=25 and the boundary conditions, T(x=0)=40 and T(x=10)=200

, also Δx=2.

Formula used:

Linear-interpolation formula:

f1(x)=f(x0)+f(x1)f(x0)x1x0(xx0)

Calculation:

Consider the following Poisson equation, d2Tdx2=f(x).

Since, f(x)=25

. Then,

d2Tdx2=25

Also, T(0)=40,T(10)=200.

Now, change the above boundary value problem into equivalent initial-value problem. Thus,

dTdx=z and  d2Tdx2=dzdx

But d2Tdx2=25

. Therefore,

dTdx=z and   dzdx=25

Now, use the shooting method in the above system of first order linear differential equation

Suppose, z(0)=1 and given that T(0)=40.

Then, the system of system of first order linear differential equation with initial condition is

dTdx=z and  dzdx=25T(0)=40, z(0)=1

Now, solve the above system of differential equation

Then,

dzdx=25dz=25dx

Integrate on both the sides of the above differential equation

Then, z(x)=25x+C1

Where C1 is constant of integration

Now, use the initial condition, z(0)=1

. Then,

z(0)=25×0+C11=25×0+C1C1=1

Therefore, z(x)=25x1.

Since, dTdx=z

. But z(x)=25x1

. Thus,

dTdx=25x1dT=(25x1)dx

Integrate on both the sides of the above differential equation. Thus,

T(x)=(25x221x)+C2

Where C2

is constant of integration.

Use the initial condition, T(0)=40

. Then,

T(0)=(25(0)221×(0))+C240=0+C2C2=40

Therefore,

T(x)=(25x22x)+40

Now, evaluate the above for T(10)

. Thus,

T(10)=(25102210)+40=125010+40=1220

Hence, T(10)=1220.

But the above of T(10) is much different from the boundary condition of T(10)=200.

Then, put another guess. Suppose z(0)=0.5.

Then, the system of system of first order linear differential equation with initial condition is,

dTdx=zdzdx=25T(0)=40,z(0)=0.5

Now, solve the above system of differential equation. Thus,

dzdx=25dz=25dx

Integrate on both the sides of the above differential equation, to get

z(x)=25x+C1

Where C1 is constant of integration

Now, use the initial condition, z(0)=0.5.

Then,

z(0)=25×0+C10.5=25×0+C1C1=0.5

Therefore, z(x)=25x0.5.

Since, dTdx=z.

But z(x)=25x0.5

. Therefore,

dTdx=25x0.5dT=(25x0.5)dx

Integrate on both the sides of the above differential equation. Thus,

T(x)=(25x220.5x)+C2

Where C2

is constant of integration.

Use the initial condition, T(0)=40

. Thus,

T(0)=(250220.5×0)+C240=0+C2C2=40

Therefore, T(x)=(25x220.5x)+40.

Now, evaluate the above for T(10).

Then,

T(10)=(2510220.5×10)+40=12505+40=1215

Hence, T(10)=1215.

Since, the first guess value z(0)=1

corresponds to T(10)=1220 and the second-guess value z(0)=0.5

corresponds to T(10)=1215

, use these values to compute the value of z(0)

that yields T(10)=200.

Then, by linear interpolation formula

z(0)=1+0.5+11215(1220)(200(1220))=1+0.5×14205=1+142=141

Therefore, the right value of z(0) which yields T(10)=200 is z(0)=141.

Then, the equivalent initial value problem corresponding to the boundary value problem is,

dTdx=zdzdx=25T(0)=40,z(0)=141

Now, use the fourth order RK method with step size h=2.

The RK method for above system of first order linear differential equation with initial condition is,

Tn+1=Tn+16(k0+2k1+2k2+k3)zn+1=zn+16(l0+2l1+2l2+l3)

Where xn+1=xn+nh

And

k0=hf(xn,Tn,zn)k1=hf(xn+12h,Tn+12k0,zn+12l0)k2=hf(xn+12h,Tn+12k1,zn+12l1)k3=hf(xn+h,Tn+k2,zn+l2)

And

l0=hg(xn,Tn,zn)l1=hg(xn+12h,Tn+12k0,zn+12l0)l2=hg(xn+12h,Tn+12k1,zn+12l1)l3=hg(xn+h,Tn+k2,zn+l2)

Where f(xn,Tn,zn)=zn and g(xn,Tn,zn)=25

Then, for n=0, x1=x0+0×2=0

And compute the values as shown below,

k0=hf(x0,T0,z0)=2×z0=2×141=282l0=hg(x0,T0,z0)=2×(25)=50k1=hf(x0+12h,T0+12k0,z0+12l0)=2(z0+12l0)=2(141+12(50))=232l1=hg(x0+12h,T0+12k0,z0+12l0)=2(25)=50

Also,

k2=hf(x0+12h,T0+12k1,z0+12l1)=2(z0+12l1)=2(141+12(50))=232l2=hg(x0+12h,T0+12k1,z0+12l1)=2×(25)=50k3=hf(x0+h,T0+k2,z0+l2)=2×(z0+l2)=2(14150)=182l3=hg(x0+h,T0+k2,z0+l2)=2×(25)=50

Then,

T1=T0+16(k0+2k1+2k2+k3)=40+16(282+464+464+182)=272

And

z1=z0+16(l0+2l1+2l2+l3)=141+16(502×502×5050)=14150=91

In the similar way, find the remaining Tn and zn

. Thus,

T2=404 and z2=41

T3=436 and z3=9

T4=368 and z4=59

And

T5=200 and z5=109

Therefore, the table of the solution of the boundary value problem is,

xTz0401412272914404416436983685910200109

Hence, the required graph of the temperature distribution of the boundary value problem is,

(b)

Expert Solution
Check Mark
To determine

To calculate: The temperature distribution by finite difference method for a heated rod with a uniform heat source given by Poisson equation, d2Tdx2=f(x)

, where heat source f(x)=25 and the boundary conditions, T(x=0)=40 and T(x=10)=200

, also Δx=2.

Answer to Problem 28P

Solution:

The table of the solution of boundary value problem is

xT040227244046436836810200

Explanation of Solution

Given:

A differential equation, d2Tdx2=f(x)

, where heat source f(x)=25 and the boundary conditions, T(x=0)=40 and T(x=10)=200

, also Δx=2.

Formula used:

(1) The finite difference method is:

d2Tdx2=Ti+12Ti+Ti1Δx2

(2) The Gauss-Seidel iterative method is:

Ti(k)=1aii[ j=1i1(aijTj(k))j=i+1n(aijTj(k1))+bi ]

Calculation:

Consider the following Poisson equation, d2Tdx2=f(x).

Since, f(x)=25

. Thus,

d2Tdx2=25

Also, T(0)=40,T(10)=200.

The finite difference method is given by,

d2Tdx2=Ti+12Ti+Ti1Δx2

Now, substitute the value of second order derivative in the boundary value problem.

Then, the boundary value problem becomes,

Ti+12Ti+Ti1Δx2=25Ti+12Ti+Ti1Δx2+25=0Ti+12Ti+Ti1+25Δx2=0

Since, Δx=2

. Then,

Ti+12Ti+Ti1+25(2)2=0Ti+12Ti+Ti1+100=0Ti1+2TiTi+1=100

For the first node, i=1.

T11+2T1T1+1=100T0+2T1T2=100

But, T0=40

. Thus,

40+2T1T2=1002T1T2=140

For the second node, i=2.

T21+2T2T3+1=100T1+2T2T3=100

For the third node, i=3.

T31+2T3T3+1=100T2+2T3T4=100

For the fourth node, i=4.

T41+2T4T4+1=100T3+2T4T5=100T3+2T4200=100T3+2T4=300

Then, write the above system in matrix form

[ 2100121001210012 ]{ T1T2T3T4 }={ 140100100300 }

Now, use the Gauss-Seidel iterative technique. The Gauss-Seidel iterative method is given by,

Ti(k)=1aii[ j=1i1(aijTj(k))j=i+1n(aijTj(k1))+bi ]

Then, the table of the solution of boundary value problem is

xT040227244046436836810200

Therefore, the graph of temperature distribution is,

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
The gears shown in the figure have a diametral pitch of 2 teeth per inch and a 20° pressure angle. The pinion rotates at 1800 rev/min clockwise and transmits 200 hp through the idler pair to gear 5 on shaft c. What forces do gears 3 and 4 transmit to the idler shaft? TS I y 18T 32T This a 12 x 18T C 48T 5
Question 1. Draw 3 teeth for the following pinion and gear respectively. The teeth should be drawn near the pressure line so that the teeth from the pinion should mesh those of the gear. Drawing scale (1:1). Either a precise hand drawing or CAD drawing is acceptable. Draw all the trajectories of the involute lines and the circles. Specification: 18tooth pinion and 30tooth gear. Diameter pitch=P=6 teeth /inch. Pressure angle:20°, 1/P for addendum (a) and 1.25/P for dedendum (b). For fillet, c=b-a.
5. The figure shows a gear train. There is no friction at the bearings except for the gear tooth forces. The material of the milled gears is steel having a Brinell hardness of 170. The input shaft speed (n2) is 800 rpm. The face width and the contact angle for all gears are 1 in and 20° respectively. In this gear set, the endurance limit (Se) is 15 kpsi and nd (design factor) is 2. (a) Find the revolution speed of gear 5. (b) Determine whether each gear satisfies the design factor of 2.0 for bending fatigue. (c) Determine whether each gear satisfies the design factor of 2.0 for surface fatigue (contact stress). (d) According to the computation results of the questions (b) and (c), explain the possible failure mechanisms for each gear. N4=28 800rpm N₁=43 N5=34 N₂=14 P(diameteral pitch)=8 for all gears Coupled to 2.5hp motor

Chapter 27 Solutions

Numerical Methods For Engineers, 7 Ed

Additional Math Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
01 - What Is A Differential Equation in Calculus? Learn to Solve Ordinary Differential Equations.; Author: Math and Science;https://www.youtube.com/watch?v=K80YEHQpx9g;License: Standard YouTube License, CC-BY
Higher Order Differential Equation with constant coefficient (GATE) (Part 1) l GATE 2018; Author: GATE Lectures by Dishank;https://www.youtube.com/watch?v=ODxP7BbqAjA;License: Standard YouTube License, CC-BY
Solution of Differential Equations and Initial Value Problems; Author: Jefril Amboy;https://www.youtube.com/watch?v=Q68sk7XS-dc;License: Standard YouTube License, CC-BY