Skip to content

Instantly share code, notes, and snippets.

@qwhex
Last active June 17, 2024 14:14
Show Gist options
  • Save qwhex/cedc987977d6b43ce77b133f4e1d0ce3 to your computer and use it in GitHub Desktop.
Save qwhex/cedc987977d6b43ce77b133f4e1d0ce3 to your computer and use it in GitHub Desktop.

Dollar sign

Code block

Quadratic Formula: $$ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$

Area of a Circle: $$ A = \pi r^2 $$

Derivative of Sine: $$ \frac{d}{dx}(\sin x) = \cos x $$

Bayes' Theorem: $$ P(A|B) = \frac{P(B|A)P(A)}{P(B)} $$

Inline

Quadratic Formula: $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$

Derivative of Sine: $\frac{d}{dx}(\sin x) = \cos x$

No-dollar

Code block

[ \mu = \frac{1}{n} \sum_{i=1}^{n} x_i ]

Inline

On the same line: ( y = mx + b )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment