11.07.2015 Views

Modeling Tools for Environmental Engineers and Scientists

Modeling Tools for Environmental Engineers and Scientists

Modeling Tools for Environmental Engineers and Scientists

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

Figure 8.17 Chemical oxidation process modeled analytically in Mathematica ® .condition provided in the call. If the initial condition is not provided, the solutionwill include the integration constant c[1].In the next input line In(2), the model parameters are first assignednumeric values (Cin = 40; HRT = 8; <strong>and</strong> η.k.a = 2.50 ), <strong>and</strong> Dsolve is calledagain in symbolic <strong>for</strong>m. Mathematica ® returns the solution in the output lineOut(3), in numeric <strong>for</strong>m, substituting the given parameter values. Findingthe solution in numeric <strong>for</strong>m is a prerequisite <strong>for</strong> plotting the results. Finally,a call to Plot the results is made in the input line In(3), whereupon,Mathematica ® plots the results as specified in the call.© 2002 by CRC Press LLC

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

Saved successfully!

Ooh no, something went wrong!