Screen shots are no substitute for a live demonstration, and I encourage readers to load, inspect, and run the Spring complex Model described in this paper. Execute the EjsConsole.jar program in the directory where Ejs was installed to start Ejs. Then click on the file-folder icon on the Ejs taskbar to open a file-browser to load the pendulum model. The pendulum.xml file is located in the source/Karyakuwh/Java_Simulation/093224014_Pegas_Spring_3D. Use the “save as” icon on the Ejs taskbar to create a copy of this in your own aworking directory.
Selecting “Model” reveals a series of subpanels specifying the different parts of the model: definition of variables, initialization, evolution of the system, constraints or relationships among variables, and custom methods. Each panel provides tools that facilitate the creation of these parts. For example, if we ignore friction, a simple pendulum obeys the differential equation.
Where, k = constanta
L = Length
m = mass
Corresponding program variables are defined in “Variables” tables as shown in this fugure.