Using three methods.(Monte Carlo simulation,Archimedes' method,Buffon's needle)