# Tagged Questions

63 views

### Using loop to approximate pi (Monte Carlo, MATLAB)

I've written the following code, based on a for loop to approximate the number pi using the Monte-Carlo-method for 100, 1000, 10000 and 100000 random points. ...
80 views

### Sample uniform direction within cone

My question is pretty much the same as this question below, however I came up with a potential solution to this problem that I didn't see an answer to in the other question and I was wondering if it ...
26 views

### Understanding graph obtained from Monte-Carlo simulations

I am running a Monte Carlo Simulation where I sample from about 65 Normal Distributions. I also keep track of the probability associated with each sample by approximating a thin area in the Normal ...
85 views

### Quasi-random sequence on the unit $2$-sphere for Monte-Carlo based method

Please forgive my possible misuse of the appropriate definitions. I'm looking for a quasi-random sequence of directions in the unit $2$-sphere, to be used in a Monte-Carlo method to calculate an ...
303 views

### Why are random numbers necessary for a Monte Carlo simulation?

This may be somewhat of a question with an obvious answer, but I can not seem to understand the necessity of "truly" random numbers to make a Monte Carlo simulation a good one. I understand that not ...
231 views

### Validating results of a Monte Carlo integration

Suppose I want to use the Monte Carlo integration method to compute the following integral $\int_D (e^{x^{2}} + e^{y^{2}}) \; dx \; dy$ where $D$ is some regular hexagon. I have managed to write the ...
For a triangle $ABC$ in 3D (each point has x, y, z coordinates) is it possible to generate uniform random points on the triangle from only the following data: Normal of the triangle plane \$N = ...