You are on page 1of 18

f(V)=pV^3-(pb+RT)V^2+aV-ab=0

R= 0.08205
p= 10 F(v) V
T= 353.15 -18.6726787 2.5
a= 3.599 16.01951317 3
b= 0.04267
Vi= 2.89759575
Va= 2.5
Vb= 3

METODO DE BISECCION
EPS= 0.0001
iter Va Vb Vm f(Va) f(Vb) f(Vm)
0 2.5 3
1 2.5 3 2.75 -18.67267871 16.0195132 -4.6451667
2 2.75 3 2.875 -4.615237754 16.0195132 4.79893352
3 2.75 2.875 2.8125 -11.73558672 4.79893352 -0.1378523
4 2.8125 2.875 2.84375 -7.484282959 4.79893352 2.27594116
5 2.8125 2.84375 2.828125 0.015717041 2.27594116 1.05550901
6 2.828125 2.84375 2.8359375 1.2090783429 2.27594116 1.66232693
7 2.8359375 2.84375 2.83984375 1.815896256 2.27594116 1.96828271
8 2.83984375 2.84375 2.841796875 #VALUE! 2.27594116 2.12189888

METEDO DE NEWTON RAPSON


eps=
F(x)=x^3+2x^2+10x-20 it Xº F(xº) F'(xº) X1
1 1.5
F'(x)=3x^2+4x+10 2 1.5 2.875 22.75 1.37362637
3 1.373626374 0.1017886835 21.1550537 1.36881482
Xº=(a+b)/2 4 1.36881482 0.0001415934 21.0962213 1.36880811
5 solucion x1 #VALUE! #VALUE! #VALUE!
X1=Xº-F(xº)/F'(xº)

a= 1
b= 2

METODO DE LA SECANTE
f(V)=pV^3-(pb+RT)V^2+aV-ab=0 IT Vi-1 Vi F(Vi-1)
R= 0.08205 1 2.5 3 -18.672679
p= 10 2 3 2.76911933 16.0195132
T= 353.15 3 2.7691193277 2.80866594 -3.3110539
a= 3.599 4 2.8086659356 2.81451425 -0.4265693
b= 0.04267 5 2.8145142485 2.81432232 0.01447426
Vi= 2.89759575 6 solucion Vi solucio Vi+1 #VALUE!
Va= 2.5
Vb= 3

METODO DE NEWTON-RAPSON DE 2º

f(x)=Lnx-x+2 IT Xo F(Xo) F'(Xo) F''(Xo)


Xo= 3 0 3
F'(x)=1/x-1 1 3 0.0986122887 -0.6666667 -0.1111111
F''(x)=-1/x^2 2 3.146138722 3.717606E-05 -0.6821501 -0.1010286
3 3.146193221 1.776357E-15 -0.6821556 -0.1010251
4 SOLUCION X- #VALUE! #VALUE! #VALUE!

METODO DE PUNTO FIJO


EPS= 0.01
F(X)=X^3+2X^2+10x-20 IT Xo Xi F(Xi)
0 1
Xi=20/(X^2+2X+10) 1 1 1.53846154 3.75967228
2 1.5384615385 1.29501916 -1.5238154
X'i=(-20(2X+2))/(X^2+2X+10)^2 3 1.2950191571 1.40182531 0.70322831
4 1.4018253094 1.35420939 -0.3066783
Xo= 1 5 1.3542093904 1.37529809 0.1371711
X'i< -0.4733728 6 1.3752980925 1.36592979 -0.0606709
7 1.3659297882 1.370086 0.02696864
8 1.3700860034 1.36824102 -0.0119613
9 1.3682410236 1.36905981 0.00531037
10 SOLUCION Xi #VALUE! #VALUE!

METODO DE GAUSS-SGIDE(PUNTO FIJO)


