Question: Develop an algorithm using a composition method to generate random variables following a triangular distribution as follows f(x) = 1 + x Forall - 1

Develop an algorithm using a composition method to generate random variables following a triangular distribution as follows f(x) = 1 + x Forall - 1 lessthanorequalto x lessthanorequalto 0, f(x) = 1 - x Forall 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
