This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "type": "tabs", | |
| "tabs": [ | |
| { | |
| "title": "Axis X", | |
| "items": [ | |
| "x" | |
| ] | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var VELOCITY_ACCURACY = 1 | |
| var calcPen = function(zLen){ | |
| //Pendulum Movement Equation | |
| //T = 2pi*SQRT(L/g) | |
| var twoPi = 6.2831926 | |
| var gravity = 9.8 | |
| var result = twoPi * Math.sqrt(zLen / gravity); | |
| return(result.toFixed(4)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var calcPen = function(zLen){ | |
| //Pendulum Movement Equation | |
| //T = 2pi*SQRT(L/g) | |
| var twoPi = 6.2831926 | |
| var gravity = 9.8 | |
| var result = twoPi * Math.sqrt(zLen / gravity); | |
| return(result.toFixed(4)) | |
| } | |
| exports.calcVelocity = function(xyLen, jerk, zLen){ |