Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I WANT THE MATLAB CODE FOR THE QUESTION BELOW PLS. Assume you have an adiabatic CSTR operating at steady state. Within the CSTR, reactant A

I WANT THE MATLAB CODE FOR THE QUESTION BELOW PLS.

image text in transcribed

image text in transcribed

Assume you have an adiabatic CSTR operating at steady state. Within the CSTR, reactant A is being converted to product B, where the rate of reaction is first order: rA=kCA However, the reaction is also exothermic, and the rate constant is described through the classic Arrhenius equation: k(T)=koeRTEa Under the set of conditions given, solve for the temperature (T) and the concentration (CA) leaving this CSTR operating under steady-state conditions. a. Write out the mass balance for A Assumptions: i. Assume input stream is pure CA0. ii. Assume constant density. b. Write out the energy balance. Assumptions: i. Assume no shaft work. ii. Negligible changes in kinetic and potential energy of system. iii. Adiabatic reactor (Q=0). iv. Cp is the same for both reactants and products. v. Assume stoichiometry for the reaction is 1:1. Hints: Note that we have a temperature change and a chemical reaction when you are writing out and simplifying your energy balance. c. Use MATLAB's f solve function to solve for the reactor temperature and concentration. Use an initial guess of 5mol/L for CA and an initial guess of 700K for temperature. d. Display the f solve results for CA and Tout using both disp and fprintf. Don't forget to include units

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Chemical Engineering Thermodynamics

Authors: J. M. Smith, Hendrick C Van Ness, Michael Abbott, Hendrick Van Ness

6th Edition

0072402962, 978-0072402964

More Books

Students also viewed these Chemical Engineering questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago