Justin Does SICP

FYI: It looks like you’re manually doing some of the maths notation. If you are, you might want to look into mathjax (relevant: https://medium.com/coffee-in-a-klein-bottle/creating-a-mathematics-blog-with-jekyll-78cdee0339f3).

Mathjax uses \LaTeX (latex; pronounced like “la-tek”) which the most commonly used typesetting language for maths stuff. (technically latex is one of a family of sorta-interchangable languages/engines based on \TeX (tex; pronounced “tek”); e.g., xetex and context are two others that come to mind.)

Mathjax works on discourse too, so I can show you:

inline you can put $F(\alpha) \approx \log_3(\sin(\theta))$ to render F(\alpha) \approx \log_3(\sin(\theta)).

you can do multi-line stuff like:

$$
f(x) = x^2 + 3x + 1 \\
\therefore \frac{d}{dx}f(x) = 2x + 3 \\
\therefore \frac{d^2}{dx^2}f(x) = 2 
$$
f(x) = x^2 + 3x + 1 \\ \therefore \frac{d}{dx}f(x) = 2x + 3 \\ \therefore \frac{d^2}{dx^2}f(x) = 2
$$
S = \sum_{i=1}^n ar^i
$$
S = \sum_{i=1}^n ar^i
1 Like