# Chapter 16: Distributions of Residence Times for Chemical Reactors

The following examples can be accessed with Polymath™, MATLAB™, Python, or Wolfram CDF Player™.

Note: When downloading Python code files over Chrome browser, you may see a security warning. We assure you that these files are secure and you may keep them on your computer.

Living Example Problem | Polymath Code | MATLAB Code | Python Code | Wolfram CDF Code |

Example 16-1 Calculating C(t) and E(t) Curves | LEP-16-1.pol | LEP-16-1.zip | LEP-16-1.py | -- |

Example 16-1: Regression tool to fit experimental C(t) vs t data and find the E(t) curve | Complete Tutorial | LEP-16-1_regression.zip | LEP-16-1_regression.py | --- |

Example 16-2a Mean Residence Time Calculation and F(t) curve | LEP-16-2a.pol | LEP-16-2a.zip | LEP-16-2a.py | -- |

Example 16-2c Variance Calculation | LEP-16-2c.pol | LEP-16-2c.zip | LEP-16-2c.py | -- |

Example 16-2d Fraction of fluid that spends between 3 and 6 minutes in the reaction |
LEP-16-2d.pol | LEP-16-2d.zip | LEP-16-2d.py | -- |

Example 16-3 Comparing Second-Order Reaction Systems | LEP-16-3.pol | -- | LEP-16-3.py | LEP-16-3.cdf |