ex10_5 - tau=.02; k=45; Ct0=1; ya0=Ca0/Ct0; y...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% "ex10_5" % m-file to solve example 10.5 % % x(1)=a % x(2)=Ca % xdot(1)=d(a)/dt, xdot(2)=d(Ca)/dt % function xdot=ex10_5(t,x) f global Ca0 Ct0 ya0 g kd=9; Ca0=0.8;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: tau=.02; k=45; Ct0=1; ya0=Ca0/Ct0; y xdot(1,:)=-kd*x(1)*x(2); xdot(2,:)=Ca0/tau-((1+ya0)/(1+x(2)/Ct0)+tau*x(1)*k)*x(2)/tau;...
View Full Document

This note was uploaded on 09/02/2011 for the course CHEM 102 taught by Professor Kmn during the Spring '11 term at Babson College.

Ask a homework question - tutors are online