From 3303518e19ad53bc8c6531b8cd9c4d502b4f7fb2 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 11 Oct 2023 18:54:16 +0000 Subject: Add note about the pendulum angle being incorrectly linear instead of sinusoidal --- pendulum.html | 2 ++ 1 file changed, 2 insertions(+) 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 --> -- cgit v1.2.3-70-g09d2