Mean Value and Standard Deviation of function f(x,y) calculation with Monte Carlo Simulation

Category:
Dates and Math
Type:
Applications
Difficulty:
Intermediate
Author:
Vagelis Plevris

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This program calculates (in fact estimates) the Mean Value and the Standard Deviation of an arbitrary function f(x,y) of two independent normally distributed random variables x and y. The program uses the Monte Carlo Simulation Method. The function f(x,y) is specified in run-time and its values are calculated using the MS ScriptControl (msscript.ocx). Add Component: Microsoft script control 1.0 (msscript.ocx)

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download monte_carlo.zip