四、請以逆變換法(inverse transform method)來產生機率密度函數為
f(x) =ex /( e− 1),0 ≤x ≤ 1
的隨機樣本。(15 分)