RESOLVER
20X+2Y+6Z=38 IT X0 Y0 Z0 X1
X+20Y+9Z=-23 1 0 0 0 1.9
2X-7Y-20Z=-57 2 1.9 -1.245 3.47575 0.981775
X0 = 0; Y0 = 0; Z0=0 3 0.981775 -2.76317625 3.91528919 1.00173087
4 1.001730869 -2.961966678 3.98686142 1.00013824
X1=(38-2Y0-6Z0)/20 5 1.000138241 -2.994094553 3.99794692 1.00002538
Y1=(-23-X1-9Z0)/20 6 1.00002538 -2.999077382 3.99967962 1.00000385
Z1=(57+2X1-7Y1)/20 7 SOLCION X1 SOLUCION Y1 SOLUCION Z1 #VALUE!
DV=RAIZ((X1-X0)^2+(Y1-Y0)^2+(Z1-Z0)^2)

METODO DE RESUCCION DE GAUSS

1 DESARROLLO DE BALANCE DE MATERIAY ENERGIA

DATOS n mol/min A B C D
n aliment. 70 mo/min alimentacion
xileno 0.15 mol de X/mol 10.5
estireno 0.25 mol de E/mol 17.5
tulueno 0.4 mol de T/mol 28
benceno 0.2 mol de B/mol 14

n alimentado 70mol/min A

0.15 10.5 D
0.25 17.5
0.4 28 FACTOR -0.5714286
0.2 14 FACTOR -7.7142857
FACTOR -5
E

B
F 7.0625
5.39583333

-0.8966909
COMPON
SOLUCION A=
B=
C=
D=
E=
F=

2 CALCULAR LA CANTIDAD DE ALIMENTO Y EL COSTO TOTAL


ALI/INGR maiz desperdicio alafalfa cebada req.diario
carbuhidrato 80 15 35 60 230
proteina 28 72 57 25 180
vitamina 20 20 12 20 80
celulosa 50 10 20 60 160
costo 18 5 7 20
0.0000001
F(x1)

0.10178868
0.00014159
2.7508E-10
#VALUE!

EPS= 0.00000001
F(Vi) Vi+1 F(Vi+1)
16.0195132 2.76911933 -3.311053932
-3.3110539 2.80866594 -0.426569297
-0.4265693 2.81451425 0.014474261
0.01447426 2.81432232 -0.00005968
-5.968E-05 2.81432311 -8.28972E-09
#VALUE! #VALUE! #VALUE!

EPS= 1.00E-15
X- X+ F(X-) F(X+)

3.14613872 -9.1461387 3.717606E-05 Err:502


3.14619322 -10.358016 0 Err:502
3.14619322 -10.358484 0 Err:502
#VALUE! #VALUE! #VALUE! #VALUE!

EPS= 0.001
Y1 Z1 DV
-1.245 3.47575 4.152211828
-2.7631763 3.91528919 1.827892495
-2.9619667 3.98686142 0.212222657
-2.9940946 3.99794692 0.034023888
-2.9990774 3.99967962 0.005276702
-2.999856 3.99994999 0.000824527
#VALUE! #VALUE! #VALUE!

E F

LA ECUACION ES
0.07 0.18 0.15 0.24 10.5 C
0.04 0.24 0.1 0.65 17.5 D
0.54 0.42 0.54 0.1 28 E
0.35 0.16 0.21 0.01 14 F

0.07 0.18 0.15 0.24 10.5 C


0 0.13714286 0.014285714 0.51285714 11.5 D
0 -0.9685714 -0.617142857 -1.7514286 -53 E
0 -0.74 -0.54 -1.19 -38.5 F

0.13714286 0.014285714 0.51285714 11.5


0 -0.51625 1.870625 28.21875
0 -0.462916667 1.57729167 23.5520833

0 -0.1000807 -1.7514124
MOL/MIN
43.75
26.25
26.25
17.5
8.75
17.5
70
Problema 1

3 H2o 2
0.002 HcL
0.998 Aire

m3= 1684.32

0.43 -0.002 955.68

0.56 -0.998 0

0.43 -0.002 955.68


factor -1.3023256 0 -0.995395349 -1244.6065

m4 2640 Kg/h
0.638 H2O m2= 1250.364002
0.362 HCL m1= 2228.327274
4 1 m2= 1272.647274
0.43 HcL
0.56 Aire

problema 3 metoso trapezoidal


