## Putting it together with Math.NET and FsPlot

In this example, you will see how Math.NET and FsPlot can be used together to generate the linear regression coefficients and plot the result. For this example, we will use a known relation between **Relative Humidity** (**RH**) and
**Dew point temperature**. The relationship between relative humidity and dew point temperature is given by the following two formulas:

Here, t and t_{d} are the temperatures in degrees Celsius.

t_{d} is dew point, which is a measure of atmospheric moisture. It is the temperature to which the air must be cooled in order to reach saturation (assuming the air pressure and the moisture content are constant).

Let's say the dew point is 10 degrees Celsius, then we can see how linear regression can be used to find a relationship between the temperature and RH.

The following code snippet generates a list of 50 random temperatures and then uses the formula to find the RH. It then feeds this data into a linear regression system to find the best...