Example 2.  Numerically approximate the integral  [Graphics:Images/TrapezoidalRuleMod_gr_70.gif]  by using the trapezoidal rule with  m = 50, 100, 200, 400  and 800  subintervals.

Solution 2.

We will use the subroutine for the solution.

[Graphics:../Images/TrapezoidalRuleMod_gr_71.gif]

[Graphics:../Images/TrapezoidalRuleMod_gr_72.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_73.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_74.gif]


[Graphics:../Images/TrapezoidalRuleMod_gr_75.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_76.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_77.gif]


[Graphics:../Images/TrapezoidalRuleMod_gr_78.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_79.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_80.gif]


[Graphics:../Images/TrapezoidalRuleMod_gr_81.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_82.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_83.gif]


[Graphics:../Images/TrapezoidalRuleMod_gr_84.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_85.gif]
[Graphics:../Images/TrapezoidalRuleMod_gr_86.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004