n x y f(x) factor factor*f(xi)
0 0.2 0.573 2.68096515 0.5 1.340482574
1 0.19 0.566 2.65957447 1 2.659574468
2 0.18 0.55 2.7027027 1 2.702702703
3 0.17 0.542 2.68817204 1 2.688172043
4 0.16 0.53 2.7027027 1 2.702702703
5 0.15 0.517 2.72479564 1 2.72479564
6 0.14 0.5 2.77777778 1 2.777777778
7 0.13 0.48 2.85714286 1 2.857142857
8 0.12 0.46 2.94117647 1 2.941176471
9 0.11 0.44 3.03030303 1 3.03030303
10 0.1 0.418 3.14465409 0.5 1.572327044
suma= 27.99715731

h= 0.01

I= 0.27997157 w= 75.58052263 mol


YA= 0.509509174
metodo simpsom 1/3

n x y f(x) factor factor*f(xi)


0 0.2 0.573 2.68096515 1 2.680965147
1 0.19 0.566 2.65957447 4 10.63829787
2 0.18 0.55 2.7027027 2 5.405405405
3 0.17 0.542 2.68817204 4 10.75268817
4 0.16 0.53 2.7027027 2 5.405405405
5 0.15 0.517 2.72479564 4 10.89918256
6 0.14 0.5 2.77777778 2 5.555555556
7 0.13 0.48 2.85714286 4 11.42857143
8 0.12 0.46 2.94117647 2 5.882352941
9 0.11 0.44 3.03030303 4 12.12121212
10 0.1 0.418 3.14465409 1 3.144654088
suma= 83.9142907
h= 0.01
I= 0.2797143
w= 75.5999698 mol
YA= 0.50983556

problema 4
metoso trapezoidal
n x f(x) factor factor*F(x)
0 0 0.00034931 0.5 0.00017465
1 13.75 0.00036624 1 0.00036624
2 27.5 0.00038352 1 0.00038352
3 41.25 0.00040123 1 0.00040123
4 55 0.00041947 1 0.00041947
5 68.75 0.00043834 1 0.00043834
6 82.5 0.00045794 1 0.00045794
7 96.25 0.00047837 1 0.00047837
8 110 0.00049976 1 0.00049976
9 123.75 0.00052224 1 0.00052224
10 137.5 0.00054594 1 0.00054594
11 151.25 0.00057103 1 0.00057103
12 165 0.00059769 1 0.00059769
13 178.75 0.00062612 1 0.00062612
14 192.5 0.00065657 1 0.00065657
15 206.25 0.0006893 1 0.0006893
16 220 0.00033263 0.5 0.00016632
suma= 0.00799473

h= 13.75

I= 0.10992753 L= 1.354795596
metodo simpsom 1/3

n x f(x) factor factor*f(x)


0 0 0.00033971 1 0.00033971
1 13.75 0.00035596 4 0.00142384
2 27.5 0.00037251 2 0.00074503
3 41.25 0.00038945 4 0.00155781
4 55 0.00040686 2 0.00081372
5 68.75 0.00042483 4 0.00169933
6 82.5 0.00044345 2 0.00088691
7 96.25 0.00046283 4 0.00185132
8 110 0.00048306 2 0.00096613
9 123.75 0.00050427 4 0.00201709
10 137.5 0.00052659 2 0.00105317
11 151.25 0.00055014 4 0.00220057
12 165 0.0005751 2 0.00115021
13 178.75 0.00060165 4 0.0024066
14 192.5 0.00062999 2 0.00125997
15 206.25 0.00066035 4 0.00264139
16 220 0.00057745 2 0.0011549
17 233.75 0.00060406 4 0.00241625
18 247.5 0.00063309 1 0.00063309
SUMA 0.02721704

problema 5 h= 13.75
I= 0.12474476
L= 1.5374097 Ft

metodo de Newton rapson -jacoviana eps= 0.0001 factor= 15.2692308


IT Xo Y0 X1 Y1 Dv
0 1.98 0.98 -0.5205475 -0.5219935 2.91697145 0
1 -0.5205475 -0.5219935 12.6728905 13.5125632 19.2622841 0
2 12.6728905 13.5125632 5.87400978 6.47449513 9.78566198 0
3 5.87400978 6.47449513 2.20677829 2.81022667 5.18415375 0
4 2.20677829 2.81022667 2.20677829 -0.8570048 3.66723149 0
5 2.20677829 -0.8570048 2.20677829 -0.8570048 0 SOLUCION

