Skip to content

Field Guide to Math and Code

Equations, code in several languages, a diagram and a table.

Maranormal activity
Nov 9, 20261 min read

tour of the technical blocks. Inline math such as e^{i\pi} + 1 = 0 becomes inline code, display math becomes a real math block:

∫−∞∞e−x2 dx=π\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}

Hydration, the baker's percentage

The hydration of a dough is the water weight divided by the flour weight:

h=mwatermflour×100h = \frac{m_{water}}{m_{flour}} \times 100

The same function, three ways

def hydration(water: float, flour: float) -> float:
    return water / flour * 100
export const hydration = (water: number, flour: number): number =>
	(water / flour) * 100;
fn hydration(water: f64, flour: f64) -> f64 {
    water / flour * 100.0
}

How a post travels

Typical hydrations

Did you enjoy this article?

Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.

Across the AtmosphereDiscussions