Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 20

EMC 35 - D

FRANCIS ADRIAN Y. MILA


QUIZ 4

1) Find the area bounded by curves , x2 – 6x + 4y -7 = 0 and x2 + y2 -6x -8y = 0. Solve using Traphezoid
=16, and n = 22, then find the most improved value using Romberg's Integratio

PARABOLA x^2-6x+4y-7=0
CIRCLE x^2+y^2-6x-8y=0

Vertical

x+ 6.68
x- -0.68

y+ 0.615
y- 0.615

delta x (x+)-(x-) 7.36

Y up is parabola and Y down is circle


Y up: y=(6x+7-x^2)/4
Y down: y=4-sqrt(25-(x-3)^2)
yk = Y up - Y down
yk is the increment of the strips from down to up

n 10
delta x 0.736

K Delta x xk yu yd
0.00 0.74 -0.68 0.61 0.62
1.00 0.74 0.06 1.83 -0.04
2.00 0.74 0.79 2.78 -0.49
3.00 0.74 1.53 3.46 -0.78
4.00 0.74 2.26 3.86 -0.95
5.00 0.74 3.00 4.00 -1.00
6.00 0.74 3.74 3.86 -0.95
7.00 0.74 4.47 3.46 -0.78
8.00 0.74 5.21 2.78 -0.49
9.00 0.74 5.94 1.83 -0.04
10.00 0.74 6.68 0.61 0.62

AREA 1 24.565226234670

n 16
delta x 0.46

K Delta x xk yu yd
0.00 0.46 -0.68 0.61 0.62
1.00 0.46 -0.22 1.41 0.17
2.00 0.46 0.24 2.10 -0.17
3.00 0.46 0.70 2.68 -0.44
4.00 0.46 1.16 3.15 -0.65
5.00 0.46 1.62 3.52 -0.81
6.00 0.46 2.08 3.79 -0.91
7.00 0.46 2.54 3.95 -0.98
8.00 0.46 3.00 4.00 -1.00
9.00 0.46 3.46 3.95 -0.98
10.00 0.46 3.92 3.79 -0.91
11.00 0.46 4.38 3.52 -0.81
12.00 0.46 4.84 3.15 -0.65
13.00 0.46 5.30 2.68 -0.44
14.00 0.46 5.76 2.10 -0.17
15.00 0.46 6.22 1.41 0.17
16.00 0.46 6.68 0.61 0.62

AREA 2 24.72586461132820

n 22
delta x 0.334545454545455

K Delta x xk yu yd
0.00 0.33 -0.68 0.61 0.62
1.00 0.33 -0.35 1.20 0.28
2.00 0.33 -0.01 1.73 0.01
3.00 0.33 0.32 2.21 -0.22
4.00 0.33 0.66 2.63 -0.42
5.00 0.33 0.99 2.99 -0.58
6.00 0.33 1.33 3.30 -0.71
7.00 0.33 1.66 3.55 -0.82
8.00 0.33 2.00 3.75 -0.90
9.00 0.33 2.33 3.89 -0.96
10.00 0.33 2.67 3.97 -0.99
11.00 0.33 3.00 4.00 -1.00
12.00 0.33 3.33 3.97 -0.99
13.00 0.33 3.67 3.89 -0.96
14.00 0.33 4.00 3.75 -0.90
15.00 0.33 4.34 3.55 -0.82
16.00 0.33 4.67 3.30 -0.71
17.00 0.33 5.01 2.99 -0.58
18.00 0.33 5.34 2.63 -0.42
19.00 0.33 5.68 2.21 -0.22
20.00 0.33 6.01 1.73 0.01
21.00 0.33 6.35 1.20 0.28
22.00 0.33 6.68 0.61 0.62

AREA 3 24.77444036404890

4 n A more accurate  A less accur


A IMPROVED 
4n  1
ROMBERG'S INTEGRA

n=0 A1 A2
n=1 A4 A5
n=2 A6
n=3

n=0 24.5652262346697 24.7258646113282


n=1 24.8 24.790632281
n=2 24.79437279653630
FRANCIS ADRIAN Y. MILABO

y = 0. Solve using Traphezoidal Method with n= 10, n


ue using Romberg's Integration.

Point of Intersection (x,y) (-0.68,0.615)


YK
0.00
1.87
3.27
4.24
4.81
5.00
4.81
4.24
3.27
1.87
0.00

Point of Intersection (x,y) (-0.68,0.615)

YK
0.00
1.23
2.26
3.12
3.80
4.33
4.70
4.93
5.00
4.93
4.70
4.33
3.80
3.12
2.26
1.23
0.00

YK
0.00
0.92
1.73
2.43
3.05
3.57
4.01
4.37
4.65
4.84
4.96
5.00
4.96
4.84
4.65
4.37
4.01
3.57
3.05
2.43
1.73
0.92
0.00

 A less accurate
1
ROMBERG'S INTEGRATION

A2 A3
A5

58646113282 24.7744403640489
24.7906322816225
EMC35 - D
FRANCIS ADRIAN Y. MILABO
QUIZ 4

2.) Using Simpson’s 1/3 Rule, determine the value of the integral ∫_0^3"(4x2+2−18x3 )d" with n = 8, n
Solve the most improved value using Romberg Integration.

h
INTEGRAL
 f (x )dx  f (a)  4f1  2 f
3
n= 8 12 16

n= 8

i h x f(x)
0 0.375 0 2.000000000
1 0.375 0.375 1.613281250
2 0.375 0.75 -3.343750000
3 0.375 1.125 -18.566406250
4 0.375 1.5 -49.750000000
5 0.375 1.875 -102.589843750
6 0.375 2.25 -182.781250000
7 0.375 2.625 -296.019531250
8 0.375 3 -448.000000000

