Expected value using pdf of Chi-square distribution.
Suppose that the numbers X of hours of sunshine per day in a city has a chi-square distribution with 10 degrees of freedom. The profit from selling food at an outdoor cafe depends on the number of hours of sunshine throughout the formula, Profit = 1000(1-(e-x/10)). Find the expected level of profit.