The random variable $X$ has the probability distribution given by the rule
$$
P(X=a)= \begin{cases}1 / k & \text { for } a=1,2,3,4,5, \\ 0 & \text { elsewhere } .\end{cases}
$$
(a) is $X$ discrete or continuous?
(b) find $k$
(c) graph the distribution of $X$ in two ways
(d) find the distribution of $Y=(X-3)^2$ and graph it.