Mathematics · also Research methods
Probability and Monte Carlo simulation
Probability describes how likely outcomes are when chance is involved. A Monte Carlo simulation uses many random samples to estimate a quantity that would be hard to calculate directly, such as the value of π or the spread of a result whose inputs are uncertain. Each input is drawn at random from a range that matches its uncertainty, the calculation is repeated thousands of times, and the spread of the outputs shows the uncertainty of the result. The estimate improves as samples are added, but slowly: halving the error needs roughly four times as many samples.
Why it mattersEngineers can estimate how manufacturing variation in link lengths spreads out a robot arm's final hand position without building hundreds of arms.