Let X be a random variable with probability density function \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {0.2,\;\;\;\;\;\;\;\;\;\;\;\;for\;\left| x \right| \le 1}\\ {0.1,\;\;\;\;\;\;for\;1 < \left| x \right| \le 4}\\ {0,\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;otherwise} \end{array}} \right.\) The probability P(0.5 < X < 5) is _______.
Only intervals0.5<x≤1 and1<x≤4 contribute. Therefore P=0.2(1−0.5)+0.1(4−1)=0.4.
Rock bolts have length $L = (150+X)$ cm, where X is a random variable with probability density function
$f(x) = \begin{cases} \frac{1}{4}(1-3x), & \text{if } -2 \le x \le 2 \\ 0, & \text{otherwise} \end{cases}$
If 95% of the bolt lengths (L) lie in the interval 150-c cm to 150+ ccm, the value of c is _________