A contract was given for the cost of making a new aircraft component. The actual cost, X, in $50,000, is predicted by the probability density function:
f(x) = x for 0 <=x<=1
2-x for 1
1. What is the expected cost to make the new aircraft?
2. What is the cost X to build the aircraft for which the probability of exceeding X is 0.02?