Compute the following probabilities or related functions at these four x values

+/-2, +/-6, +/-8, using simulations, please don’t use any built-in function.

(a) P(X < x) where X is Normal(0,1)

(b) P(X < x) where X is Student’s t with 9 df

(c) P(X < x) where X is Gamma(shape=7, scale=1) (just positives)

(d) P(X < x) where X is Chi-square with 5 df (just positives)

USE R CODE