how to understand monte carlo simulation using statistics

please explain about monte carlo simulation with simple example program.

6 Comments

This is an extremely vague question, and not directly a Matlab one. Have you tried borrowing a book from your local library?
s i have read the books.but my sir told me to write a matlab code using monte carlo simulation.the given data is a=10,b=20,mean of a & b=0,std dev of a & b=3 & 5.given equation is y=a^2+b^2+2a*b*-a/b.here i have to find how many times it will exceed y=901 or 898 and if the absolute value is greater or less than 1.5 times of error of y,then it is considered as failure.pls explain this
How can you have a and b be constants of 10 and 20 yet have them also be variable with specified means and stdevs????
So a is 10, but it has a mean of 0. Hmm.

Sign in to comment.

Answers (1)

KSSV
KSSV on 19 Sep 2016
Edited: KSSV on 19 Sep 2016
You may see the below example of calculating value of pi using Monte Carlo simulation.
And the best is to pick up a book and read the basics of it and then come to code.

Categories

Products

Asked:

on 19 Sep 2016

Edited:

on 28 Sep 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!