Final Exam Group 2

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

1.

)𝑥^2 𝑒^(−𝑥/2)=1

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) ) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


Initial -1.0000 0.0000 0.6487
1 0.0000 -0.6065 -1.0000
2 -0.6065 -1.2174 -0.5018
Secant Method 3 -1.2174 -0.7442 1.7242
4 -0.7442 -0.7926 -0.1964
5 -0.7926 -0.8172 -0.0662
6 -0.8172 -0.8155 0.0049

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) ) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


Initial 1.0000 2.0000 -0.3935
1 2.0000 1.4549 0.4715
2 1.4549 1.4274 0.0227
3 1.4274 1.4296 -0.0020
4 1.42961736118788 1.4296 0.0000

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) ) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


Initial 8.0000 9.0000 0.1722
1 9.0000 8.6322 -0.1002
2 8.6322 8.6125 -0.0051
3 8.6125 8.6132 0.0002
4 8.61317049850844 8.6132 0.0000

REGULA-FALSI Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) ) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


Initial -1.0000 -0.6000 0.6487
1 -1.0000 -0.7768 0.6487
2 -1.0000 -0.8092 0.6487
3 -1.0000 -0.8145 0.6487
4 -1.0000 -0.8154 0.6487
5 -1.0000 -0.8155 0.6487

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) ) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


Initial 1.0000 2.0000 -0.3935
1 1.0000 1.4549 -0.3935
2 1.0000 1.4301 -0.3935

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) ) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


Initial 7.0000 9.0000 0.4797
1 7.0000 8.6545 0.4797
2 7.0000 8.6173 0.4797
3 7.0000 8.6136 0.4797
Group II
Bela-ong, Nino
Barbosa, Franz Laurence
Glecy Marie Bacusa
Marc Angelo Azin

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


-1.0000 -0.6065 -0.5018
-0.5018 -1.2174 1.7242
1.7242 -0.7442 -0.1964
-0.1964 -0.7926 -0.0662
-0.0662 -0.8172 0.0049
0.0049 -0.8155 -0.0001
-0.0001 -0.8156 0.0000

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


0.4715 1.4549 0.0227
0.0227 1.4274 -0.0020
-0.0020 1.4296 0.0000
0.0000 1.4296 0.0000
0.0000 1.4296 0.0000

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


-0.1002 8.6322 -0.0051
-0.0051 8.6125 0.0002
0.0002 8.6132 0.0000
0.0000 8.6132 0.0000
0.0000 8.6132 0.0000

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


-0.5141 -0.7768 -0.1101 -0.0714
-0.1101 -0.8092 -0.0186 -0.0121
-0.0186 -0.8145 -0.0030 -0.0020
-0.0030 -0.8154 -0.0005 -0.0003
-0.0005 -0.8155 -0.0001 -0.0001
-0.0001 -0.8155 0.0000 0.0000

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


0.4715 1.4549 0.0227 -0.0089
0.0227 1.4301 0.0004 -0.0002
0.0004 1.4296 0.0000 0.0000

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


-0.1002 8.6545 -0.0110 -0.0053
-0.0110 8.6173 -0.0011 -0.0005
-0.0011 8.6136 -0.0001 -0.0001
-0.0001 8.6132 0.0000 0.0000
xa present=xnew previous, xb present=xb previous

_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) NOTE
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous

_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) NOTE
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous

_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) NOTE
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
〖 2.)𝑥 〗 ^3−5𝑥+1=0

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


)
Initial 2 3 -1
3.0000 2.0714 13.0000
2.0714 2.1038 -0.4690
2.1038 2.1295 -0.2079
2.1295 2.1284 0.0094

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


)
Initial 0.0000 0.4000 1.0000
0.4000 0.2066 -0.9360
0.2066 0.2015 -0.0242

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


)
Initial -3.0000 -1.0000 -11.0000
-1.0000 -1.6250 5.0000
-1.6250 -19.8235 4.8340
-19.8235 -1.6364 -7689.9807
-1.6364 -1.6478 4.7999
-1.6478 -3.1900 4.7649
-3.1900 -2.0102 -15.5126
-2.0102 -2.1975 2.9281
-2.1975 -2.3635 1.3755
-2.3635 -2.3272 -0.3854
-2.3272 -2.3300 0.0324

REGULA-FALSI
Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))
)
Initial 2.0000 2.5000 -1.0000
2.0976 2.5000 -0.2590
2.1213 2.5000 -0.0605
2.1268 2.5000 -0.0138
2.1281 2.5000 -0.0031
2.1283 2.5000 -0.0007

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


)
Initial 0.0000 0.4000 1.0000
0.0000 0.2066 1.0000
0.0000 0.2017 1.0000

Iteration 𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡)) 𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))


)
Initial -3.0000 -1.0000 -11.0000
-3.0000 -1.6250 -11.0000
-3.0000 -2.0448 -11.0000
-3.0000 -2.2316 -11.0000
-3.0000 -2.2982 -11.0000
-3.0000 -2.3200 -11.0000
-3.0000 -2.3269 -11.0000
-3.0000 -2.3291 -11.0000
-3.0000 -2.3298 -11.0000
-3.0000 -2.3300 -11.0000
-3.0000 -2.3300 -11.0000
-3.0000 -2.3300 -11.0000
-3.0000 -2.3301 -11.0000
-3.0000 -2.3301 -11.0000
Group II
Bela-ong, Nino
Barbosa, Franz Laurence
Glecy Marie Bacusa
Marc Angelo Azin

𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓) (𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


13 2.07142857143 -0.469023324
-0.4690 2.1038 -0.2079
-0.2079 2.1295 0.0094
0.0094 2.1284 -0.0002
-0.0002 2.1284 0.0000

𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓) (𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


-0.9360 0.2066 -0.0242
-0.0242 0.2015 0.0008
0.0008 0.2016 0.0000

𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓) (𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


5.0000 -1.6250 4.8340
4.8340 -19.8235 -7689.9807
-7689.9807 -1.6364 4.7999
4.7999 -1.6478 4.7649
4.7649 -3.1900 -15.5126
-15.5126 -2.0102 2.9281
2.9281 -2.1975 1.3755
1.3755 -2.3635 -0.3854
-0.3854 -2.3272 0.0324
0.0324 -2.3300 0.0007
0.0007 -2.3301 0.0000

𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓) (𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


4.1250 2.0976 -0.2590 0.2590
4.1250 2.1213 -0.0605 0.0157
4.1250 2.1268 -0.0138 0.0008
4.1250 2.1281 -0.0031 0.0000
4.1250 2.1283 -0.0007 0.0000
4.1250 2.1284 -0.0002 0.0000

𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓) (𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


-0.9360 0.2066 -0.0242 -0.0242
-0.0242 0.2017 -0.0004 -0.0004
-0.0004 0.2016 0.0000 0.0000

𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) 𝑓) (𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


5.0000 -1.6250 4.8340 -53.1738
4.8340 -2.0448 2.6744 -29.4189
2.6744 -2.2316 1.0446 -11.4901
1.0446 -2.2982 0.3521 -3.8734
0.3521 -2.3200 0.1128 -1.2404
0.1128 -2.3269 0.0355 -0.3907
0.0355 -2.3291 0.0111 -0.1224
0.0111 -2.3298 0.0035 -0.0383
0.0035 -2.3300 0.0011 -0.0120
0.0011 -2.3300 0.0003 -0.0037
0.0003 -2.3300 0.0001 -0.0012
0.0001 -2.3301 0.0000 -0.0004
0.0000 -2.3301 0.0000 -0.0001
0.0000 -2.3301 0.0000 0.0000
ence
sa
n

_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) NOTE
xa present=xnew previous, xb present=xb previous
xa present=xnew previous, xb present=xb previous
xa present=xnew previous, xb present=xb previous
xa present=xnew previous, xb present=xb previous
xa present=xnew previous, xb present=xb previous
stop

