Statistical simulation is of great importance in Engineering and applied sciences. Simulating random number from some distributions, however, is not an easy task. Markov chai monte carlo(MCMC) is among the most important methods to simulate random numbers in such situations. Two of the most applicable algorithms based on the MCMC methods are Metropolis-Hastings, Gi sampling and slice sampling.