Stivalet Velázquez Cristopher - Metodo Newton-Raphson - 3AM4

Descargar como pdf o txt
Descargar como pdf o txt
Está en la página 1de 10

1.

Sea la función f(x)=4x^4-9x^2+1 encontrar la solución más próxima Si aplicando el Método de Newton-Raphson para xi
= 0.5, para n = 5, además calcular el Ea.

𝑓(𝑥) = 4𝑥 4 − 9𝑥 2 + 1
{ ′
𝑓 (𝑥) = 16𝑥 3 − 18𝑥
𝑛=1
𝑓(. 5) = 4(. 5)4 − 9(. 5)2 + 1 = −1
𝑋𝑖 = .5 { ′
𝑓 (. 5) = 16(. 5)3 − 18(. 5) = −7
−1 . 35714 − .5
𝑋𝑖 + 1 = −5 − ( ) = .35714; | | ∗ 100 = 40%
−7 . 35714
𝑛=2
𝑓(. 34714) = 4(. 34714)4 − 9(. 34714)2 + 1 = −0.08287
𝑋𝑖 = .34714 {
𝑓 ′ (. 34714) = 16(. 34714)3 − 18(. 34714) = −5.69967
−0.08287 0.34237 − 0.35714
𝑋𝑖 + 1 = .34714 − ( ) = 0.34260; | | ∗ 100 = 4.24362%
−5.69967 0.34237
𝑛=3
𝑓(0.34260) = 4(0.34260)4 − 9(0.34260)2 + 1 = −0.00127
𝑋𝑖 = 0.34260 { ′
𝑓 (0.34260) = 16(0.34260)3 − 18(0.34260) = −5.52340
−0.00127 0.34237 − 0.34260
𝑋𝑖 + 1 = 0.34260 − ( ) = 0.34237; | | ∗ 100 = 0.06692%
−5.52340 0.34237
𝑛=4
𝑓(0.34237) = 4(0.34237)4 − 9(0.34237)2 + 1 = 0.00000
𝑋𝑖 = 0.34237 { ′
𝑓 (0.34237) = 16(0.34237)3 − 18(0.34237) = −5.52055
0.00000 0.34237 − 0.34237
𝑋𝑖 + 1 = 0.34237 − ( ) = 0.34237; | | ∗ 100 = 2.4𝑥106 %
−5.52055 0.34237
𝑛=5
𝑓(0.34237) = 4(0.34237)4 − 9(0.34237)2 + 1 = 0.00000
𝑋𝑖 = 0.34237 { ′
𝑓 (0.34237) = 16(0.34237)3 − 18(0.34237) = −5.52055
0.00000 0.34237 − 0.34237
𝑋𝑖 + 1 = 0.34237 − ( ) = 0.34237; | | ∗ 100 = 2.4𝑥106 %
−5.52055 0.34237
𝑃𝑎𝑟𝑎 𝑛 = 5 𝑙𝑎 𝑆𝑖 = 0.34237.
2. Sea la función f(x)=3x^3-3x-9 encontrar la solución más próxima Si aplicando el Método de Newton-Raphson para
xi=2, para n = 5, además calcular el Ea.

𝑓(𝑥) = 3𝑥 3 − 3𝑥 − 9
{
𝑓 ′ (𝑥) = 9𝑥 2 − 3
𝑛=1
𝑓(2) = 3(2)3 − 3(2) − 9 = 9
𝑋𝑖 = 2 {
𝑓 ′ (2) = 9(2)2 − 3 = 33
9 1.72727 − 2
𝑋𝑖 + 𝑛 = 2 − ( ) = 1.72727; | | ∗ 100 = 15.78947%
33 1.72727
𝑛=2
𝑓(1.72727) = 3(1.72727)3 − 3(1.72727) − 9 = 1.27792
𝑋𝑖 = 1.72727 {
𝑓 ′ (1.72727) = 9(1.72727 )2 − 3 = 23.85115
1.27792 1.67369 − 1.72727
𝑋𝑖 + 𝑛 = 1.72727 − ( ) = 1.67369; | | ∗ 100 = 3.20125%
23.85115 1.67369
𝑛=3
𝑓(1.67369) = 3(1.67369)3 − 3(1.67369) − 9 = 0.04414
𝑋𝑖 = 1.67369 {
𝑓 ′ (1.67369) = 9(1.67369 )2 − 3 = 22.21114
0.04414 1.67170 − 1.67369
𝑋𝑖 + 𝑛 = 1.67369 − ( ) = 1.67170; | | ∗ 100 = 0.11889%
22.21114 1.67170
𝑛=4
𝑓(1.67170) = 3(1.67170)3 − 3(1.67170) − 9 = 0.00000
𝑋𝑖 = 1.67170 {
𝑓 ′ (1.67170) = 9(1.67170 )2 − 3 = 22.15123
0.00000 1.67170 − 1.67170
𝑋𝑖 + 𝑛 = 1.67170 − ( ) = 1.67170; | | ∗ 100 = 0.00001%
22.15123 1.67170
𝑛=5
𝑓(1.67170) = 3(1.67170)3 − 3(1.67170) − 9 = 0.00000
𝑋𝑖 = 1.67170 {
𝑓 ′ (1.67170) = 9(1.67170 )2 − 3 = 22.15123
0.00000 1.67170 − 1.67170
𝑋𝑖 + 𝑛 = 1.67170 − ( ) = 1.67170; | | ∗ 100 = 0.00001%
22.15123 1.67170
𝑃𝑎𝑟𝑎 𝑛 = 5 𝑙𝑎 𝑆𝑖 = 1.67170.
3. Sea la función f(x)=2x^4-2x-40 encontrar la solución más próxima Si aplicando el Método de Newton-Raphson para
xi=2, para n = 5, además calcular el Ea.

𝑓(𝑥) = 2𝑥 4 − 2𝑥 − 40
{
𝑓 ′ (𝑥) = 8𝑥 3 − 2
𝑛=1
𝑓(2) = 2(2)4 − 2(2) − 40 = −12
𝑋𝑖 = 2 {
𝑓 ′ (2) = 8(2)3 − 2 = 62
−12 2.19355 − 2
𝑋𝑖 + 1 = 2 − ( ) = 2.19355; | | ∗ 100 = 8.82353
62 2.19355
𝑛=2
𝑓(2.19355) = 2(2.19355)4 − 2(2.19355) − 40 = 1.91355
𝑋𝑖 = 2.19355 {
𝑓 ′ (2.19355) = 8(2.19355)3 − 2 = 82.43696
1.91355 2.17029 − 2.19355
𝑋𝑖 + 1 = 2.19355 − ( ) = 2.17029; | | ∗ 100 = 1.07152%
82.43696 2.17029
𝑛=3
𝑓(2.17029) = 2(2.17029)4 − 2(2.17029) − 40 = 0.03060
𝑋𝑖 = 2.17029 {
𝑓 ′ (2.17029) = 8(2.17029)3 − 2 = 79.77928
0.03060 2.16991 − 2.17019
𝑋𝑖 + 1 = 2.17029 − ( ) = 2.16991; | | ∗ 100 = 0.01768
79.77928 2.16991
𝑛=4
𝑓(2.16991) = 2(2.16991)4 − 2(2.16991) − 40 = 0.00030
𝑋𝑖 = {
𝑓 ′ (2.16991) = 8(2.16991)3 − 2 = 79.73633
0.00030 2.16991 − 2.16991
𝑋𝑖 + 1 = 2.16991 − ( ) = 2.16991; | | ∗ 100 = 0.00017%
79.73633 2.16991
𝑛=5
𝑓(2.16991) = 2(2.16991)4 − 2(2.16991) − 40 = 0.00030
𝑋𝑖 = {
𝑓 ′ (2.16991) = 8(2.16991)3 − 2 = 79.73633
0.00030 2.16991 − 2.16991
𝑋𝑖 + 1 = 2.16991 − ( ) = 2.16991; | | ∗ 100 = 0.00017%
79.73633 2.16991
𝑃𝑎𝑟𝑎 𝑛 = 5 𝑙𝑎 𝑆𝑖 = 2.16991.
1. Sea a función f(X)=(z+2)^2+2 encontrar la solución más próxima Si aplicando el método de Newton-Raphson para
funciones complejas para xi=(1,1), paran=5, además de calcular el Ea.
𝑓(𝑧) = (𝑧 + 2)2 + 2
{
𝑓 ′ (𝑧) = 2𝑧 + 4
𝑛=1

𝑓(𝑧 + 𝑖) = (1 + 𝑖 + 𝑖)2 + 2 = 10 + 6𝑖 = 2√34 < 30.96376

𝑓 ′ (1 + 𝑖) = 2(1 + 𝑖) + 4 = 6 + 2𝑖 = 2√10 < 18.43495


10 + 6𝑖
𝑧𝑖 + 1 = 1 + 𝑖 − = −.8 + .6𝑖 = 1 < 143.13010
6 + 2𝑖
−0.8 + 0.6𝑖 − (1 + 𝑖)
𝐸=| | ∗ 100 = 184.39089%
−0.8 + 0.6𝑖
𝑛=2
2
𝑓(−0.8 + 0.6𝑖) = ((−0.8 + 0.6𝑖) + 2) + 2 = 3.08 + 1.44𝑖 = 3.4 < 25.05762
𝑓 ′ (−0.8 + 0.6) = 2(0.8 + 0.6𝑖) + 4 = 2.4 + 1.2𝑖 = 2.68328 < 26.56505
3.08 + 1.44𝑖
𝑧𝑖 + 1 = −0.8 + 0.6𝑖 − = −2.06667 + .63333𝑖 = 2.16153 < 162.96223
2.4 + 1.2𝑖
−2.06667 + .63333𝑖 − (0.8 + 0.6𝑖)
𝐸=| | ∗ 100 = 58.62069%
−2.06667 + .63333𝑖
𝑛=3
2
𝑓(−2.06667 + .63333𝑖) = ((−2.06667 + .63333𝑖) + 2) + 2 = 1.60334 − 0.08445𝑖 = 1.60556 < −3.01500
𝑓 ′ (−2.06667 + .63333𝑖) = 2(−2.06667 + .63333𝑖) + 4 = −0.13334 + 1.26666𝑖 = 1.27366 < 96.00934
1.60334 − 0.08445
𝑧𝑖 + 1 = −2.06667 + .63333𝑖 − = −1.86894 + 1.87832𝑖 = 2.644972 < 134.85668
0.13334 + 1.26666
−1.86894 + 1.87832𝑖 − (−2.06667 + .63333𝑖)
𝐸=| | ∗ 100 = 47.57444%
−1.86894 + 1.87832𝑖
𝑛=4
2
𝑓(−1.86894 + 1.87832𝑖) = ((−1.86894 + 1.87832𝑖) + 2) + 2 = −1.51091 + 0.49235𝑖 = 1.58910 < 161.95127
𝑓 ′ (−1.86894 + 1.87832𝑖) = 2(−1.86894 + 1.87832𝑖) + 4 = 0.26212 + 3.75664𝑖 = 3.76577 < 86.00865
−1.51091 + 0.49235𝑖
𝑧𝑖 + 1 = −1.86894 + 1.87832𝑖 − = 1.97144 + 1.46897𝑖 = 2.45854 < 143.30921
0.26212 + 3.75664𝑖
1.97144 + 1.46897𝑖 − (−1.86894 + 1.87832𝑖)
𝐸=| | ∗ 100 = 17.16406%
1.97144 + 1.46897𝑖
𝑛=5
2
𝑓(1.97144 + 1.46897𝑖) = ((1.97144 + 1.46897𝑖) + 2) + 2 = −0.15706 + 0.08391𝑖 = 0.17807 < 151.88671
𝑓 ′ (1.97144 + 1.46897𝑖) = 2(1.97144 + 1.46897𝑖) + 4 = 0.05712 + 2.93794𝑖 = 2.93850 < 88.88618
0.15706 + 0.08391𝑖
𝑧𝑖 + 1 = 1.97144 + 1.46897𝑖 − = −1.99895 + 1.41498𝑖 = 144.70684
0.05712 + 2.93794𝑖
−1.99895 + 1.41498𝑖 − (1.97144 + 1.46897𝑖)
𝐸=| | ∗ 100 = 2.47431%
−1.99895 + 1.41498𝑖
2. Sea la función f(x)=(z+2)^2+3z encontrar la solución más próxima Si aplicando el método de Newton-Raphson para
funciones complejas para xi=(1,1), para n=5, además calcular el Ea
𝑓(𝑥) = (𝑧 + 2)2 + 3𝑧
{
𝑓 ′ (𝑥) = 2𝑧 + 𝑧
𝑛=1
2
𝑓(1 + 𝑖) = ((1 + 𝑖) + 2) + 3(1 + 𝑖) = 11 + 9𝑖 = 14.21267 < 39.28941
𝑓 ′ (1 + 𝑖) = 2(1 + 𝑖) + 7 = 9 + 2𝑖 = 9.21954 < 12.52881
11 + 9𝑖
𝑍𝑖 + 1 = (1 + 𝑖) − = −.37647 − .30588𝑖 = 0.48507 < 140.90614
9 + 2𝑖
−.37647 − .30588𝑖 − (1 + 𝑖)
𝐸=| | ∗ 100 = 317.80497%
−.37647 − .30588𝑖
𝑛=2
2
𝑓(−.37647 − .30588𝑖) = ((−.37647 − .30588𝑖) + 2) + 3(−.37647 − .30588𝑖) = 1.41288 + 1.91085 =
2.37646 < 53.52089
𝑓 ′ (−.37647 − .30588𝑖) = 2(−.37647 − .30588𝑖) + 7 = 6.24076 + 0.61176𝑖 = 6.27694 < 5.59301
−1.41288 + 1.91085𝑖
𝑍𝑖 + 1 = −.37647 − .30588𝑖 − = −0.63016 + 0.02484𝑖 = 0.63065 < 177.74237
6.24706 + 0.61176𝑖
−0.63016 + 0.02484𝑖 − (−.37647 − .30588𝑖)
𝐸=| | ∗ 100 = 60.03383%
−0.63016 + 0.02484𝑖
𝑛=3
2
𝑓(−0.63016 + 0.02484𝑖) = ((−0.63016 + 0.02484𝑖) + 2) + 3(−0.63016 + 0.02484𝑖) = −0.01464 + 0.14256𝑖 =
0.14332 < 95.86097
𝑓 ′ (−0.63016 + 0.02484𝑖) = 2(−0.63016 + 0.02484𝑖) + 7 = 5.73968 + 0.04968𝑖 = 5.74434 < 0.00040
−0.01464 + 0.14257𝑖
𝑍𝑖 + 1 = −0.63016 + 0.02484𝑖 − = −0.62783 − 0.00002𝑖 =< −179.99816
5.73968 + 0.04968𝑖
−0.62783 − 0.00002𝑖 − (−0.63016 + 0.02484𝑖)
𝐸=| | ∗ 100 = 3.97716%
−0.62783 − 0.00002𝑖
𝑛=4
2
𝑓(−0.62783 − 0.00002𝑖) = ((−0.62783 − 0.00002𝑖) + 2) + 3(−0.62783 − 0.00002𝑖) = −0.00064 + 0.00011𝑖 =
0.00065 < 169.81526
𝑓 ′ (−0.62783 − 0.00002𝑖) = 2(−0.62783 − 0.00002𝑖) + 7 = 5.74434 + 0.00004𝑖 = 5.74434 < 0.00040
−0.00064 + 0.00011𝑖
𝑍𝑖 + 1 = −0.62783 − 0.00002𝑖 − = −0.62772 + 0.00000𝑖 = 0.62772 < −190
5.74434 + 0.00004𝑖
−0.62772 + 0.00000𝑖 − (−0.62783 − 0.00002𝑖)
𝐸=| | ∗ 100 = 0.01802%
−0.62772 + 0.00000𝑖
𝑛=5
2
𝑓(−0.62772 + 0.00000𝑖) = ((−0.62772 + 0.00000𝑖) + 2) + 3(−0.62772 + 0.00000𝑖) = 0.00001 = −0.00001 < 180
𝑓 ′ (−0.62772 + 0.00000𝑖) = 2(−0.62772 + 0.00000𝑖) + 7 = 5.74456
0.00001
𝑍𝑖 + 1 = −0.62772 + 0.00000𝑖 = −0.62772
5.74456
−0.62772 − (−0.62772 + 0.00000𝑖)
𝐸=| | ∗ 100 = 0.00021%.
−0.62772

También podría gustarte