Scary Math Symbols Are While Loops
just found out these scary math symbols are just while loops d/dx f(x) |x=a n = 1 while True: dx = 1/n d_dx = (f(a+dx) - f(a)) / dx n += 1 ∫ₐᵇ f(x)dx n = 1 while True: dx = 1/n partition = [a + i * (b - a) * dx for i in range(n+1)] S_n = sum(f(x) * dx for x in partition) n += 1
A dark-mode social media post jokes that intimidating calculus notation—the derivative and definite integral—can be understood as simple while loops in programming. The punchline is a playful comparison between advanced mathematics and iterative code, making calculus seem less mysterious to programmers. It is shared as a reaction to confusing math, programming humor, or the realization that two subjects are unexpectedly similar.
social media post / публикация в соцсетиmathematical derivative / математическая производнаяdefinite integral / определённый интегралcalculus notation / обозначения математического анализаcode block / блок кодаwhile loop / цикл whilecomputer programming / компьютерное программированиеmathematical formula / математическая формулаdark background / тёмный фонwhite rounded panel / белая панель с закруглёнными угламиblue code editor / синий редактор кодаtext / текст
- @gentoomemes / 11604 2024-06-01
- Type
- image
- Size
- 800×625 · 56.3 KiB
- Mood
- witty, educational
- Language
- en
- Added