APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Pendulum with Moving Support JS Model Documents

Main Document

Pendulum with Moving Support JS Model 

written by Wolfgang Christian

The Pendulum with Moving Support mobile JavaScript Model illustrates the forces and dynamics of a pendulum attached to a moving support. This simulation uses  the accelerometer on your mobile device to read the proper acceleration as measure by the mobile device. A force body (free body) diagram showing the pendulum rod force (blue), the gravitational force (black), and the force of friction (green) can also be shown. Users set the initial angle in radians and angular velocity in radians/second and you can adjust the viscous damping (friction) coefficient when the simulation is paused.

The Pendulum with Moving Support mobile JavaScript Model was developed using version 5 of the Easy Java Simulations (EJS 5) modeling tool. Although EJS is a Java program, EJS 5 creates stand-alone JavaScript programs that run in almost any browser.

Published October 17, 2016
Last Modified May 5, 2021

This file has previous versions.

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book