NASA and the Space Shuttle Disaster: plot the function graph for x between [0.001, 20]

NASA and the Space Shuttle Disaster (Whistle-blowing)

For all questions explain, step by step, all your computations and R commands1  Computations
Calculate the following sum by implementing it as a for() loop in R:
99
i=10(i2 + i3)
 Random Variable Generation For the following function
f (x) = exp((x1)2
2x )(x + 1)/12

Plot the function graph for x between [0.001, 20]
2.2 Generate more than 1000 sample points between [0.001, 20] for a random variable whose density is f (x) and plot it’s density