Documentos de Académico
Documentos de Profesional
Documentos de Cultura
PROBLEMA 1:
SO2+ 0.5O2 → SO3
DATOS:
P=1atm
T=610°C
REACCION DE GAS:
bB ( g ) +dD ( g ) → p P ( g )+ rR(g)
HOMOGÉNEA GASEOSA
K= K ∅ K y K p
RECUERDA:
Para un gas ideal
Si : P =1atm(presión moderada)
K ∅ =1
Entonces:
∅ pP ∅ rR
K P= b d
∅B ∅D
K P=P( p +r )−(b+ d)
K P=1( p +r )−(b+ d)
K P=1
Entonces:
K= K P
Y SO 3
K=
Y SO 2 Y O 2
Se sabe que:
ni
Y i=
nT
AVANCE DE LA REACCION ( ε):
d nSO 2 d nO 2 d nSO 3
= =
−1 −1/2 1
Integramos:
nSO 2 ε
nO 2 ε
nSO 3 ε
∫ dnSO3=∫ dε n SO 3=ε
n ° SO 3 0
nN ε
∫ dnN =∫ 0 n SO 2=80
n° N 0
nT =100−0.5 ε
Despejamos en K:
ε
100−0.5 ε
K= 0.5
12−ε 8−0.5 ε
(
100−0.5 ε 100−0.5 ε )( )
TEORIA:
EFECTO DE LA TEMPERATURA SOBRE LA CONSTANTE DE EQUILIBRIO
Calor estándar de reacción:
∆ β T 2 ∆ γ T3 ∆ δ T 4
∆ H °=∆ H 0+ ∆ αT + + + …(2)
2 3 4
1 ∆H°
La ecuación 2 sustituir en:ln K =¿ dT +1 ¿
R ∫ T2
−∆ H 0 ∆ αT ∆ β T ∆ γ T2 ∆ δ T 3
lnK = + lnT + + + +I …(3)
RT R 2R 6R 12 R
∆ β T 2 ∆ γ T3 ∆ δ T4
∆ G °=∆ H 0+ ∆ αTlnT − − − −IRT …(4)
2 6 12
SE SABE QUE:
∆ G°
=−lnK
RT
−∆ G °
RT
K=e
CALCULANDO LA CONSTANTE DE EQUILIBRIO(K) PARA UNA
REACCION HOMOGENEA EN UN ESTADO GASEOSO:
function r_q_3
clc, clear;
disp('****************************************************************
**');
disp('**********CONSTANTE DE EQUILIBRIO EN UNA REACCION
QUIMICA*********');
disp(' T dHo dHt dGt IR
K');
disp('
*****************************************************************');
%constante universal de los gases ideales(J/molK)
R=8.314;
%COEFICIENTES DE LOS REACTANTES Y PRODUCTOS
COso2=1;
COo2=0.5;
COso3=1;
%la capacidad calorifica de cada compuesto
%datos bibliograficos de DATA BANK de Reid,R;Prausnitz,J y Poling,B.
(1987)
Aso2=2.385*10;
Ao2=2.811*10;
Aso3=1.921*10;
Bso2=6.699*10^-2;
Bo2=-3.680*10^-6;
Bso3=1.374*10^-1;
Cso2=-4.961*10^-5;
Co2=1.746*10^-5;
Cso3=-1.176*10^-4;
Dso2=1.328*10^-8;
Do2=-1.065*10^-8;
Dso3=3.700*10^-8;
%hallando delta de A,B,C Y D
dA=Aso3*COso3-Ao2*COo2-Aso2*COso2;
dB=Bso3*COso3-Bo2*COo2-Bso2*COso2;
dC=Cso3*COso3-Co2*COo2-Cso2*COso2;
dD=Dso3*COso3-Do2*COo2-Dso2*COso2;
%calores de formacion y energia de gibbs de formacion de cada
compuesto
%datos bibliograficos que se encuentran en el DATA BANK de
Reid,R;Prausnitz,J y Poling,B.(1987)
dHso2=-2.971*10^5;
dGso2=-3.004*10^5;
dHo2=0;
dGo2=0;
dHso3=-3.960*10^5;
dGso3=-3.713*10^5;
%HALLANDO DELTA DE H Y G
dH=dHso3*COso3-dHo2*COo2-dHso2*COso2;
dG=dGso3*COso3-dGo2*COo2-dGso2*COso2;
%Hallando el valor de Ho (CONSTANTE DE INTEGRACION)
dHo=dH-dA*298-(dB/2)*(298)^2-(dC/3)*(298)^3-(dD/4)*(298)^4;
%Hallando el valor de IR
IR=(-dG/298)+(dHo/298)-dA*log(298)-((dB/2)*298)-((dC/6)*(298^2))-
((dD/12)*(298^3));
for T=880:1:883
dHt=dHo+dA*T+(dB/2)*(T)^2+(dC/3)*(T)^3+(dD/4)*(T)^4;
dGt=dHo-dA*T*log(T)-(dB/2)*(T)^2-(dC/6)*(T)^3-(dD/12)*(T)^4-IR*T;
%%Hallando la constando de equilibrio K
K=exp(-dGt/(R*T));
fprintf('%10.3g %10.3g %10.3g %10.3g %10.3g
%10.3g\n',T,dHo,dHt,dGt,IR,K);
end
***********************************************************
******CONSTANTE DE EQUILIBRIO EN UNA REACCION QUIMICA******
T dHo dHt dGt IR K
***********************************************************
880 -9.58e+04 -9.81e+04 -1.61e+04 13.4 9.03
881 -9.58e+04 -9.81e+04 -1.6e+04 13.4 8.89
882 -9.58e+04 -9.81e+04 -1.59e+04 13.4 8.76
883 -9.58e+04 -9.81e+04 -1.58e+04 13.4 8.62
CALCULANDO ε REEMPLAZANDO K:
function met_newton_raphson
x0=input('Ingrese el valor inicial: ');
tol=input('Ingrese el porcentaje de error: ');
i=1;
fx(i)=x0;
syms x;
f=input('Ingrese la funcion:');
f1=subs(f,x,fx(i));
z=diff(f);
d=subs(z,x,fx(i));
ea(1)=100;
while abs(ea(i))>=tol;
fx(i+1)=fx(i)-f1/d; f1=subs(f,x,fx(i+1)); d=subs(z,x,fx(i+1));
ea(i+1)=abs((fx(i+1)-fx(i))/fx(i+1)*100);
i=i+1;
end
fprintf('i fx(i) Error aprox (i) \n');
for j=1:i;
fprintf('%2d \t %11.7f \t %7.3f \n',j-1,fx(j),ea(j));
end
>> met_newton_raphson
Ingrese el valor inicial: 7
Ingrese el porcentaje de error: 0.0001
Ingrese la funcion:((x/(100-0.5*x))/(((12-x)/(100-0.5*x))*((8-0.5*x)/(100-0.5*x))^0.5))-8.6
i fx(i) Error aprox (i)
0 7.0000000 100.000
1 7.8249101 10.542
2 7.6990913 1.634
3 7.6946625 0.058
4 7.6946573 0.000
RESPUESTA DEL PROBLEMA:
Composición de equilibrio que sale del reactor
12−ε
Y SO 2 = ( 100−0.5 ε)
=4.48%
8−0.5 ε
=(
100−0.5 ε )
YS2 =4.32%
ε
=(
100−0.5 ε )
Y SO 3 =8%
80
=(
100−0.5 ε )
Y N2 =83.2 %
´
SISTEMA DE ECUACIONES NO LINEALES
function met_newton_raphson
x0=input('Ingrese el valor inicial: ');
tol=input('Ingrese el porcentaje de error: ');
i=1;
fx(i)=x0;
syms x;
f=input('Ingrese la funcion:');
f1=subs(f,x,fx(i));
z=diff(f);
d=subs(z,x,fx(i));
ea(1)=100;
while abs(ea(i))>=tol;
fx(i+1)=fx(i)-f1/d; f1=subs(f,x,fx(i+1)); d=subs(z,x,fx(i+1));
ea(i+1)=abs((fx(i+1)-fx(i))/fx(i+1)*100);
i=i+1;
end
fprintf('i fx(i) Error aprox (i) \n');
for j=1:i;
fprintf('%2d \t %11.7f \t %7.3f \n',j-1,fx(j),ea(j));
end
MÉTODO DE NEWTON-
RAPHSON MODIFICADO
(2 ECUACIONES)
Desarrollar el siguiente sistema:
X
2.2609
Y
1.2910
MÉTODO DE NEWTON-
RAPHSON( 2
ECUACIONES) Desarrollar el siguiente sistema:
X
2.0000
Y
1