INTEGRAL = -322.50

n= 12

i h x f(x)
0 0.25 0 2.000000
1 0.25 0.25 1.968750
2 0.25 0.5 0.750000
3 0.25 0.75 -3.343750
4 0.25 1 -12.000000
5 0.25 1.25 -26.906250
6 0.25 1.5 -49.750000
7 0.25 1.75 -82.218750
8 0.25 2 -126.000000
9 0.25 2.25 -182.781250
10 0.25 2.5 -254.250000
11 0.25 2.75 -342.093750
12 0.25 3 -448.000000

INTEGRAL = -322.50

n= 16

i h x f(x)
0 0.1875 0 2.000000000000
1 0.1875 0.1875 2.021972656250
2 0.1875 0.375 1.613281250000
3 0.1875 0.5625 0.062011718750
4 0.1875 0.75 -3.343750000000
5 0.1875 0.9375 -9.315917968750
6 0.1875 1.125 -18.566406250000
7 0.1875 1.3125 -31.807128906250
8 0.1875 1.5 -49.750000000000
9 0.1875 1.6875 -73.106933593750
10 0.1875 1.875 -102.589843750000
11 0.1875 2.0625 -138.910644531250
12 0.1875 2.25 -182.781250000000
13 0.1875 2.4375 -234.913574218750
14 0.1875 2.625 -296.019531250000
15 0.1875 2.8125 -366.811035156250
16 0.1875 3 -448.000000000000

INTEGRAL = -322.50

4 n A more accurate  A less accu


A IMPROVED 
4n  1
ROMBERG'S INTEGRATIO

n=0 Integral 1 Integral 2


n=1 Integral 4 Integral 5
n=2 Integral 6
n=3
n=0 -322.5 -322.5
n=1 -322.5 -322.5
n=2 -322.50
FRANCIS ADRIAN Y. MILABO

^3"(4x2+2−18x3 )d" with n = 8, n = 12, and n = 16.


Romberg Integration.

h
f (a)  4f1  2 f2  4f3  2f4  ...  4fn1  f (b)
3
rate  A less accurate
n
4 1
ROMBERG'S INTEGRATION

ral 2 Integral 3
Integral 5
2.5 -322.5
-322.5
EMC 35 - D
QUIZ 4

3.) Using Simpson’s 3/3 Rule, determine the value of the integral ∫(−1)^2"(sin(x)+10csc2(x)" )dx with n =
most improved value using Romberg Integration.

3h
INTEGRAL
 f (x )dx  f (a)  3f1
8
n= 6 12 18

n= 6

i h x f(x)
0 0.5 -1 13.28135828956600
1 0.5 -0.5 43.02742745479620
2 0.5 0 #NUM!
3 0.5 0.5 43.98627853200460
4 0.5 1 14.96430025918180
5 0.5 1.5 11.04778413802880
6 0.5 2 13.00380179745610

INTEGRAL = 60.25804738257220

n= 12

i h x f(x)
0 0.25 -1 13.28135828956600
1 0.25 -0.75 20.84079820387220
2 0.25 -0.5 43.02742745479620
3 0.25 -0.25 163.12801304701900
4 0.25 0 #NUM!
5 0.25 0.25 163.62282096552800
6 0.25 0.5 43.98627853200460
7 0.25 0.75 22.20407572391880
8 0.25 1 14.96430025918180
9 0.25 1.25 12.05304085749560
10 0.25 1.5 11.04778413802880
11 0.25 1.75 11.31212813113370
12 0.25 2 13.00380179745610

INTEGRAL = 124.282296524010

n= 18

i h x f(x)
0 0.166666666666667 -1 13.28135828956600
1 0.166666666666667 -0.83333333 17.51260235944680
2 0.166666666666667 -0.66666667 25.53354261027870
3 0.166666666666667 -0.5 43.02742745479620
4 0.166666666666667 -0.33333333 93.08153975111070
5 0.166666666666667 -0.16666667 363.18603768915600
6 0.166666666666667 0 #NUM!
7 0.166666666666667 0.166666667 363.51782995454400
8 0.166666666666667 0.333333333 93.73592914470310
9 0.166666666666667 0.5 43.98627853200460
10 0.166666666666667 0.666666667 26.77028221641810
11 0.166666666666667 0.833333333 18.99295606583880
12 0.166666666666667 1 14.96430025918180
13 0.166666666666667 1.166666667 12.74845797040740
14 0.166666666666667 1.333333333 11.55772033648590
15 0.166666666666667 1.5 11.04778413802880
16 0.166666666666667 1.666666667 11.08788530390130
17 0.166666666666667 1.833333333 11.68794613331580
18 0.166666666666667 2 13.00380179745610

INTEGRAL = 212.5359330913670

4 n A more accurate  A less accu


A IMPROVED 
4n  1
ROMBERG'S INTEG

n=0 Integral 1 Integral 2


n=1 Integral 4
n=2 Integral 6
n=3

n=0 60.2580473825722 124.28229652401


n=1 145.623712904489
n=2 248.375818550
n=3
FRANCIS ADRIAN Y. MILABO

^2"(sin(x)+10csc2(x)" )dx with n = 6, n = 12, and n = 18. Solve the


ng Romberg Integration.

3h
dx  f (a)  3f1  3f2  2f3  3f4  3f5  2f6  ...  f (b)
8
ate  A less accurate
n
4 1
ROMBERG'S INTEGRATION

Integral 2 Integral 3
Integral 5

124.28229652401 212.535933091367
241.953811947152
 f (b)

You might also like