_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
stop

_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
stop
Group II
Bela-ong, Nino
Barbosa, Franz Laurence 3.) 𝑥+𝑒^𝑥=0
Glecy Marie Bacusa
Marc Angelo Azin

Iteration 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡))𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) )
𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))
Initial -1.0000 0.0000 -0.6321
Secant Method 1 0.0000 -0.6127 1.0000
2 -0.6127 -0.5722 -0.0708
3 -0.5722 -0.5671 -0.0079

Therefore, after 3 iterations, X1 is equal to -0.5671.

Iteration 𝑥_(𝑏(𝑝𝑟𝑒𝑠𝑒𝑛𝑡))𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡) )
𝑥_(𝑎(𝑝𝑟𝑒𝑠𝑛𝑡)) 𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡)))
Initial -1.0000 0.0000 -0.6321
1 -0.6127 0.0000 -0.0708
REGULA-FALSI 2 -0.5722 0.0000 -0.0079
3 -0.5677 0.0000 -0.0009
4 -0.5672 0.0000 -0.0001
5 -0.5672 0.0000 0.0000
) 𝑥+𝑒^𝑥=0

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤)


1.0000 -0.6127 -0.0708
-0.0708 -0.5722 -0.0079
-0.0079 -0.5671 0.0001
0.0001 -0.5671 0.0000

ual to -0.5671.

𝑓(𝑥_(𝑏(𝑝𝑟𝑠𝑒𝑛𝑡))) 𝑥_𝑛𝑒𝑤 𝑓(𝑥_𝑛𝑒𝑤) 𝑓(𝑥_𝑛𝑒𝑤)*𝑓(𝑥_𝑎(𝑝𝑟𝑠𝑒𝑛𝑡)


1.0000 -0.6127 -0.0708 0.0448
1.0000 -0.5722 -0.0079 0.0006
1.0000 -0.5677 -0.0009 0.0000
1.0000 -0.5672 -0.0001 0.0000
1.0000 -0.5672 0.0000 0.0000
1.0000 -0.5671 0.0000 0.0000
NOTE
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
xb present=xnew previous, xa present=xa previous
stop
Group
Bela-ong, N
Barbosa, Franz L
Glecy Marie Ba
Marc Angelo

𝑥^3−5𝑥^2+2𝑥−𝑦+13=0 [█( 〖 3𝑥 〗 ^2−10𝑥+2


𝑥^3+𝑥^2−14𝑥−𝑦−19=0

ITERATION X,Y j(x)


1.000 -5.000
1 5.000 71.000
1.553 -6.294
8.237 206.010
1.752 -6.311
6.538 127.329
Group II
Bela-ong, Nino
Barbosa, Franz Laurence
Glecy Marie Bacusa
Marc Angelo Azin

〖 3𝑥 〗 ^2−10𝑥+2 −1@ 〖 3𝑥 〗 ^2+2𝑥−14 −1)]

j(x) J(X)^-1 f(x) d(x)


-1.000 -0.013 0.013 6.000 -0.553
-1.000 -0.934 -0.066 -36.000 -3.237
-1.000 -0.005 0.005 -0.442 -0.200
-1.000 -0.970 -0.030 -42.820 1.698
-1.000 -0.007 0.007 -0.006 -0.311
-1.000 -0.953 -0.047 -41.619 1.971
Group II
Bela-ong, Nino
Barbosa, Franz Laurence
Glecy Marie Bacusa
Marc Angelo Azin

𝑥^2+𝑦^2−4=0
𝑥^2−𝑦+1=0
Group II
Bela-ong, Nino
Barbosa, Franz Laurence
Glecy Marie Bacusa
Marc Angelo Azin

You might also like