{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# prob3-2 - Problem 2 Chapter 2 from Shuler and Kargi...

This preview shows pages 1–2. Sign up to view the full content.

Problem 2, Chapter 2 from Shuler and Kargi - Solution by Krishnan Chittur ([email protected]) I have added some comments to help you understand the Maple Calculations restart is like starting Maple all over again - so any assignments you may have made are wiped out > restart; Start writing down the equations first and then solve them. Notice that Maple differentiates between := and = (one has a colon before the equal to and is the assignment statement (which is different from the equal to sign)) After you set up the equations, we solve them - > eq1:= k[1]*E(t)*S(t)+k[-2]*E(t)*P(t)-k[-1]*ES(t)-k[2]*ES(t)=0; := eq1 = + - - k 1 ( ) E t ( ) S t k -2 ( ) E t ( ) P t k -1 ( ) ES t k 2 ( ) ES t 0 > eq2:=rate=k[2]*ES(t)-k[-2]*E(t)*P(t); := eq2 = rate - k 2 ( ) ES t k -2 ( ) E t ( ) P t > eq3:=ES(t)=E[0]-E(t); := eq3 = ( ) ES t - E 0 ( ) E t Now solve for E(t) from equation 1 - We use the function called solve from Maple - what we are doing here is to solve equation 1 for E(t) - In maple, you can solve an equation for any of the variables you like - Maple will rearrange the equations and solve explicitly for the variable if it can - >

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

prob3-2 - Problem 2 Chapter 2 from Shuler and Kargi...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online