Answer
$$k = \frac{3}{{125}}$$
Work Step by Step
$$\eqalign{
& f\left( x \right) = k{x^2};\,\,\,\,\,\,\,\,\,\,\,\,\left[ {0,5} \right] \cr
& {\text{The function f is a probability density function of a random variable X }} \cr
& {\text{in the interval }}\left[ {a,b} \right]{\text{ if}}: \cr
& 1{\text{ condition}}:f\left( x \right) \geqslant 0{\text{ for all }}x{\text{ in the interval }}\left[ {a,b} \right].{\text{ then}} \cr
& and \cr
& 2{\text{ condition}}:\int_a^b {f\left( x \right)} dx = 1.{\text{ then replacing the interval }}\left[ {0,5} \right]{\text{ and }}f\left( x \right) = k{x^2} \cr
& \int_0^5 {k{x^2}} dx = 1 \cr
& {\text{Integrating}} \cr
& \left( {\frac{{k{x^3}}}{3}} \right)_0^5 = 1 \cr
& \frac{k}{3}\left( {{{\left( 5 \right)}^3} - {{\left( 0 \right)}^3}} \right) = 1 \cr
& {\text{Simplify and solve for }}k \cr
& \frac{k}{3}\left( {125} \right) = 1 \cr
& k = \frac{3}{{125}} \cr
& \cr
& {\text{then }}f\left( x \right) = \frac{3}{{125}}{x^2} \cr
& {\text{The function is positive for the interval }}\left[ {0,5} \right].{\text{ then the condition 1 it is true}} \cr
& {\text{for }}k = \frac{3}{{125}} \cr} $$