Field Guide to Math and Code
Equations, code in several languages, a diagram and a table.
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:
Hydration, the baker's percentage
The hydration of a dough is the water weight divided by the flour weight:
The same function, three ways
def hydration(water: float, flour: float) -> float:
return water / flour * 100export 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.