summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2023-10-11 18:54:16 +0000
committerAnthony Wang2023-10-11 18:54:16 +0000
commit3303518e19ad53bc8c6531b8cd9c4d502b4f7fb2 (patch)
tree93619d2fc96bf3b4d95e2301a67b95221f26c22f
parent31e174e54ca6948de9dbed3b19eebe37d2e893e7 (diff)
Add note about the pendulum angle being incorrectly linear instead of sinusoidal
-rw-r--r--pendulum.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/pendulum.html b/pendulum.html
index 3506ae2..479c502 100644
--- a/pendulum.html
+++ b/pendulum.html
@@ -8,6 +8,8 @@ Unbelievable, geeksforgeeks actually producing quality content for once?
I adjusted the numbers based on this demo:
https://sciencedemonstrations.fas.harvard.edu/presentations/pendulum-waves
Also, the lengths are physically accurate (assuming pendulums obey simple harmonic motion which they pretty much do at small angles)
+Technically, the angle should vary as a cosine function (assuming the small-angle approximation), but due to CSS limitations it's instead a linear function
+Using a piecewise linear function for the animation would be more accurate, but no one can really tell the difference anyways
-->
<html>