Вы находитесь на странице: 1из 19

x y

0 10
0.5 4.207879
1 -2.524058
1.5 -4.676393
2 -2.40462 MTODO GRFICO
2.5 0.812706 12
3 2.142429 10
3.5 1.310086 8
4 -0.196913 6
4.5 -0.960324 4

EJE Y
5 -0.688752 2
5.5 0.002829
0
6 0.42013 0 2 4 6 8
-2
6.5 0.351855
-4
7 0.041291
-6
7.5 -0.178661
EJE X
8 -0.175401
8.5 -0.03925
9 0.073355
9.5 0.08554
10 0.027496
25_5^6 =10*(-
/2)*(2*)

MTODO GRFICO

4 6 8 10 12

EJE X
ITERACCION a b m f(a) f(m) f(a)*f(m)
0 0 1 0.5 6 0.207879 1.247272
1 0.5 1 0.75 0.207879 -3.513831 -0.73045
2 0.5 0.75 0.625 0.207879 -1.693052 -0.351949
3 0.5 0.625 0.5625 0.207879 -0.745309 -0.154934
4 0.5 0.5625 0.53125 0.207879 -0.268421 -0.055799
5 0.5 0.53125 0.515625 0.207879 -0.030072 -0.006251
6 0.5 0.515625 0.507813 0.207879 0.088969 0.018495
7 0.507813 0.515625 0.511719 0.088969 0.029463 0.002621
8 0.511719 0.515625 0.513672 0.029463 -0.000301 -8.88E-06
9 0.511719 0.513672 0.512695 0.029463 0.014581 0.00043
10 0.512695 0.513672 0.513184 0.014581 0.00714 0.000104
11 0.513184 0.513672 0.513428 0.00714 0.003419 2.442E-05
12 0.513428 0.513672 0.51355 0.003419 0.001559 5.331E-06
13 0.51355 0.513672 0.513611 0.001559 0.000629 9.802E-07
14 0.513611 0.513672 0.513641 0.000629 0.000164 1.029E-07
15 0.513641 0.513672 0.513657 0.000164 -6.89E-05 -1.13E-08
16 0.513641 0.513657 0.513649 0.000164 4.737E-05 7.752E-09
17 0.513649 0.513657 0.513653 4.737E-05 -1.08E-05 -5.1E-10
error
0.5
0.125
0.03125
0.007813
0.001953
0.000488
0.000122
3.052E-05
7.629E-06
1.907E-06
4.768E-07
1.192E-07
2.98E-08
7.451E-09
1.863E-09
4.657E-10
1.164E-10
2.91E-11
ITERACCIN Xn f(Xn) ERROR
0 0 6 1
1 1 -6.524058 -0.520922
2 0.479078 0.52543 0.038827
3 0.517905 -0.064827 -0.004264
4 0.51364 0.00018 1.178E-05
5 0.513652 4.171E-08 2.736E-09
6 0.513652 -2.89E-14 -1.89E-15
7 0.513652 0 0
8 0.513652 0 -0.513652
MTODO BISECCIN
Si y=800 encontrar el valor de x para la siguiente ecuacin: y=10000e^x/1000+10(e^x-1)

Solucin: se toma la ecuacin y se iguala a 0 quedando el 800 restando la ecuacin as:


0=(10000e^x/1000+10(e^x-1))-800
ITERACCION a b m f(a) f(m) f(a)*f(m)
0 0 10 5 -790 -200.1404 158110.9
1 5 10 7.5 -200.1404 148.0872 -29638.22
2 5 7.5 6.25 -200.1404 39.54953 -7915.458
3 5 6.25 5.625 -200.1404 -63.10734 12630.33
4 5.625 6.25 5.9375 -63.10734 -7.118916 449.2559
5 5.9375 6.25 6.09375 -7.118916 17.37008 -123.6561
6 5.9375 6.09375 6.015625 -7.118916 5.417596 -38.56741
7 5.9375 6.015625 5.976563 -7.118916 -0.777404 5.534273
8 5.976563 6.015625 5.996094 -0.777404 2.338386 -1.81787
9 5.976563 5.996094 5.986328 -0.777404 0.785067 -0.610314
10 5.976563 5.986328 5.981445 -0.777404 0.004976 -0.003868
11 5.976563 5.981445 5.979004 -0.777404 -0.385928 0.300022
12 5.979004 5.981445 5.980225 -0.385928 -0.190404 0.073482
13 5.980225 5.981445 5.980835 -0.190404 -0.092696 0.01765
14 5.980835 5.981445 5.98114 -0.092696 -0.043856 0.004065
15 5.98114 5.981445 5.981293 -0.043856 -0.019439 0.000852
16 5.981293 5.981445 5.981369 -0.019439 -0.007231 0.000141
17 5.981369 5.981445 5.981407 -0.007231 -0.001127 8.152E-06
18 5.981407 5.981445 5.981426 -0.001127 0.001924 -2.17E-06
19 5.981407 5.981426 5.981417 -0.001127 0.000399 -4.49E-07
20 5.981407 5.981417 5.981412 -0.001127 -0.000364 4.108E-07
21 5.981412 5.981417 5.981414 -0.000364 1.709E-05 -6.23E-09
MTODO SECANTE
x/1000+10(e^x-1) La presin de vapor del benceno se puede encontrar con la siguiente ecuacin:

la ecuacin as:
log10Pvap= A-(B/(T+C)) [PVAP]=bar
[T]= C
error Donde:
5
A que temperatura la presin de vapo
1.25 A 3.98523 bar? Usar mtodo secante
0.3125 B 1184.24 SOLUCIN: Se despeja el logaritmo re
0.078125 C 217.572 ecuacin.
0.019531
0.004883 ITERACCIN Xn f(Xn) ERROR
0.001221 0 0 -1.499142 1
0.000305 1 1 -1.47424 59.20059
7.629E-05 2 60.20059 -0.319506 16.38037
1.907E-05 3 76.58096 -0.082095 5.664239
4.768E-06 4 82.24519 -0.006036 0.449526
1.192E-06 5 82.69472 -0.000123 0.009343
2.98E-07 6 82.70406 -1.88E-07 1.43E-05
7.451E-08 7 82.70408 -5.85E-12 4.456E-10
1.863E-08 8 82.70408 2.914E-16 0
4.657E-09 9 82.70408 -5.97E-16 0
1.164E-09 10 82.70408 2.914E-16 -82.70408
2.91E-10
7.276E-11
1.819E-11
4.547E-12
1.137E-12
DO SECANTE

ar con la siguiente ecuacin:

mperatura la presin de vapor del benceno es 1,1


r mtodo secante
N: Se despeja el logaritmo restndolo a la

PVAP 1.1
MTODO NEWTON RAPHSON

Una mezcla benceno-tolueno encontrar el punto de burbuja a presin atmosfrica y un


50 la mezcla es ideal y sigue la ley de Raul.

P=PvapBEN*XBEN+PvapTOL*XTOL F(T)=Pcal-Preal

LnP= A-(B/T+C) F(T)=(PvapBEN*X+PvapTOL*X)-101,325

F(T)=XBEN*e^(A-B/T+C)+XTOL*e^(A-B/T+C)-101,325

F'(T)=XBEN*PvapBEN*(B/(T+C^2))+XTOL*PvapTOL*(B/(T+C^2))

Tn+1=Tn-F(T)/F'(T)

ITERACCIN TN PVapBen PvapTol F(T)


0 25 12.6880459397 3.7904092033 -93.0857724285
1 262.2144308149 3289.5863053564 1922.15490027 2504.54560281
2 184.5391962793 1097.3640759129 561.564489028 728.13928247
3 134.529830416 418.8534345819 190.808983761 203.506209171
4 105.2821598453 207.6700003274 86.9215900488 45.9707951881
5 93.7622010537 151.9321510904 61.2380829953 5.2601170429
6 92.0667124448 144.8176431198 58.0336061641 0.1006246419
7 92.0329938278 144.6788158927 57.9712622867 3.9089703E-05
8 92.0330069366 144.678869845 57.9712865139 7.8179413E-05
N RAPHSON
BENCENO TOLUENO
presin atmosfrica y una composicin molar 50- A 13.7819 13.932
B 2726.81 3056.96
C 217.572 217.625

PRESIN (Kpa) 101.325


Xtol 0.5
Xben 0.5
C^2))

F'(T)
0.3924119292
32.243811271
14.560058299
6.9580313646
3.9905346903
3.1024195711
2.984245818
2.981927441
2.981928342
MTODOS PARA ENCONT

DERIVADA PROGRESIVA : dx/dy= x(i+1)-x(i)


y(i+1)-y(i)

DERIVADA REGRESIVA : dx/dy= x(i)-x(i-1)


y(i)-y(i-1)

DERIVADA CENTRADA : dx/dy= x(i+1)-x(i-1)


y(i+1)-y(i-1)

DERIVADA PROGRESIVA : df/dx= F(x+DELTAx)-f(x)


DELTAx

y x dx/dy PROGRESIVA REGRESIVA CENTRAL


1 2.718282 -5.436563657
1.1 2.285183 -3.433784213 -2.825871824 -4.3309843466 -3.5784280853
1.2 2.002596 -2.317819689 -1.955095371 -2.825871824 -2.3904835973
1.3 1.807087 -1.645049317 -1.414555894 -1.9550953706 -1.6848256321
1.4 1.665631 -1.214016826 -1.060075874 -1.4145558936 -1.2373158836
1.5 1.559623 -0.924221332 -0.817193022 -1.0600758737 -0.9386344478
1.6 1.477904 -0.721632908 -0.644722353 -0.817193022 -0.7309576874
1.7 1.413432 -0.575384474 -0.518571543 -0.6447223529 -0.5816469479
1.8 1.361575 -0.466932375 -0.423974721 -0.5185715429 -0.4712731322
1.9 1.319177 -0.384655878 -0.35151917 -0.4239747215 -0.3877469457
2 1.284025 -0.321006354 -0.3515191699
DOS PARA ENCONTRAR NUMRICAMENTE UNA DERIVADA

x=e^(1/y^2)

dx/dy= e^(1/y^2)*(-2y^-3)<-----DERIVADA ANALTICA,


PERFECTA.

TRES PUNTOS PROTRES PUNTOS CENTRAL %ERROR PROGRESIVA


-5.083540608 6.4934960987
-3.2612600508 5.0243157871
-2.2253651091 -2.3101025102 3.9888598936
-1.5917959035 -1.6418009293 3.2371925014
-1.1815172995 -1.2125111648 2.6770243682
-0.9034283565 -0.9234670019 2.2497831119
-0.7077977579 -0.7212300173 1.9172005417
-0.5658699536 -0.5751574606 1.6535934972
-0.4602024972 -0.4667985273 1.4412960501
DIFERENCIACION NUMERICA CON ECUACIONE
dx/dy PROGRESIVA
CENTRAL Polynomi a l (CENTRAL)
ERIVADA ANALTICA,
0
1 1.1 1.2 1.3 1.4 1.5 1.6

R = 0.9999998747

-1

-2

%ERROR CENTRAL
-3

0.3329499251
0.1974644356 -4
0.1240230705
0.0816178967
0.055830413 -5
0.0394541893
0.0286653474

-6
ON ECUACIONES DE SEGUNDO ORDEN
PROGRESIVA REGRESIVA
Polynomi a l (CENTRAL)

1.5 1.6 1.7 1.8 1.9 2


MTODO TRAPECIO

Integral entre a y b =((b-a)/2)*(f(a)+f(b))

Integrar entre 0 y 1 f(x)=x(cos(x)^2)

INTERVALO F(X)
0 0
1 0.2919265817

INTERVALO F(X)
0 0
0.1 0.0990033289
0.2 0.1921060994
0.3 0.2738003422
0.4 0.3393413419
0.5 0.3850755765
0.6 0.4087073263
0.7 0.4094885
0.8 0.3883201911
0.9 0.3477590574
1 0.2919265817
REA TOTAL
RAPECIO

INTERVALO F(X)
0 0
0.05 0.0498751041
0.1 0.0990033289
0.15 0.1466502367
0.2 0.1921060994
0.25 0.2346978202
TRAPECIO 0.3 0.2738003422
0 0.35 0.3088473828
0.1459632909 0.4 0.3393413419
0.45 0.3648622429
0.5 0.3850755765
TRAPECIO 0.55 0.3997389334
0 0.6 0.4087073263
0.0049501664 0.65 0.4119371193
0.0145554714 0.7 0.4094885
0.0232953221 0.75 0.4015264506
0.0306570842 0.8 0.3883201911
0.0362208459 0.85 0.3702410899
0.0396891451 0.9 0.3477590574
0.0409097913 0.95 0.3214374557
0.0398904346 1 0.2919265817
0.0368039624 AREA TOTAL
0.031984282
0.2989565055
TRAPECIO
0
0.0012468776
0.0037219608
0.0061413391
0.0084689084
0.010670098
0.0127124541
0.0145661931
0.0162047181
0.0176050896
0.0187484455
0.0196203627
0.0202111565
0.0205161111
0.0205356405
0.0202753738
0.019746166
0.018964032
0.0179500037
0.0167299128
0.0153341009
0.2999689445
MTODO SIMPSON

INTEGRAL ENTRE B Y A F(X)=((b-a)/6)*(f(a)+4*f((a+b)/2)+f(b)

f(x)=x(cos(x)^2)

INTERVALO F(X) A+B/2 F(A+B/2)


0 0 0 0
1 0.29192658 0.5 0.3850755765

INTERVALO F(X) A+B/2 F(A+B/2)


0 0 0 0
0.5 0.38507558 0.25 0.2346978202
1 0.29192658 0.75 0.4015264506
REA TOTAL

INTERVALO F(X) A+B/2 F(A+B/2)


0 0 0 0
0.2 0.1921061 0.1 0.0990033289
0.4 0.33934134 0.3 0.2738003422
0.6 0.40870733 0.5 0.3850755765
0.8 0.38832019 0.7 0.4094885
1 0.29192658 0.9 0.3477590574
REA TOTAL
TODO SIMPSON

2)+f(b)

SIMPSON
0
0.30537148
SIMPSON
SIMPSON SIMPSON
0 0.09
0.11032224 0.08
0.190259 0.07
0.30058123 0.06
0.05
SIMPSON 0.04
0 0.03
0.01960398 0.02
0.05422163 0.01
0.07627837 0
0 0.2 0.4 0.6 0.8 1
0.08116605
0.06904277
0.30031279