Question

Component A reacts irreversibly and at a specific reaction rate k to form product, component B via the first order reaction A
by using MATLAB answer is Code
0 0
Add a comment Improve this question Transcribed image text
Answer #1

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)')

Add a comment
Know the answer?
Add Answer to:
by using MATLAB answer is Code Component A reacts irreversibly and at a specific reaction rate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem: A reaction A+ R takes place in a constant-volume isothermal CSTR. The component mass balances...

    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...

    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...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT