# The distribution of function of random variable

ecesiu
i have this question

i do find the distribution like this figure :

and i plot the y like this:

now i want to find the distribution of y
i tried to take the distribution for each interval in Fx(x) like this :

but the solution in the book said :

Hey ecesiu and welcome to the forums.

You missed out giving us any of the information.

ecesiu
which information you mean?

Like the solution the book gave, the distribution definition, all the other relevant information: stuff like that.

ecesiu
firest i found the density of x which is Bernoulli trial :
PK=Cn(10,k) * p^k * q^(10-k) , k= 0,1,...,10
the distribution is a staircase of the density
which i sketch , the book solution is here :

ecesiu
p=q=0.5 because the coin is fair
where p is the probability of getting head , q is the probability of getting tail