Math Help - Function of Random Variable

1. Function of Random Variable

Hello, need some advice regarding this question:

The probability function of X is given by:

P(X=1)=p
P(X=0)=1-p

find the probability function of:

Y=sin(pi*X)
Z=cos(pi*X)

cheers

2. Originally Posted by WeeG
Hello, need some advice regarding this question:

The probability function of X is given by:

P(X=1)=p
P(X=0)=1-p

find the probability function of:

Y=sin(pi*X)
Z=cos(pi*X)

cheers
Pr(Y = 0) = 1.

Pr(Z = 1) = 1.

3. why ?

4. Originally Posted by WeeG
why ?
What does Y equal when X = 0? 1?

Ditto Z.