21.10.2014 Views

Physical Chemistry 3: — Chemical Kinetics — - Christian-Albrechts ...

Physical Chemistry 3: — Chemical Kinetics — - Christian-Albrechts ...

Physical Chemistry 3: — Chemical Kinetics — - Christian-Albrechts ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.5 Numerical integration 63<br />

I<br />

Exact solution using symbolic algebra software:<br />

(1) To set-up the initial value problem for the program, 30 we enter the following a<br />

1 × 6 matrix:<br />

⎡<br />

0 ⎤<br />

= − 1 <br />

0 =+ 1 − 2 <br />

0 =+ 2 <br />

(3.160)<br />

⎢ (0) = 0 ⎥<br />

⎣<br />

(0) = 0<br />

⎦<br />

(0) = 0<br />

(2) To obtain the solution, we select the menu item "SolveODE, Exact". The program<br />

gives the output:<br />

Exact solution is:<br />

⎡<br />

⎢ () = 1 µ<br />

⎤<br />

− 1<br />

0 1 − 0 1 2 + 0 2 − 2<br />

1<br />

1 2 − 1 2 − ⎥ 1<br />

⎢<br />

⎣<br />

− 1<br />

− 2<br />

() = 0 1 − 0 1<br />

2 − 1 2 − 1<br />

() = 1 µ<br />

<br />

− 1<br />

0 1 2 − 0 2 − 1<br />

1<br />

1 2 − 1 2 − 1<br />

⎥<br />

⎦<br />

(3.161)<br />

(3) After simplifying, factorizing, and rewriting the output, we obtain<br />

⎡<br />

() = 0<br />

¡ ¢ ⎤<br />

2 − 1 + 1 − 2<br />

− 2 − 1<br />

2 − 1 ⎢<br />

1<br />

¡ ¢<br />

⎣ () = 0 <br />

− 2<br />

− − 1 ⎥<br />

1 − ⎦<br />

2<br />

() = 0 − 1<br />

(3.162)<br />

We immediately recognize these results from section 2.<br />

I Numerical solutions: Numerical integration is performed by the different symbolic<br />

algebra programs using one of the methods outlined in the preceding subsection. We<br />

have to specify the DE’s, the initial values, and the values for the rate constants. 31<br />

(1) We adopt the rate constant values 1 =100 and 2 =100.<br />

(2) We define the problem (now using capital letters):<br />

⎡<br />

0 ⎤<br />

= −<br />

0 =+ − 10<br />

0 =+10<br />

⎢ (0) = 1 ⎥<br />

⎣<br />

(0) = 0<br />

⎦<br />

(0) = 0<br />

(3.163)<br />

30 The different software packages differinthewaysinwhichtheproblemshavetobesetup.<br />

31 SWP can handle the problem only if the rate constant values are explicitly entered in the DE’s.<br />

Other software does better.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!