User programmable calculator.
Enter your program using javascript statements to define all of the output variables z1, z2, z3... in terms of the input variables x1, x2, x3.... and any previously defined variables. Each Javascript statement should be on a new line and must end with a semi colon ';' eg : z1 = x1 + 2 * x2;. Variables can also be referenced by index eg: for(i=0: i<3; i++){x[i] = sin(z[i]);}. Javascript can include the full range of programming constructs: if, else, for, while, as well as functions and objects.
Change the number of input and output variables on the setup page. Use the plot pages to plot the variables. Use the save page to save your program.
Tool Input
- c : Javascript
- x : Input Data
Tool Output