Surround formula in a 'notrust' code block
This commit is contained in:
parent
9315d841c7
commit
348132196a
@ -76,7 +76,9 @@
|
||||
//! circle, both centered at the origin. Since the area of a unit circle is pi,
|
||||
//! the ratio
|
||||
//!
|
||||
//! ```notrust
|
||||
//! (area of unit circle) / (area of square)
|
||||
//! ```
|
||||
//!
|
||||
//! is equal to pi / 4. So if we sample many points randomly from the square,
|
||||
//! roughly pi / 4 of them should be inside the circle.
|
||||
|
Loading…
x
Reference in New Issue
Block a user