6222 Views 9 Replies Latest reply: Dec 6, 2011 12:11 PM by Tezza2010
1 posts since
Mar 1, 2011
Currently Being Moderated

## Can Mathcad perform the Monte Carlo Simulation?

I would like to know if anybody had attampted to do the Monte Carlo simulation using Mathcad Prime? I know the capability exists in Mathcad 15 however since Prime is a different product I'm not sure if it is available.

Thanks,

Margaret

• 1,278 posts since
Jun 8, 2010

According to its Help file, Mathcad Prime has the montecarlo function.  I haven't used it, so can't say how well or otherwise it works.

Alan

• 4,868 posts since
Jun 1, 2007

Margaret Keays wrote:

I would like to know if anybody had attampted to do the Monte Carlo simulation using Mathcad Prime? I know the capability exists in Mathcad 15 however since Prime is a different product I'm not sure if it is available.

Thanks,

Margaret

As Alan says, Prime has a montecarlo function.   However, Prime has iteration and a random function, which is all you really need to do Monte Carlo.  What is it that you want to do?

Stuart

• 2,400 posts since
Sep 26, 2010

In the Help Center "Mathcad Prime 1.0" (chapter "Mathcad Prime 1.0" -> "Options" -> "Statistics" -> "The probability distribution") can be found an example "Example. Estimating the probability using the Monte Carlo method".

P.S. And here are some links on the topic "The Monte Carlo Method in Mathcad".:

• 26 posts since
Dec 4, 2010

Margaret,

Yes.

Enclosed is sample in pdf only.  It is very trivial but was done as an example that Mathcad could do it.

In building up a project cost it is possible to represent the inputs or components contributing to the cost as statistical distributions.  This trivial example uses normal distributions always but MathCad actually has many types of distribution.

The project cost is built up from these inputs.

The trick here is the input variables are actually very large vectors created by the input distributions.  The project cost is a vecrtorised calculation of all the vectors elements.   50000 elements per each input statistically generated and 50000 elements in output vector.

Output is a vector.  You can look at the contents of this vector using statistics to determine information about the estimated variability of total project cost.

Histograms, means, percentile estimates etc.

Hope this helps.

Attachments:

#### More Like This

• Retrieving data ...