This document describes using the Monte Carlo method to estimate the value of pi in Fortran, Scilab, MATLAB, and Scilab. It generates random points in a unit circle and square, counts the number that fall in the circle, and uses that to calculate an approximation of pi. Code examples are provided to generate the random points, classify them as inside or outside the circle, and calculate pi based on the results. Plots of the points are also generated.