# EXERCICE 1.5 --------------------------------------- n=1000 s=0 for (i in 1:n) { x=runif(1,0,1) t=runif(1,0,pi/2) if (x