Hello, i am very new to Matlab and got this question in assignment which i need to submit soon. Any help with coding and a bit explanation would be appreciated.

A probability density function (PDF) is given as follows:

` 1/4 0<=x<3f(x) = 5/8-(1/8)x 0<=x<=5`

- Plot the PDF in Matlab.
- Calculate and plot the CDF.
- Demonstrate analytically that the mean value associated with the PDF is 49/24.

The answer to the question should be the plots of the PDF and the CDF, as well as the analytical calculation of the mean value.

## Best Answer