Professional Documents
Culture Documents
Assignment 4
Assignment 4
Assignment 4
Integration
2 .4
1. Using Simpson's rule to evaluate ydx
0 .8
, and calculate its error .
tan( x
2
2. Use Simpson 1/3 rule to evaluate )dx with n = 6 , then find the true error.
1
3.2
1
3. Estimate the error in evaluating I =
2
x +1
dx , using Simpson 1/3 rule with n = 4 .
1.4
xf
2
4. Use Romberg integration to find ( x )dx , where f ( x ) is given by the following table:
0.6
0.1 1.3
b) Evaluate f ( x,1.3)dx
−0.2
with O(h6).
1.7
c) Evaluate f (0.1, y)dy .
1
0.2
ln( x
2
8. Using Numerical integration to evaluate y )dxdy .
1 1
0 .3 0 .2
2.2
12.
x 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9
y 2.718 3.354 4.221 5.419 7.099 9.488 12.94 17.98 25.54 36.97
1.9
e −( x + y 2 + 2)
1.5 1.5 2
error.
𝟏 𝟏 𝟏
16. Use Romberg Integration formula to evaluate: ∫𝟎 ∫𝟎 ∫𝟎 𝐜𝐨𝐬 𝒙𝟐 𝐜𝐨𝐬 𝒚𝟐 𝐜𝐨𝐬 𝒛𝟐 𝒅𝒙 𝒅𝒚 𝒅𝒛.
Up to O(h6)
𝒚
𝟒 𝟐 (𝐥𝐧 𝒙)(𝐥𝐧𝟐)
17. Use Simpson’s formula with 𝒏 = 𝟖 to evaluate: ∫ ∫
𝟐 𝟏 𝒙𝒚
𝒅𝒙𝒅𝒚 .
√𝟐
∞ 𝟏
18. Use Gauss Integration formula with 𝒏 = 𝟑 to evaluate: ∫
𝟐 𝒙𝟐 +𝟒
𝒅𝒙 . Calculate the
𝟏 𝒙
percentage of true error if the analytical solution is: 𝟐 𝐭𝐚𝐧−𝟏 (𝟐).
𝟏.𝟒 𝟒.𝟓
19. Evaluate: ∫𝟏 ∫𝟐.𝟓 𝒇(𝒙, 𝒚) 𝒅𝒙𝒅𝒚 using an appropriate minimal error formula,
given the following table.