(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
Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
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

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY

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

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY