You are on page 1of 21

# PROBLEMA 5.

f ( x ) = e x - 1, 5 x 2

x f(x)
-2 -5.8646647 8
-1.75 -4.4199761
6
-1.35 -2.4745097
-0.95 -0.967009 4
-0.55 0.12319981
-0.15 0.82695798 2
0.25 1.19027542
0 Column B
0.65 1.28179083 -3 -2 -1 0 1 2 3 4
1.05 1.20390112 -2
1.45 1.10936452
1.85 1.22606952 -4
2.25 1.89398584 -6
2.65 3.62028865
3.05 7.16159442 -8

x asum
0.7 0.74193734
0.5 0.40546511
0.6 0.58778666
0.61 0.60431597
0.62 0.62057649

d^2 -0.141072
Column B
PROBLEMA 5.2

a) f ( x ) = e x + 1, 5 x 2

x f(x) 25
-2 6.13533528
-1.5 3.59813016 20
-1 1.86787944
-0.5 0.98153066
0 1 15
0.5 2.02372127
Column B
1 4.21828183 10
1.5 7.85668907
2 13.3890561
2.5 21.557494 5

0
-3 -2 -1 0 1 2 3
x ln3x
-0.25764 -0.2575797

d^2 3.77287342

b) f ( x ) = 0, 5 ( x 2 + 1) ( x + 1)

x f(x)
-5 -52 150
-4 -25.5
-3 -10
100
-2 -2.5
-1 0
0 0.5 50
1 2 Column B
2 7.5 0
3 20 -6 -4 -2 0 2 4 6 8
4 42.5
-50
5 78
6 129.5
-100

c) f ( x ) = x3 - 3x
20
0.5
x f(x) 15
-3 -18 10
5
0
-4 -3 -2 -1 0 1 2 3 4
-5
20
15
10
-2.5 -8.125 5
-2 -2
0
-1.5 1.125
-4 -3 -2 -1 0 1 2 3 4
-1 2 -5
-0.5 1.375 -10
0 0
-15
0.5 -1.375
1 -2 -20
1.5 -1.125
3 18

d) f ( x ) = 2 x2 ( x - 2) ( x + 2)
6
x fx
4
-2.1 3.6162
-2 0 2
-1.5 -7.875
-1 -6 0
-2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5
-0.5 -1.875 -2 Column B
0 0
0.5 -1.875 -4
1 -6
-6
1.5 -7.875
2 0 -8
2.1 3.6162
-10

-1.4142136 1.41421356

-8 -8

## e) f ( x ) = 0,1x 6 - 0, 29 x5 + 2,31x 4 - 8,33x 3 + 12,89 x 2 - 6,8 x + 1

x fx 1
0 1
0.1 0.4407982 0.8
0.2 0.0925696
0.3 -0.0867308
0.6
0.4 -0.134144
0.5 -0.081875
0.4 Column B
0.6 0.0426112
0.7 0.2165656
0.8 0.4220032 0.2

0
0 0.2 0.4 0.6 0.8 1 1.2

-0.2
0.4 Column B

0.2
0.9 0.645823
1 0.88 0
0 0.2 0.4 0.6 0.8 1 1.2

-0.2

0.3926 -0.0003088
Column B
5
Column B

Column B
Column B
PROBLEMA 5.3

f = ( x - 1) = 4 ( x - 1)
4 3
f� � x = 1 es una solución de f �
=0

## -0.5 5.0625 -0.5 -13.5

0 1 0 -4
0.5 0.0625 0.5 -0.5
1 0 1 0
1.5 0.0625 1.5 0.5
2 1 2 4
2.5 5.0625 2.5 13.5

6 15
5 10
4 5
3
0
2 -1 -0.5 0 0.5 1 1.5 2 2.5 3
-5
1
-10
0
-1 -0.5 0 0.5 1 1.5 2 2.5 3 -15

= 12 ( x - 1)
2
f�
� f�

�= 24 ( x - 1)

## -0.5 27 -0.5 -36

0 12 0 -24
0.5 3 0.5 -12
1 0 1 0
1.5 3 1.5 12
2 12 2 24
2.5 27 2.5 36

30 40
25 30
20
20
10
15
0
10 -1 -0.5
-10 0 0.5 1 1.5 2 2.5 3
5 -20
0 -30
-1 -0.5 0 0.5 1 1.5 2 2.5 3 -40

## NEWTON DIFERENCIAS FINITAS

h 0.5
x0 0
f(x+h)=(x+h-q)^4
x f(x+h) f(x-h) f(x) x f(x)
0.95 0.04100625 0.09150625 0.00000625 1.04528302 0.5 0.0625
1.04528302 0.08840725 0.04275281 4.204763E-06 0.95825697 0.625 0.01977539
0.95825697 0.04409977 0.08613374 3.036237E-06 1.03895036 0.71875 0.00625706
1.03895036 0.08437136 0.04518463 2.301685E-06 0.96333031 0.7890625 0.00197977
1 0.0625 0.0625 0 1 0.84179688 0.00062641
0.88134766 0.0001982
0.91101074 6.2712E-05
x f(x+h) f(x-h) f(x)
0.5 0 1 0.0625 0.78571429
0.78571429 0.00666389 0.2603082 0.0021084965 1.02704577
1.02704577 0.0771602 0.05003529 5.350537E-07 0.97373191
0.97373191 0.0503652 0.07670579 4.761174E-07 1.02555489
1.02555489 0.07629083 0.05066918 4.264774E-07 0.97510236
0.97510236 0.05095053 0.07590991 3.842669E-07 1.02428934
1.02428934 0.07555864 0.05121198 3.480669E-07 0.97627586
0.97627586 0.05145579 0.07523334 3.167831E-07 1.02319715
1.02319715 0.07493099 0.05168391 2.895599E-07 0.97729579
0.97729579 0.05189797 0.074649 2.657209E-07 1.02224179

## x f(x+h) f(x-h) f(x)

-1 5.0625 39.0625 16 -0.2989691
-0.2989691 0.40749274 10.4735712 2.8470509774 0.18619346
0.18619346 0.00969724 2.97937846 0.4386162294 0.53774432
0.53774432 2.0296E-06 0.85735746 0.0456592755 0.81754511
0.81754511 0.01016768 0.2169181 0.0011082099 1.04740127
1.04740127 0.08978901 0.04196173 5.04847E-06 0.95664095
0.95664095 0.04348099 0.0871661 3.534426E-06 1.0402392
1.0402392 0.08518132 0.0446815 2.621787E-06 0.96226951
0.96226951 0.04566474 0.08361008 2.026608E-06 1.03565296
1.03565296 0.08232544 0.0464912 1.615781E-06 0.96610616

## CUASI NEWTON (SECANTE)

xq xp f'(xq) f'(xp) x
1 5 0 256 1
1 10 4 2916 0.98763736
5 0.98763736 0.95 -7.5578E-06 0.98766928
1.5 0.98766928 0.95 -7.4994E-06 0.98767333
f'(x) x(1)
-0.5 0.625
-0.2109375 0.71875
-0.0889893 0.7890625
-0.0375423 0.84179688
-0.0158382 0.88134766
-0.0066817 0.91101074
-0.0028189 0.93325806
PROBLEMA 5.4

f = 6, 64 + 1, 2 x - x 2 *
x% = x2 -
Dx ��f ( x3 ) - f ( x1 ) �

2�f
� 3( x ) - 2 f ( x 2 ) + f ( x1 ) �

* 0,5 [ 6,84 - 6, 64]
x% = 0, 5 - = 0, 6
6,84 - 2 ( 6,99 ) + 6, 64 �
2�
� �

1 2 3 dx x* f(x*)
xi 0 0.5 1 0.5 0.6 7
f(xi) 6.64 6.99 6.84

## xi 0.5 0.6 1 0.1 0.55588235 6.99805363

f(xi) 6.99 7 6.84

## xi 0.55588235 0.6 1 0.04411765 0.57847141 6.99953652

f(xi) 6.99805363 7 6.84

## xi 0.57847141 0.6 1 0.02152859 0.58929789 6.99988546

f(xi) 6.99953652 7 6.84

## xi 0.58929789 0.6 1 0.01070211 0.5946566 6.99997145

f(xi) 6.99988546 7 6.84

## xi 0.5946566 0.6 1 0.0053434 0.59732925 6.99999287

f(xi) 6.99997145 7 6.84

## xi 0.59732925 0.6 1 0.00267075 0.59866475 6.99999822

f(xi) 6.99999287 7 6.84
x f(x)
7.1
0 6.64
0.1 6.75 7
0.2 6.84
0.3 6.91 6.9
0.4 6.96
0.5 6.99 6.8
0.6 7 Column J
6.7
0.7 6.99
0.8 6.96 6.6
0.9 6.91
1 6.84 6.5

6.4
0 0.2 0.4 0.6 0.8 1 1.2
Column J

2
PROBLEMA 5.6

f = ( x - 1)
4
x%
*
= x opt =
1�

( x22 - x32 ) f ( x1 ) + ( x32 - x12 ) f ( x2 ) + ( x12 - x22 ) f ( x3 ) �

2 �( x2 - x3 ) f ( x1 ) + ( x3 - x1 ) f ( x2 ) + ( x1 - x2 ) f ( x3 ) �
� �

1 2 3 x opt f xopt
xi 0 0.5 2 1
f(xi) 1 0.0625 1 0

xi 0.5 1 2 0.83333333
f(xi) 0.0625 0 1 0.0007716

## xi 0.5 0.83333333 1 0.92307692

f(xi) 0.0625 0.0007716 0 3.5013E-05

## xi 0.833333333 0.92307692 1 0.9664311

f(xi) 0.000771605 3.5013E-05 0 1.2698E-06

## xi 0.923076923 0.9664311 1 0.98518037

