The Central Force JavaScript Model computes the trajectory of a particle acted on by a central force. The model reads uses a JavaScript mathematical expression parser to read the force and a adaptive step Runge-Kutta 5(4) algorithm to compute the trajectory. This model is designed to test the speed of the JS parser and the accuracy of the EJS JavaScript ODE solver.
The Central Force JS Model was developed using the Easy Java Simulations (EJS) version 5. It is distributed as a ready-to-run html page and requires only a browser with JavaScript support. This model runs on tablets.
Central Force JS Source Code
This source code zip archive contains an XML representation of the Central Force JS Model. Unzip this archive in your Ejs workspace to compile and run this model using EJS 5. Although EJS is a Java program, EJS 5 creates a stand alone JavaScript program from this source code. download 71kb .zip
Last Modified: November 8, 2016
previous versions
W. Christian, Computer Program CENTRAL FORCE JS MODEL, Version 1.0 (2013), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12989&DocID=3561).
W. Christian, Computer Program CENTRAL FORCE JS MODEL, Version 1.0 (2013), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12989&DocID=3561>.
Christian, W. (2013). Central Force JS Model (Version 1.0) [Computer software]. Retrieved November 4, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12989&DocID=3561
Christian, Wolfgang. "Central Force JS Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12989&DocID=3561 (accessed 4 November 2024).
%A Wolfgang Christian %T Central Force JS Model %D September 1, 2013 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12989&DocID=3561 %O 1.0 %O text/html
%0 Computer Program %A Christian, Wolfgang %D September 1, 2013 %T Central Force JS Model %7 1.0 %8 September 1, 2013 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12989&DocID=3561
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.