Lifetime of an electric bulb is a random variable with density $f(x)=kx^2$ , where $x$ is measured in years. If the minimum and maximum lifetimes of bulb are $1$ and $2$ years respectively, then the value of k is ________.

Gatecse