You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
3.2 KiB
Plaintext

symat.notify("")|Display a message in a box.
symat.ask("")|Ask a question in a box. Supply question text.
symat.diff('',"x")|Find the derivative of the function passed with respect to the second argument.
symat.integrate('',"x")|Find the integral of the function passed with respect to the second argument.
symat.rad(0)|Convert a given number in degrees to radians.
symat.deg(0)|Convert a given number in radians to degrees.
symat.subs("","x","0")|Solve an equation by replacing the second argument with the third.
symat.simplify('')|Simplify the given function.
symat.vpa('')|Computes numerical value or simplifies.
symat.plot()|Show the plot window.
symat.plot('')|Graph the given function.
symat.plotname("")|Sets the title of the graph window.
symat.plotname()|Gets the title of the graph window.
symat.xlim(min,max)|Sets the x-axis min and max values. Cannot be used after a formula has been graphed.
symat.plotclr()|Reset the graph.
symat.drawdot(x, y)|Places a dot at the given coordinates.
symat.readfile("")|Read a text file from the given filename.
symat.savefile(data,"")|Save the text data to a file.
symat.save(key,val)|Save the text val to text key.
symat.load(key)|Load the saved text related to key.
symat.rand()|Random fraction from 0 (inclusive) to 1 (exclusive)
symat.rand(min,max)|Random number between min and max, inclusive
symat.randb()|Random boolean (true or false)
symat.perms(items)|Array of all possible combinations.
symat.add(n1,n2,...)|Add the given numbers.
symat.subtract(n1,n2,...)|Subtract the given numbers.
symat.times(n1,n2,...)|Multiply the given numbers.
symat.divide(n1,n2,...)|Divide the given numbers.
symat.mod(n1,n2,...)|Divide the numbers and return the remainder.
symat.factorial(n)|Get the factorial (n!) of n as a string.
symat.factor(n)|Get an array of all the factors of n.
Math.abs(0)|Absolute value of number.
Math.asin(0)|Arcsine of number.
Math.acos(0)|Arccosine of number.
Math.atan(0)|Arctangent of number.
Math.ceil(0)|Round the number up to the next integer.
Math.exp(0)|e^x.
symat.gcd(a,b)|Find greatest common divisor of a and b.
Math.floor(0)|Round the number down to the next integer.
Math.log(0)|Natural log of number.
Math.max(0,1,...)|Returns the highest number given.
Math.min(0,1,...)|Returns the lowest number given.
symat.powermod(a,b,m)|Find pow(a,b) mod m, or modular inverse if b=-1.
Math.pow(x,y)|Raise x to y and calculate.
Math.sin(0)|Find the sine.
Math.cos(0)|Find the cosine.
Math.tan(0)|Find the tangent.
symat.sinh(0)|Find the hyperbolic sine.
symat.cosh(0)|Find the hyperbolic cosine.
symat.tanh(0)|Find the hyperbolic tangent.
symat.sec(0)|Find the secant.
symat.csc(0)|Find the cosecant.
symat.cot(0)|Find the cotangent.
symat.sech(0)|Find the hyperbolic secant.
symat.csch(0)|Find the hyperbolic cosecant.
symat.coth(0)|Find the hyperbolic cotangent.
print("")|Prints the supplied text or formula to the output.
symat.solve(f,'x',0)|Solve function f for 'x' when it equals 0.
symat.solve(f,'x')|Solve function f for 'x', assuming equal to 0.
symat.solve(f)|Solve function f, assuming 'x' and 0.
symat.printa(array)|Get array contents as text.
symat.primes(n)|Find all prime numbers up to n.
symat.filedialog()|Open a file chooser and return the chosen file path.