The duration of the class is uniformly distributed with a minimum of 50.0 minutes and a maximum of 52.0 minutes. This means the random variable for class duration

has density function
![f_X(x)=\begin{cases}\frac1{52.0-50.0}=\frac12&\text{for }50.0\le x\le52.0\\[1ex]0&\text{otherwise}\end{cases}](https://img.qammunity.org/2018/formulas/mathematics/high-school/7xguaaw2hce8gj1iih74vqheat65es5epd.png)
You're looking for the probability that the class runs less than 51.5 minutes, or

, which is given by the integral
