phetsims / pendulum-lab

"Pendulum Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 10 forks source link

Note that Pendulum.getPeriod() is only a small-angle approximation #34

Closed jonathanolson closed 9 years ago

jonathanolson commented 9 years ago

Consider renaming it to getApproximatePeriod(), as it can be more than 5% off for displacements of 50 degrees.

andrey-zelenkov commented 9 years ago

Rename Pendulum.getPeriod method to more convenient Pendulum.getApproximatePeriod. Reassign to @jonathanolson for verification.

jonathanolson commented 9 years ago

Looks good, thanks.