Question: Statistics:-PDF() fail with function of a random variable ?

Dear,

I (used Maple12) tried to find the PDF(Y,y) when Y= tan(X) or Y= sin(X) but those cases give FAIL or wrong result

===============================

restart; with(Statistics):
X:= RandomVariable(Uniform(-Pi/4,Pi/4)):

PDF(2*X+1,y) ## work well

but: 

PDF(tan(X),y); # failed
                                    FAIL
Mean(tan(X));
                                      0
PDF(sin(X),y);  ## wrong result since everything =0
                     piecewise(y < -1, 0, y <= 1, 0, 0)
=================================

the PDF() command not work with trigonometric function of RV ?  So I have to manually write the code without using PDF() to do this ?

Thanks,





Please Wait...