# What are the equations used to generate t, chi-squared, and F tables?

For example, the following equation can be used to generate a Z table, where the mean $\mu$ is 0 and the standard deviation $\sigma$ is 1.

$$\frac{1 + \operatorname{erf}\left(\frac{z - \mu}{\sigma\sqrt{2}}\right)}{2}$$

Ideally I am looking for the respective cumulative distribution functions expressed in a way that is easy to convert to source code.