Numerical Methods For Simulation: Application to Reliability