Surround formula in a 'notrust' code block

This commit is contained in:
nham 2014-08-21 02:08:17 -04:00
parent 9315d841c7
commit 348132196a
1 changed files with 2 additions and 0 deletions

View File

@ -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.