MATLAB: Assume that the random variable X follows a uniform distribution given , fx(x)=1/20 for -10

randuniform pdf

Hello Sir/Madam
Please help me with the code for this question.

Best Answer

The density function for Y is given by
f_y(y)=1/80*(y/2)^(-0.75), if 0<y<20000
f_y(y)=0 else
So if you plot this function, you are done.
Best wishes
Torsten.