Vous êtes sur la page 1sur 10

RADIANES

0.20943951

sen 0.207911691

cos 0.978147601

180

sen 0

cos -1

sen 0

cos 1

-0.371222349

sen -0.362754791

cos 0.931884629

cos= -0.07542096

cos= 0.83609975

sen + 0.91152071

cos + -0.19374971

cos -0.354827728

cos -0.548577437

MAXIMO

cos= 1

0= ---------

cos 0.83609975

sen-1 -0.548577437
cuando n=88 f(X)
2 -0.63912604
4 0.2511006
6 0.4301366
8 -0.60910057
10 0.07681395
12 0.54516881
14 -0.5305545
16 -0.10359165
18 0.61677318
20 -0.40974476
22 -0.2757452
24 0.63924575
26 -0.25629499
28 -0.42593305
30 0.61079637
32 -0.08242891
34 -0.54219132
36 0.53369131
38 0.09800342

grafico dela funcion


0.8

0.6

0.4

0.2

0
0 10 20 30 40 50
-0.2

-0.4

-0.6

-0.8
METODO DEL SECANTE

Cuando n=88

sen= 0.96058002 ; cos= -0.27800365

i xo x1 f(xo) f(x1) g(X) d


0 0 1 0.28084 -0.33156072 0.45858862 1
1 1 0.45858862 -0.33156072 -0.00243206 0.45458791 0.54141138
2 0.45858862 0.45458791 -0.00243206 0.00012572 0.45478456 0.00400071
3 0.45458791 0.45478456 0.00012572 -2.8755E-10 0.45478456 0.00019665
4 0.45478456 0.45478456 -2.8755E-10 0 0.45478456 4.4976E-10

Cuando n=360

sen= 0.21181155 cos= 0.97731053

xo x1 f(xo) f(x1) g(X) d


0 1 0.93841043 0.68108625 3.64680232 1
1 3.64680232 0.68108625 -0.9212927 2.12501519 2.64680232
3.64680232 2.12501519 -0.9212927 -0.31797627 1.32296148 1.52178712
2.12501519 1.32296148 -0.31797627 0.4307302 1.78438231 0.80205372
1.32296148 1.78438231 0.4307302 0.00324198 1.78788162 0.46142083
1.78438231 1.78788162 0.00324198 -0.00012064 1.78775608 0.00349931
1.78788162 1.78775608 -0.00012064 2.2035E-10 1.78775608 0.00012555
1.78775608 1.78775608 2.2035E-10 0 1.78775608 2.2931E-10

METODO MULLER

Cuando n=88
xi f(x) h a b c d

4.5 - 10.7526298 0.1


0.38036869

4.7 0.69489428 0.68319822 0.1

4.8 0.7632141 0.61204377 0.0872708 - - 7.63214E-01 0.1


50.3471577 4.35151755

5.087270803 0.81662765 0.84403035 -0.8903648 - 0.5788848 8.16628E-01 0.0872708


0.37995485

4.196906005 0.06513274 0.99920892 - - 1.1012265 6.51327E-02 -0.8903648


0.05825543 0.28886604

4.138650577 0.0069234 0.99999193 -0.0068558 - 1.00873854 6.92340E-03 -0.05825543


0.16358345

4.131794774 6.7654E-05 1 -6.7649E-05 - 1.00007438 6.76538E-05 -0.0068558


0.01202575

4.131727125 5.0867E-09 1 -5.0867E-09 - 1.00000008 5.08668E-09 -6.7649E-05


0.00116518

4.13172712 0 0 -3.8352E-05 1 0.00000E+00 -5.0867E-09

Cuando n=360

i xi f(x) h a b c

0 1 -0.01130119 0.10027201 0.1

1 1.1 -0.00127399 -0.09898085 0.3

2 1.4 -0.03096825 -0.1255733 -0.24658053 -0.49813215 -0.2484205 -3.09682E-02

3 1.15 -4.3179E-06 -0.49780435 -0.00282443 -4.31788E-06


METODO STEFFESEN

Cuando n=88

1 xo f(x) x' d(x')


2 1 -0.91418901
3 -0.91418901 -1.10815686
4 -1.10815686 -0.7132304 -1.1300282 0.05344693
5 -1.1300282 -0.67568729 -1.13280777 0.05437991
6 -1.13280777 -0.67097 -1.13321245 0.0545157
7 -1.13321245 -0.67028417 -1.13328141 0.05453884
8 -1.13328141 -0.67016733 -1.13329557 0.0545436
9 -1.13329557 -0.67014333 -1.13329923 0.05454482
10 -1.13329923 -0.67013713 -1.13330051 0.05454525
11 -1.13330051 -0.67013497 -1.13330119 0.05454548

Cuando n=360

i xo f(xo) x' d(x')


