Find constant in PDF

A question is this type if and only if it asks to find or show the value of a constant in a probability density function by using the property that the integral equals 1.

1 questions

CAIE S2 2003 November Q7
7 The lifetime, \(x\) years, of the power light on a freezer, which is left on continuously, can be modelled by the continuous random variable with density function given by $$\mathrm { f } ( x ) = \begin{cases} k \mathrm { e } ^ { - 3 x } & x > 0
0 & \text { otherwise } \end{cases}$$ where \(k\) is a constant.
  1. Show that \(k = 3\).
  2. Find the lower quartile.
  3. Find the mean lifetime.