See also these Math/Physics Javascript programs:| PhD Systems | |||
|
coords
|
x(t)= v(t)= a(t)= |
||
|
x(t)
v(t)
a(t)
Set: |
|||
| Set Min:Max Scale |
|||
|
Time Units: Length Units: |
|
|
PhD Systems |
| To use Javascript Math functions in input field: | === | To use Javascript operators in input field (listed in precedence order): | ||
| Math.abs(x) | Absolute value of x | ( , ) | Parentheses for grouping | |
| Math.acos(x) | Arc cosine of x | ~ | Bitwise complement | |
| Math.asin(x) | Arc sine of x | ! | Logical complement | |
| Math.atan(x) | Arc tangent of x | typeof | Return data type | |
| Math.atan2(y,x) | Argument from +x axis | * , / , % | Multiply , Divide , Remainder | |
| Math.ceil(x) | Ceiling of x | + , - | Add , Subtract | |
| Math.cos(x) | Cosine of x | + | Concatenate strings | |
| Math.exp(x) | Natural exponent of x | << | Integer shift left | |
| Math.floor(x) | Floor of x | >> | Integer shift right, sign extension | |
| Math.lov(t) | Natural logarithm of x | >>> | Integer shift right, zero extension | |
| Math.max(args...) | Max of list of values | < , <= | Less than , Less than or equal | |
| Math.min(args...) | Min of list of values | > , >= | Greater than, Greater than or equal | |
| Math.pow(x,y) | x to the y power | == | Test for equality | |
| Math.random() | Random number (0..1) | != | Test for inequaltiy | |
| Math.round(x) | Round of x | === | Test for identity | |
| Math.sin(x) | Sine of x | !== | Test for identity | |
| Math.sqrt(x) | Square root of x | & | Integer bitwise AND | |
| Math.tan(x) | Tangent of x | ^ | Integer bitwise XOR | |
| | | Integer bitwise OR | |||
| Math.E | Natural exponent E | && | Logical AND | |
| Math.LN10 | Natural logarithm of 10 | || | Logical OR | |
| Math.LN2 | Natural logarithm of 2 | ?: | Conditional operator "condition"?"if true":"if false" | |
| Math.LOG10E | Base-10 log of E | |||
| Math.LOG2E | Base-2 log of E | |||
| Math.PI | Circle constant PI | |||
| Math.SQRT1_2 | Square root of 1/2 | |||
| Math.SQRT2 | Square root of 2 | |||