# Thread: clearification on finding c in a continous random function

1. ## clearification on finding c in a continous random function

$f(y) = \left\{ \begin{array}{rcl}
0.2 & \mbox{for} & -1 < y \leq 0 \\
\\
0.2 + cy & \mbox{for} & 0 < y \leq 1 \\
\\
0 & \mbox{} & elsewhere
\end{array}\right.$

I'm not sure exactly sure on how to find it, is it:

1) $\int^{0}_{-1} 0.2 \ \ dy + \int^{1}_{0} 0.2 + cy \ \ dy$ , or

2) $\int^{1}_{0} 0.2 + cy \ \ dy$

2. It is the first because the total measure must equal 1.