f(xi) 3.501278E-05 1.2698E-06 0 4.8234E-08

## xi 0.966431095 0.98518037 1 0.99347271

f(xi) 1.269839E-06 4.8234E-08 0 1.8152E-09

## xi 4.823352E-08 0.99347271 1 0.99673649

f(xi) 0.999999807 1.8152E-09 0 1.1343E-10

## xi 0.993472713 0.99673649 1 0.99860134

f(xi) 1.815226E-09 1.1343E-10 0 3.8269E-12

## xi 0.996736495 0.99860134 1 0.99938034

f(xi) 1.134324E-10 3.8269E-12 0 1.4744E-13

## xi 0.998601341 0.99938034 1 0.99972727

f(xi) 3.826905E-12 1.4744E-13 0 5.5328E-15
PROBLEMA 5.7 0
� f� ( x2 ) + w - z �
x%= x opt = x2 - � �( x - x )
( x2 ) - f �
�f � ( x1 ) + 2w � 2 1
3 �f ( x1 ) - f ( x2 ) �
z= � �+ f �x + f �x
( 1) ( 2)
f = ( x - 1) .
4 ( x2 - x1 )
1
w=� ( x1 ) f �
z2 - f �
� ( x2 ) �

2

i 1 2
xi 0.5 2
f(xi) 0.0625 1
f'(xi) -0.5 4

## i xi f(xi) f'(xi) z w xopt

1 1 0.5 0.0625 -0.5 1.625 2.15421099 1.22871355
2 2 1 4

## 2 1 0.5 0.0625 -0.5 -0.2061064 0.25769709 0.87804055

2 1.22871355 0.00273632 0.04785592

## 3 1 0.87804055 0.00022124 -0.0072562 0.01908327 0.02667248 1.04944338

2 1.22871355 0.00273632 0.04785592

## 4 1 0.87804055 0.00022124 -0.0072562 -0.003005 0.00354094 0.96815185

2 1.04944338 5.9763E-06 0.00048349

## 5 1 0.96815185 1.0288E-06 -0.0001292 0.00017169 0.00030323 1.0084344

2 1.04944338 5.9763E-06 0.00048349

## 6 1 0.96815185 1.0288E-06 -0.0001292 -5.0572E-05 5.355E-05 0.99045908

2 1.0084344 5.0608E-09 2.4001E-06

## 7 1 0.99045908 8.2863E-09 -3.474E-06 -5.3562E-07 2.9368E-06 0.99944881

2 1.0084344 5.0608E-09 2.4001E-06

## 8 1 0.99944881 9.2301E-14 -6.6983E-10 7.0979E-07 7.1093E-07 1.00279001

2 1.0084344 5.0608E-09 2.4001E-06

## 9 1 0.99944881 9.2301E-14 -6.6983E-10 3.1879E-08 3.2779E-08 1.00087451

2 1.00279001 6.0593E-11 8.6872E-08

## 10 1 0.99944881 9.2301E-14 -6.6983E-10 9.6889E-10 1.6525E-09 1.00015441

2 1.00087451 5.8488E-13 2.6752E-09
fopt
0.00273632 -0.7287136
-0.7712864

0.00022124 -0.3780405
-0.350673

5.9763E-06 -0.1714028
-0.1792702

1.0288E-06 -0.0901113
-0.0812915

5.0608E-09 -0.0402825
-0.041009

8.2863E-09 -0.0223072
-0.0179753

9.2301E-14 -0.0089897
-0.0089856

6.0593E-11 -0.0033412
-0.0056444

5.8488E-13 -0.0014257
-0.0019155

5.6854E-16 -0.0007056
-0.0007201
PROBLEMA 5.8

xi f(xi)=F X
1.5 0.0625 3.375 2.25 1.5 1
3 16 27 9 3 1
4 81 64 16 4 1
4.5 150.0625 91.125 20.25 4.5 1

X^(-1)
-0.0889 0.4444 -0.8 0.444
1.0222 -4.4444 7.2 -3.78
-3.8667 13.667 -19.8 10
4.8 -12 16.2 -8

A=X^(-1)*F
9
-54.75 -109
115.25
-80
PROBLEMA 5.9
f ( x ) = 2 x3 - 5x 2 - 8 x �1

x f(x) 100
-5 -383
-4 -216
0
-3 -107 -6 -4 -2 0 2 4 6
-2 -44
-100
-1 -15
0 -8
1 -11 -200 Column B
2 -12
3 1 -300
4 40
-400

-500

1 1 1 -11
1 1.5 2.25 -12.5
1 2 4 -12

6 -8 3 -2
-7 12 -5 -13
2 -4 2 4

## 1 1.5 2.25 -12.5

1 1.625 2.64 -12.62
1 2 4 -12

## 51.3684211 -63.157895 12.7894737 1.47368421

-57.263158 73.6842105 -16.421053 -17.052632
15.7894737 -21.052632 5.26315789 5.15789474
Column B