clc
clear all
close all
format long
CA0=1.8;
CA1=0.4;
CA2=0.2;
CA3=0.1;
k=0.5;
tau=2;
f=@(t,y) [1/tau*(CA0-y(1))-k*y(1);1/tau*(y(1)-y(2))-k*y(2);1/tau*(y(2)-y(3))-k*y(3)];
[T,C]=ode45(f,[0,3],[CA1,CA2,CA3]);
plot(T,C);
legend('CA1(T)','CA2(T)','CA3(T)')
by using MATLAB answer is Code Component A reacts irreversibly and at a specific reaction rate...
Problem: A reaction A+ R takes place in a constant-volume isothermal CSTR. The component mass balances are: 1401 =CH-C, -kC,C, de=C-Cp+kC/CR dt where: Cai feed concentration of A (input); CRI: feed concentration of R (assumed constant); CA, CR: concentrations of A,R, respectively, in the reactor and outlet; t, k:, positive constants. a) Linearize the equations around the design steady-state (0.0...) (and put them in deviation variable form. b) Calculate the transfer function between CR and CA c) Under what conditions...
Solve using matlab and show code: A reversible chemical reaction 2A + B C can be characterized by the equilibrium relationship K = c_c/c_a^2 c_b where the nomenclature ci represents the concentration of constituent i. Suppose that we define a variable x as representing the number of moles of C that are produced. Conservation of mass can be used to reformulate the equilibrium relationship as K = (c_c, 0 + x)/(c_a, 0 - 2x)^2 (c_b, 0 - x) where the...