(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
icon
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
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
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY