(I) [40 Points] Using centered finite difference approximations as done in class, solve the equation for O: d20 dx² + 0.010+ Q=0 subject to the boundary conditions shown in the stencil below. Do this for two values of Q: (a) Q = 0.3, and (b) Q= √(0.5 + 2x)e-sinx (cos(5x)+x-0.5√1.006-x| + e −43*|1+.001+x* | * sin (1.5 − x) + (cosx+0.001 + ex-1250+ sin (1-0.9x)|) * x - 4.68x4. For Case (a) (that is, Q = 0.3), use the stencil in Fig. 1. For Case (b), calculate with both the stencils in Fig. 1 and Fig 2. For all the three cases, show a table as well as a plot of O versus x. Discuss your results. Use MATLAB and hand in the MATLAB codes. 1 0=0 x=0 2 3 4 0=1 x=1 Fig 1 1 2 3 4 5 6 7 8 9 10 11 0=0 x=0 0=1 x=1 Fig 2
(I) [40 Points] Using centered finite difference approximations as done in class, solve the equation for O: d20 dx² + 0.010+ Q=0 subject to the boundary conditions shown in the stencil below. Do this for two values of Q: (a) Q = 0.3, and (b) Q= √(0.5 + 2x)e-sinx (cos(5x)+x-0.5√1.006-x| + e −43*|1+.001+x* | * sin (1.5 − x) + (cosx+0.001 + ex-1250+ sin (1-0.9x)|) * x - 4.68x4. For Case (a) (that is, Q = 0.3), use the stencil in Fig. 1. For Case (b), calculate with both the stencils in Fig. 1 and Fig 2. For all the three cases, show a table as well as a plot of O versus x. Discuss your results. Use MATLAB and hand in the MATLAB codes. 1 0=0 x=0 2 3 4 0=1 x=1 Fig 1 1 2 3 4 5 6 7 8 9 10 11 0=0 x=0 0=1 x=1 Fig 2
Principles of Heat Transfer (Activate Learning with these NEW titles from Engineering!)
8th Edition
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Kreith, Frank; Manglik, Raj M.
Chapter4: Numerical Analysis Of Heat Conduction
Section: Chapter Questions
Problem 4.7P
Related questions
Question
![(I) [40 Points] Using centered finite difference approximations as done in class, solve the equation for O:
d20
dx²
+ 0.010+ Q=0
subject to the boundary conditions shown in the stencil below. Do this for two values of Q: (a) Q = 0.3,
and (b) Q= √(0.5 + 2x)e-sinx (cos(5x)+x-0.5√1.006-x| + e −43*|1+.001+x* | * sin (1.5 − x) +
(cosx+0.001 + ex-1250+ sin (1-0.9x)|) * x - 4.68x4. For Case (a) (that is, Q = 0.3), use the stencil in Fig.
1. For Case (b), calculate with both the stencils in Fig. 1 and Fig 2. For all the three cases, show a table as
well as a plot of O versus x. Discuss your results. Use MATLAB and hand in the MATLAB codes.
1
0=0
x=0
2
3
4
0=1
x=1
Fig 1
1 2 3 4 5 6 7 8 9 10
11
0=0
x=0
0=1
x=1
Fig 2](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fece3d40f-e8f0-464a-aada-c18e494e1994%2F287653db-d1c1-41bf-92ef-9d7e2f827296%2Fbe8t5xa_processed.png&w=3840&q=75)
Transcribed Image Text:(I) [40 Points] Using centered finite difference approximations as done in class, solve the equation for O:
d20
dx²
+ 0.010+ Q=0
subject to the boundary conditions shown in the stencil below. Do this for two values of Q: (a) Q = 0.3,
and (b) Q= √(0.5 + 2x)e-sinx (cos(5x)+x-0.5√1.006-x| + e −43*|1+.001+x* | * sin (1.5 − x) +
(cosx+0.001 + ex-1250+ sin (1-0.9x)|) * x - 4.68x4. For Case (a) (that is, Q = 0.3), use the stencil in Fig.
1. For Case (b), calculate with both the stencils in Fig. 1 and Fig 2. For all the three cases, show a table as
well as a plot of O versus x. Discuss your results. Use MATLAB and hand in the MATLAB codes.
1
0=0
x=0
2
3
4
0=1
x=1
Fig 1
1 2 3 4 5 6 7 8 9 10
11
0=0
x=0
0=1
x=1
Fig 2
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 3 images

Recommended textbooks for you

Principles of Heat Transfer (Activate Learning wi…
Mechanical Engineering
ISBN:
9781305387102
Author:
Kreith, Frank; Manglik, Raj M.
Publisher:
Cengage Learning

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning

International Edition---engineering Mechanics: St…
Mechanical Engineering
ISBN:
9781305501607
Author:
Andrew Pytel And Jaan Kiusalaas
Publisher:
CENGAGE L

Principles of Heat Transfer (Activate Learning wi…
Mechanical Engineering
ISBN:
9781305387102
Author:
Kreith, Frank; Manglik, Raj M.
Publisher:
Cengage Learning

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning

International Edition---engineering Mechanics: St…
Mechanical Engineering
ISBN:
9781305501607
Author:
Andrew Pytel And Jaan Kiusalaas
Publisher:
CENGAGE L

Refrigeration and Air Conditioning Technology (Mi…
Mechanical Engineering
ISBN:
9781305578296
Author:
John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:
Cengage Learning