1. (5 points) The premium is computed via the expectation principle, namely we have
$\rho = (1 + \eta)E(X_k \times U)$, (1)
where $\eta \in [0, 1]$ is called the safety loading (indicate by how much the premium should
exceed the average claim amount per customer).
(a) (4 points) Use Python to write a function to compute the premium taking on $U$, $q$
and $\eta$ as parameter.
(b) (1 point) Compute the premium for $q = 0.1$, $U = 1000$ and $\eta = 0.05$.