Lictaoa Vizon Exercise9.2
Lictaoa Vizon Exercise9.2
Lictaoa Vizon Exercise9.2
Trapezoidal Rule
𝐽=∫25_1^2▒ 〖 1/𝑥 𝑑𝑥 〗
Solving True Value,
𝐽=∫1_1^2▒ 〖 1/𝑥 𝑑𝑥 〗
𝐽=ln(𝑥) |_1^2
𝐽=ln〖 (2)−ln(1) 〗
𝑱=𝟎.𝟔𝟗𝟑𝟏𝟓 𝒖𝒏𝒊𝒕𝒔
Approximating,
J = 0.75000 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.69315−0.75000)/0.69315|∗100
Approximating,
𝐽=∫1_(𝑥_𝑜)^(𝑥_2)▒ 〖 1/𝑥
𝑑𝑥 〗≈ 0.5/3[1.00000+4(0.66667)+0.50000]
J = 0.69444 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.69315−0.69444)/0.69315|∗100
Approximating,
𝐽=∫1_(𝑥_𝑜)^(𝑥_2)▒ 〖 1/𝑥
𝑑𝑥 〗≈ 3(0.33333)/8[1.0000+3(0.75000)+3(0.60000)+0.50000]
J = 0.69374 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.69315−0.69374)/0.69315|∗100
Approximating,
+0.50000] 𝐽=∫1_(𝑥_𝑜)^(𝑥_4)▒ 〖 1/𝑥
𝑑𝑥 〗≈ 0.25000/3[1.00000+4(0.80000)+2(0.66667)+4(0.57143)+0.50000]
J = 0.69325 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.69315−0.69325)/0.69315|∗100
2𝑓(𝑥_2 )
57143)+0.50000]
Number 2
Trapezoidal Rule
𝐽=∫25_0^1▒ 〖𝑥𝑒𝑥𝑝 (−𝑥^2)𝑑𝑥 〗
Solving True Value,
𝐽=∫1_0^1▒ 〖𝑥𝑒𝑥𝑝 (−𝑥^2)𝑑𝑥 〗
𝐽= 〖 (−𝑒^( 〖−𝑥〗 ^2 )/2)| 〗 _0^1
𝐽=1/2−𝑒^(−1)/2
𝑱=𝟎.𝟑𝟏𝟔𝟎𝟔 𝒖𝒏𝒊𝒕𝒔
J = 0.18394 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.31606−0.18394)/0.31606|∗100
Approximating,
𝐽=∫1_(𝑥_𝑜)^(𝑥_2)▒ 〖𝑥𝑒𝑥𝑝 (−𝑥^2)𝑑𝑥 〗≈ 0.5/3[0.00000+4(0.38940)+
0.36788]
J = 0.32091 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.31606−0.32091)/0.31606|∗100 % 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.31606−0.31813)/0.31606
Approximating,
𝐽=∫1_(𝑥_𝑜)^(𝑥_2)▒ 〖𝑥𝑒𝑥𝑝 (−𝑥^2)𝑑𝑥 〗≈ 3(0.33333)/8[0.0000+3(0.29828)+3(0.42745)
+0.36788]
J = 0.31813 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.31606−0.31813)/0.31606|∗100 % 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.31606−0.31609
Approximating,
𝐽=∫1_(𝑥_𝑜)^(𝑥_4)▒ 〖𝑥𝑒𝑥𝑝 (−𝑥^2)𝑑𝑥 〗≈ 0.25000/3[0.00000+4(0.23485)+2(0.38940)+4(0.42734)+0.36
788]
J = 0.31629 units
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(𝑇𝑉−𝐸𝑉)/𝑇𝑉|∗100
% 𝑎𝑏𝑠 𝑒𝑟𝑟𝑜𝑟=|(0.31606−0.31609)/0.31606|∗100
2734)+0.36