Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Two chemical reactions can be written as A + C B , C D The first Yeaction is reversible. It has a forward rate constant

Two chemical reactions can be written as
A+CB,CD
The first Yeaction is reversible. It has a forward rate constant k1f=10Lmmol-s and a backwards rate constant k1b=1s-1. The second reaction is irreversible, i.e. it can only proceed from reactant C toward product D. It has a forward rate constant k2f=2s-1.
The evolution of the concentrations of species A, B, and C can be written by these differential equations,
delcAdelt=-10f1cAcC+1cB
delcBdelt=10f1cAcC-1cB
delcCdelt=-10f1cAcC+1cB-2cC
which incorporate the rate constants directly.
Write a MATLAB function that computes the right-hand side of these differential equations for a given set of concentrations c=[cAcBcC]. Then use a MATLAB function (ode 45 or ode15s) to solve for the concentrations of A,B, and C over times of 10-4 to 3 seconds. (See class notes for MATLAB reminders.) Use initial conditions cA=50mmolL,cB=0mmolL, and cC=40mmolL at t=10-4s.
Request a narrow spacing in time near t=10-4s. To decide how small, compute the initial slope (delcAdelt) at t=0 and choose a step t such that cA would not change very much over one step. Requesting results for times that have a logarithmic spacing rather than a linear spacing could be useful.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Chemical Engineering questions