0 1 -0.41686851
1 -0.41686851 -0.75490107
2 -0.75490107 -0.57735895 -0.86081709 -0.33798477
3 -0.57735895 -0.67888067 -0.63849695 0.00722321
4 -0.67888067 -0.62270571 -0.64194769 0.00182343
5 -0.62270571 -0.65446516 -0.64271645 0.00062046
6 -0.65446516 -0.63670484 -0.64299454 0.00018529
7 -0.63670484 -0.6467011 -0.6430746 6.0009E-05
8 -0.6467011 -0.64109458 -0.64310105 1.8623E-05
9 -0.64109458 -0.6442454 -0.64310916 5.9245E-06
10 -0.6442454 -0.64247664 -0.64311176 1.8592E-06
11 -0.64247664 -0.64347019 -0.64311257 5.8799E-07
METODO NEWTON RAPSON

Cuando n=88

i xi g(x) total
0 1 3.35628014
1 3.35628014 0.88104827 2.47523186
2 0.88104827 4.32737506 3.44632679
3 4.32737506 5.83017291 1.50279785
4 5.83017291 5.25874667 0.57142624
5 5.25874667 5.31107624 0.05232957
6 5.31107624 5.31102855 4.7688E-05
7 5.31102855 5.31102855 3.5527E-14

Cuando n=360

i xi g(x) total
0 1 14.8041125
1 14.8041125 15.0709117 0.2667992
2 15.0709117 15.0648345 0.00607719
3 15.0648345 15.0648346 1.4567E-07
4 15.0648346 15.0648346 1.7124E-12

clear,clc
syms x
format short
f=input('ingrese f(x)=','S');
ezplot(f), grid on
f1=diff(f,x);
e=input('ingrese error=');
m=1;
d=1;
x1(m)=1;
while d>e
x=x1(m);
x1(m+1)=x1(m)-eval(f)/eval(f1);
d(m+1)=abs(x1(m+1)-x1(m));
m=m+1;
x=x1(m);
ft(m+1)=eval(f);
end
disp(' i x d f(x)');
for p=1:m
fprintf('%2.0f %1f %2.7f %2.7f\n',p-
1,real(x1(p)),d(p),ft(p));
Se tiene un sistema de tres reactores continuos tipo tanque, perfectamente agitado, trabajando en serie, en
donde se lleva a cabo la reaccin

AProductos y se opera isotrmicamente. Los volmenes se mantienen constantes y son de 100, 50 y


50 litros respectivamente.

Un balance de materia en cada reactor, de acuerdo a la ecuacin de la continuidad, conduce el


siguiente sistema de ecuaciones

Entrada Salida Formacin Acumulacin


dC A1
( FC A0 FRC A3 ) ( F FR )C A1 k1V1C An1
dt
dC A2
( F FR )C A1 ( F FR )C A2 k1V2C An2
dt
dC A3
( F FR )C A2 ( F FR )C A3 k1V3C An3
dt
SIMPLIFICANDO LAS ECUACIONES TENEMOS LO SIGUIENTE:

11CA1-C3=0

11CA1-13CA2=0

13CA2-15CA3=0

11 0 -3 10
11 -13 0 0
0 13 -15 0
0 0 0.27272727 0.90909091
0.84615385 0 0 0
0 0.86666667 0 0

METODO DE GASUSS - SEIDEL: DESPLAZAMIENTOS SUCESIVOS

0 1 2 3 4 5 6 7 8

0 0.90909091 1.09090909 1.12727273 1.13454545 1.136 1.13629091 1.13634909 0.7143

0 0.76923077 0.92307692 0.95384615 0.96 0.96123077 0.96147692 0.96152615 2.1429

0 0.66666667 0.8 0.82666667 0.832 0.83306667 0.83328 0.83332267 0.71428571

X1= 0.7143
X2= 2.1429
X3= 0.71428571

METODO DOOLITLE

L U M

1 0 0 U11 U12 U13 11 0 -1


L21 1 0 0 U22 U23 11 -13 0
L31 L32 1 0 0 U33 0 13 -15

U11= 11
U12= 0
U13= -1

C K
1 0 0 C1 10
L= 1 1 0 C2 0
0 -1 1 C3 0

L21= 1
U22= -13
U23= 1

11 0 -1 X1 10
U= 0 -13 1 X2 -10
0 0 -14 X3 -10

L31= 0
L32= -1
U33= -14

X1= 0.7143
X2= 2.1429
X3= 0.71428571

METODO DE GAUSS JORDAN CON PIVOTEO

A K
11 0 -1 10
11 -13 0 0
0 13 -15 0

11 0 -1 10
0 -13 1 -10
0 13 -15 0

11 0 -1 10
0 -13 1 -10
0 0 14 10

11 0 0 1
11 -9 0 -17
0 0 14 10
Z= 0.7143
Y= 2.1429
X= 0.71428571