Application of π value approximation (using Monte Carlo method) created by MATLAB App Designer and also exported to .m file extension (for MATLAB).
Value of π in i-iteration is equal to:
Run a file (estimatePi.mlapp) in MATLAB App Designer or run another file (m_estimatePi.m) in MATLAB.