Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
doku:bigdata [2021/06/23 09:35] – [Background] dieter | doku:bigdata [2021/06/23 09:36] – [Apache Spark on VSC] dieter | ||
---|---|---|---|
Line 74: | Line 74: | ||
The idea of the calculation is to check (very often) whether a random point in the area [-1,-1; 1,1] is within a unit circle (i.e. has a distance less than 1 from origin). Since we know formulas for the area of the square as well as the circle we can estimate pi. | The idea of the calculation is to check (very often) whether a random point in the area [-1,-1; 1,1] is within a unit circle (i.e. has a distance less than 1 from origin). Since we know formulas for the area of the square as well as the circle we can estimate pi. | ||
- | In order to submit | + | In order to submit |
< | < |