search

Class myphysicslab.sims.springs.ChainOfSpringsApp

Provided By
Extends
All Implemented Interfaces

ChainOfSpringsApp displays the simulation ChainOfSpringsSim.

new ChainOfSpringsApp( elem_ids, numAtoms, attachRight )

Parameters
elem_ids{container: string, div_graph: string, div_terminal: string, div_time_graph: string, graph_controls: string, images_dir: string, label_terminal: string, show_sim: string, show_terminal: string, sim_applet: string, sim_controls: string, tab_list: string, term_input: string, term_output: string, time_graph_controls: string}

specifies the names of the HTML elementId's to look for in the HTML document; these elements are where the user interface of the simulation is created.

numAtoms(number|undefined)

number of chain links to make

attachRight(boolean|undefined)

whether to attach to fixed block on right

Instance Methods

Instance Properties