factor= 0.14512517
factor= -3.9338545

factor= -5.8156409

factor= 6.82077732
13.75
-1.04 10.92 -13.8012
15.88 -3.96 -33.7608

0 162.78 -244.49451

Δy= -1.5019935
Δx= -2.5005475

-6.041095 4.91202586 -10.764707


0.87671496 -2 -16.502229

0 -1.2871414 -18.064459
Δy= 14.0345567
Δx= 13.193438

20.345781 61.0502527 -568.00437


80.0373429 -29.025126 -339.88353

0 -269.18794 1894.56304

Δy= -7.038068
Δx= -6.7988807

6.74801956 32.8979805 -145.29358


39.2440587 -14.94899 -89.139934

0 -206.27183 755.835367

Δy= -3.6642685
Δx= -3.6672315

-0.5864434 18.2409067 -4.835979


4 -2 -17

0 122.417162 -49.985136

Δy= -0.408318
Δx= -4.454159
problema 2

problema 3

n z F(z) factor factor*F(z)


0 0 #DIV/0! 1
1 0.2 0.19735103 4 0.78940413
2 0.4 0.19473715 2 0.3894743
3 0.6 0.19215789 4 0.76863155
4 0.8 0.18961279 2 0.37922558
5 1 0.1871014 4 0.74840559
6 1.2 0.18462327 2 0.36924654
7 1.4 0.18217796 4 0.72871186
8 1.6 0.17976505 2 0.35953009
9 1.8 0.17738409 4 0.70953635
10 2 0.17503466 2 0.35006933
11 2.2 0.17271636 4 0.69086543
12 2.4 0.17042876 2 0.34085752
13 2.6 0.16817146 4 0.67268583
14 2.8 0.16594405 2 0.33188811
15 3 0.16374615 4 0.6549846
16 3.2 0.16157736 2 0.32315472
17 3.4 0.15943729 4 0.63774917
18 3.6 0.15732557 2 0.31465114
19 3.8 0.15524182 4 0.62096728
20 4 0.15318567 1 0.15318567
10.3332248
h= 0.2
I= 0.68888165
F= 137.77633

problema 4

metodo de punto fijo eps= 0.001


it X0 Y0 X1 Y1 Dv
0 -1.8 2.1
1 -1.8 2.1 3.79105715 2.05912603 5.59120655
2 3.79105715 2.05912603 3.80682241 3.9207288 1.86166952
3 3.80682241 3.9207288 1.68508634 3.93597471 2.12179084
4 1.68508634 3.93597471 1.61648401 1.95946829 1.97769661
5 1.61648401 1.95946829 3.84243216 1.90079471 2.22672131
6 3.84243216 1.90079471 3.86156756 3.97042629 2.06972004
7 3.86156756 3.97042629 1.42019954 3.98894773 2.44143827
8 1.42019954 3.98894773 1.25727701 1.73694178 2.25789162
1.25727701 1.73694178 3.90807786 1.60646988 2.6540098

problema 5

.Nu 97.45 129.9 153.44 177.65


Re 10500 15220 21050 28560
Pr 18.2 16.8 12.1 8.7
u/Uw 0.85 0.96 1.08 1.18

metodo para punto fijo


it a0 b0 c0 d0 a1 b1 c1
0
1 0.9 0.9 0.9 0.9 0.00199145 0.25644138 -1.5601542
2 0.00199145 0.25644138 -1.5601542 -35.61986 2.56684877 4.97393951 148.656459
3 Err:502 Err:502 Err:502 Err:502 Err:502 Err:502 Err:502
4 Err:502 Err:502 Err:502 Err:502 Err:502 Err:502 Err:502
5

48934.1052
315099.512
78616.7531
78616.7531
metodo de punto fijo eps= 0.001
X0 Y0 Z0 X1 Y1 Z1 Dv

0.7811 0.4911 0.3291 0.74015285 0.41682498 0.315738 0.0858603

eps= 0.001
d1 Dv

-35.61986 36.6192994
Err:502 Err:502
Err:502 Err:502
Err:502 Err:502