Question: 1. Develop a generator for a triangular distribution with range (I, 10) and a mean of 4.
2. Given the cdf F(x) = x2/16 on 0 ≤ x ≤ 2, develop a generator for this distribution.
3. Given the pdf f(x) = x2/9 on 0 ≤ x ≤ 3, develop a generator for this distribution.