Está en la página 1de 44

Funcion Funcion Despejada Interaccione

8x-y+2z=10 x=1/8(10+y-2z) 1 2 3 4
x-9y+z=-8 y=1/9((8+x+z) x 0 1.250000 1.028935 1.056375
3x+y-12z-12 z=1/12(12+3x+y) y 0 1.027778 1.158565 1.156684
z 0 1.398148 1.353781 1.360484
Interacciones
5 6 7 8 9
1.054464 1.054639 1.054625 1.054627 1.054627
1.157217 1.157188 1.157191 1.157191 1.157191
1.360051 1.360092 1.360089 1.360089 1.360089
Funcion Funcion Despejada Interacciones x y
x^2+xy-3y^2-8=0 x=(8+3y^2-xy) 1 3 1
yLnx-2xy+5=0 y=(yLnx+5)/2x 2 2.8284271247 1.0676818784
3 2.8982707594 1.0585856242
4 2.8798859023 1.0624934229
5 2.8856224616 1.0614637805
6 2.8839438872 1.061785337
7 2.8844470828 1.0616912555
8 2.8842976132 1.06171946
Funcion Interacciones x0 x1
2x^3-xe^x 1 1.0000000 2.0000000
2 2.0000000 1.3702160
3 1.3702160 1.4765825
4 1.4765825 1.4888323
5 1.4888323 1.4879567
6 1.4879567 1.4879621
7 1.4879621 1.4879621
8 1.4879621 1.4879621
fx0 fx1 fx+1
-0.7182818 1.2218878 1.3702160
1.2218878 -0.2483065 1.4765825
-0.2483065 -0.0256432 1.4888323
-0.0256432 0.0019741 1.4879567
0.0019741 -0.0000121 1.4879621
-0.0000121 0.0000000 1.4879621
0.0000000 0.0000000 1.4879621
0.0000000 0.0000000 #DIV/0!
Funcion
Ecuacion 1 5 x1 5000 x2 = 144.4
Ecuacion 2 5000 x1 7500000 x2 = 141700 5
Dp =
###

144
Dx1 =
##

5
Dx2 =
###
###
= ### - ### = ### x1 = 29.96
# x2 = -0.00108

### 144.4
= ### - ### = ### 141700
#

144
= ### - ### = ###
##
Funcion
Ecuacion 1 1 x1 + 1 x2 + 1 x3 = 1
Ecuacion 2 2 x1 + 3 x2 + -4 x3 = 9 1 1 1
Ecuacion 3 2 x1 + -2 x2 + 2 x3 = -2 Dp = 2 3 -4 = 6+
2 -2 2

1 1 1
D1 = 9 3 -4 = 6+
-2 -2 2

1 1 1
D2 = 2 9 -4 = 18 +
2 -2 2

1 1 1
D3 = 2 3 9= -6 +
2 -2 -2
-4 + -8 - 6- 8- 4 = -24 X1= 1
X2= 1
X3= -1

-18 + 8- -6 - 8- 18 = -24
E1= 1
E2= 9
E23= -2
-4 + -8 - 18 - 8- 4 = -24

-4 + 18 - 6- -18 - -4 = 24
x x1 x2 x3 x4
1 -5 -3 0 3 1er 0.2 (((2)(3)(
y 2 -1 4 6 ((12)(13
y y1 y2 y3 y4 2do 0.33333333
(((1)(3)(4))/((21
3ro 4.26666667

4to 1 (((1)(2)(
((31)(32)
Y(1)= 5.8
(y3)
(((1)(2)(3))/((41

0
(2)(3)(4))/
12)(13)(14))(y1)
4))/((21)(23)(24)))(y2)

(1)(2)(4))/
31)(32)(34)))
3)
3))/((41)(42)(43)))(y4)
x y xy x^2
1 2 2 1
2 4 8 4
3 3 9 9
4 3 12 16
6 5 30 36
8 5 40 64
9 4 36 81
10 6 60 100
43 32 197 311
na0+a1x1=y1
a0x1+a1x^2=xy

8a0+43a1=32
43a0+311a=197
a0=2.3177 a1=0.313
PARA n=4 X Y
n= 4 0 2 I= 17.1252678
Lmite inf. 0 0.75 3.6379080527
Lmite sup. 3 1.5 5.5339859053
2.25 7.6617964604
H= 0.75 3 10

PARA n=8 X Y
n= 8 0 2 I= 17.0813159
Lmite inf. 0 0.375 2.7849343574
Lmite sup. 3 0.75 3.6379080527
1.125 4.5554311678
H= 0.375 1.5 5.5339859053
1.875 6.5703821712
2.25 7.6617964604
2.625 8.8057376537
3 10

PARA n=16 X Y
n= 16 0 2 I= 17.0703288
Lmite inf. 0 0.1875 2.3837728597
Lmite sup. 3 0.375 2.7849343574
0.5625 3.203125
H= 0.1875 0.75 3.6379080527
0.9375 4.088826954
1.125 4.5554311678
1.3125 5.0372877204
1.5 5.5339859053
1.6875 6.0451386396
1.875 6.5703821712
2.0625 7.109375
2.25 7.6617964604
2.4375 8.2273451966
2.625 8.8057376537
2.8125 9.3967066413
3 10

PARA n=32 X Y
n= 32 0 2 I= 17.0675822
Lmite inf. 0 0.09375 2.1896961632
Lmite sup. 3 0.1875 2.3837728597
0.28125 2.5821996683
H= 0.09375 0.375 2.7849343574
0.46875 2.991927412
0.5625 3.203125
0.65625 3.4184709452
0.75 3.6379080527
0.84375 3.8613790027
0.9375 4.088826954
1.03125 4.3201959467
1.125 4.5554311678
1.21875 4.7944791197
1.3125 5.0372877204
1.40625 5.2838063571
1.5 5.5339859053
1.59375 5.7877787249
1.6875 6.0451386396
1.78125 6.3060209053
1.875 6.5703821712
1.96875 6.8381804356
2.0625 7.109375
2.15625 7.3839264206
2.25 7.6617964604
2.34375 7.9429480411
2.4375 8.2273451966
2.53125 8.5149530268
2.625 8.8057376537
2.71875 9.0996661785
2.8125 9.3967066413
2.90625 9.6968279814
3 10
PARA n=64 X Y
n= 64 0 2 I= 17.338197676
Lmite inf. 0 0.046875 2.0942992444
Lmite sup. 3 0.09375 2.1896961632
0.140625 2.2861885022
H= 0.046875 0.1875 2.3837728597
0.234375 2.4824449251
0.28125 2.5821996683
0.328125 2.6830314925
0.375 2.7849343574
0.421875 2.8879018793
0.46875 2.991927412
0.515625 3.0970041135
0.5625 3.203125
0.609375 3.310282991
0.65625 3.4184709452
0.703125 3.5276816915
0.75 3.6379080527
0.796875 3.7491428667
0.84375 3.8613790027
0.890625 3.974609375
0.9375 4.088826954
0.984375 4.2040247752
1.03125 4.3201959467
1.078125 4.4373336546
1.125 4.5554311678
1.171875 4.6744818416
1.21875 4.7944791197
1.265625 4.915416537
1.3125 5.0372877204
1.359375 5.1600863895
1.40625 5.2838063571
1.453125 5.4084415294
1.5 5.5339859053
1.546875 5.6604335762
1.59375 5.7877787249
1.59375 5.7877787249
1.640625 5.916015625
1.6875 6.0451386396
1.734375 6.1751422202
1.78125 6.3060209053
1.828125 6.4377693194
1.875 6.5703821712
1.921875 6.7038542522
1.96875 6.8381804356
2.015625 6.9733556744
2.0625 7.109375
2.109375 7.2462335208
2.15625 7.3839264206
2.203125 7.5224489571
2.25 7.6617964604
2.296875 7.8019643315
2.34375 7.9429480411
2.390625 8.0847431277
2.4375 8.2273451966
2.484375 8.3707499182
2.53125 8.5149530268
2.578125 8.6599503193
2.625 8.8057376537
2.671875 8.9523109479
2.71875 9.0996661785
2.765625 9.2477993796
2.8125 9.3967066413
2.859375 9.5463841089
2.90625 9.6968279814
2.953125 9.8480345106
3 10
Presion Altura P*H P^2
29.9 0 0 0
29.4 500 14700 250000
29 1000 29000 1000000
28.4 1500 42600 2250000
27.7 2000 55400 4000000
144.4 5000 141700 7500000

Altura de 1200= 1200


5a0+5000a1=144.4
5000a0+7500000=141700

29.96
-0.001
Y=29.96-0.001x
P=29.96-0.001H
28.76
PARA n=8 X Y
n= 8 0 2
Lmite inf. 0 0.375 2.78493436
Lmite sup. 3 0.75 3.63790805
1.125 4.55543117
H= 0.375 1.5 5.53398591
1.875 6.57038217
2.25 7.66179646
2.625 8.80573765
3 10
I= 17.0666653
INTERPOLACION Y EXTRAPOLACION (AJUSTE DE FUNCIONES O DE CURVA

METODO DE LAGRANGE (POLINOMIO DE LAGRANGE)

( X X 2)( X X 3)( X X 4).....( X Xn )


Y
( X 1 X 2)( X 1 X 3)( X 1 X 4)......( X 1 Xn
( X X 1)( X X 3)( X X 4)......( X Xn )
(Y
( X 2 X 1)( X 2 X 3)( X 2 X 4)....( X 2 Xn )
( X X 1)( X X 2)( X X 3)........( X X N
......
( Xn X 1)( Xn X 2)( Xn X 3)......( Xn X N
Dados los datos:
x1 x2 x3 x4

x -5 -3 0 3
f(x) 2 -1 4 6
y1 y2 y3 y4
Hallar f(1).

(1 3)(1 0)(1 3)(1 5) (1 5)(1 0)(1 3)(1 5) (1 5)(1 3)(1 3)(1 5) (1


y(1) (2) (1) ( 4)
(5 3)(5 0)(5 3)(5 5) (3 5)(3 0)(3 3)(3 5) (0 5)(0 3)(0 3)(0 5) (3
1er termino 0.08 Y(1) = 5.6
2o termino 0.16666667
3er termino 3.41333333
4o termino 2
5o termino -0.06

( X 3)( X 0)( X 3)( X 5) ( X 5)( X 0)( X 3)( X 5)


y(1) (2)
(5 3)(5 0)(5 3)(5 5) (3 5)(3 0)(3 3)(3 5

F ( X ) 0.00417 x 4 0.07917 x 3 0.2042 x 2 1


F ( X ) 0.00417 x 4 0.07917 x 3 0.2042 x 2 1
x= 5

f(x) = 1
UNCIONES O DE CURVAS)

Consideremos una funcin definida por n pares orde

4).....( X Xn )
(Y 1)
X 4)......( X 1 Xn )
...( X Xn )
(Y 2) ........
....( X 2 Xn )
3)........( X X N 1 )
(Yn )
3)......( Xn X N 1 )

x5

5 x =1
1
y5

(1 5)(1 3)(1 3)(1 5) (1 5)(1 3)(1 0)(1 5) (1 5)(1 3)(1 0)(1 3)


(4) ( 6) (1)
(0 5)(0 3)(0 3)(0 5) (3 5)(3 3)(3 0)(3 5) (5 5)(5 3)(5 0)(5 3)

5)( X 0)( X 3)( X 5) ( X 5)( X 3)( X 3)( X 5) ( X 5)( X 3)(


(1) ( 4)
)(3 0)(3 3)(3 5) (0 5)(0 3)(0 3)(0 5) (3 5)(3 3)(

3
0.2042 x 2 1.879 x 4
3
0.2042 x 2 1.879 x 4
funcin definida por n pares ordenados:

X Y
X1 Y1
X2 Y2
X3 Y3
X4 Y4
. .
. .
Xn Yn

5) ( X 5)( X 3)( X 0)( X 5) (1 5)(1 3)(1 0)(1 3)


( 4) (6) (1)
(3 5)(3 3)(3 0)(3 5) (5 5)(5 3)(5 0)(5 3)
0)(1 3)
(1)
0)(5 3)
METODO DE MINIMOS CUADRADOS

na 0 a1 xi a2 xi2 y i

a0 xi a1 xi2 a x x
2
3
i

a0 x i2 a1 xi3 a x x
2
4
i

RECTA
y a0 a1 x

PARABOLA

y a0 a1 x a2 x 2

Dados los datos:


x1 x2 x3 x4

x -5 -3 0 3
f(x) 2 -1 4 6
y1 y2 y3 y4

Ajustar una recta de minimos cuadrados

na0 a1
x y x2 xy
-5 2 25 -10
-3 -1 9 3
0
3
4
6
0
9
0
18
a0 xi a
5 1 25 5
0 12 68 16
5a0 0
Xi Yi 5a0 0
0a0 6
y 2.4 0.235294 x
x f(x) a0 =
-4 1.459 a1 =
4 3.341

Dados los datos:


x1 x2 x3 x4
x -5 -3 0 3
f(x) 2 -1 4 6
y1 y2 y3 y4
Ajustar una parabola de minimos cuadrados

x y x2 xy x3 x4
-5 2 25 -10 -125 625
-3 -1 9 3 -27 81
0 4 0 0 0 0
3 6 9 18 27 81
5 1 25 5 125 625
0 12 68 16 0 1412
Xi Yi

Por lo tanto la ecuacion de la parabola queda:


y 3.60591132 0.2352941176 x 0.08866

Tabulamos para obtener la parabola

x f(x)
-5 0.21269
-4.5 0.75152
-4 1.24602
-3.5 1.69618
-3 2.102
-2.5 2.46349
-2 2.78064
-1.5 3.05346
-1 3.28195
-0.5 3.4661
0 3.60591
0.5 3.70139
1 3.75254
1.5 3.75935
2 3.72182
2.5 3.63996
3 3.51376 -6 -4 -2

3.5 3.34323
4 3.12837
4.5 2.86917
5 2.56563
y i

x x y
3
i i i

x x y
4
i
2
i i

na 0 a1 xi y i

a 0 xi a1 x x 2
yi n
i i
Sr (
i 1

x f(x)
x5 -5 2
5 -3 -1
1 0 4
y5 3 6
5 1

na 0 a1 x1 yi
a0 xi a1 xi2 xi yi
12
5a0 0a1 12 a0
5
12
5a0 0a1 12 a0
5
0a0 68 a1 16 16
a1
68
2.4
0.2352941

x5
5
1
y5 y a0 a1 x a2 x 2

x2y na 0 a1 xi a2 x
50
-9 a0 xi a1 xi2 a2
0
a0 x i2 a1 xi3 a2
54
25
120 5a0 0 a1 6
8 a2
0 a0 6
8 a1 0 a 2
8 a0 0 a1 1
6 412

bola queda: 5a 0 68a 2 12


68a1 16
5a 0 68a 2 12
176 x 0.088669950 x 2 68a1 16
68a 0 1412a 2 12

a1 0.2352941176

f(x)
7

0
-2 0 2 4 6
-1

-2
Sr
Sy
x n ( m 1)

S y ( y yi ) 2

S y Sr
r 2

Sy
n
Sr (a
i 1
0 a1 xi a2 xi 2 yi ) 2

f(x)
7

0
-6 -4 -2 0 2 4 6
-1

-2

12
a0
5
12
a0
5
16
a1
68

1 x a2 x 2

a2 xi2 y i

i
x 2
a x x y
2
3
i i i

i
x 3
a x x y
2
4
i
2
i i

6
8 a2 1
2
0a2 1
6
1
412 a2 1
20
a 2 12 Despeja,os a0 de EC. 1

6
a 2 12
6 12 68a 2
a0
412a 2 120 5
sust. A0 en EC. 3
12 68a 2
68 1412a 2 120
352941176 5
163.2 924.8a 2 1412a 2 120
(1412 924.8)a 2 120 163.2
487.2a 2 43.2
43.2
a2 0.08866995074
487.2

sust. A2 en EC. 1

5a 0 68( 0.0886699507 4) 12
a 0 3.60591132
6
Funcion Interacciones v (gas ideal)
f(v)= pv^3 -(pb+RT)v^2 +av -ab=0 1 2.73
f'(v)= 36v^2-68.39336v+13.6844 2 #REF!
3 #REF!
4 #VALUE!
5 #VALUE!
6 #VALUE!
7 #VALUE!

f(v)= pv^3 -(pb+RT)v^2 +av -ab=0


f(v)=12v^3 -34.19668v^2 + 13.6844v - 1.5927 = 0
f'(v)=3pv^2 -2(pb+RT) v +a
f'(v)=36v^2 - 68.39v+13.6844
f(u) f(h) dv/dx dv/dy dh/dx dh/dy
-12.29953614 95.2841 #REF! #REF! #REF! -4.45569839
#REF! #REF! #REF!
#REF!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
Gauss seider
Interaccion punto fijo
Newton RHAPSON -
Secante
Cramer
Lagrange
Minimos Cuadrados
Biseccin
Falsa Posicin
Gauss Hordan -

También podría gustarte