Info for the graphing calculator I made on roblox.
You can use all of the roblox math functions in this game. Just remove the “math.” in front of the function.
There are also some custom functions and constants listed down below.
- e
Euler’s number - tiny
1e-10. Useful for getting the derivative of functions manually - sec(x)
Secant function. Returns 1/math.cos(x) - csc(x)
Cosecant function. Returns 1/math.sin(x) - cot(x)
Cotangent function. Returns math.cos(x)/math.sin(x) - ln(x)
Natural logarithm function. Returns math.log(x, e) - sum(i, n, x)
Summation (kinda faulty at the moment since you can’t use i in the third argument)
i: lower index
n: upper index
x: argument - prod(i, n, x)
Product operator (same problem as summation currently)
i: lower index
n: upper index
x: argument - gam(x)
Gamma function. Returns the generalised factorial of x - sqrt(x, n)
Returns the n root of x
THE FOLLOWING FUNCTIONS REQUIRE AN ARRAY INSIDE TO BE USED
Example: f({2, 3, 4})
They allow any amount of arguments
- min(a)
returns the smallest value inside the array - max(a)
returns the biggest value inside the array - mean(a)
returns the mean of all the values inside the array - median(a)
returns the median of all the values inside the array
Extra:
If you find a bug please send a message to my roblox account stating what the bug is
Sigma & Pi notation are very hard to fix so i will not be focusing fixing them currently. If anyone with a bunch of scripting experience wants to fix them, please message me on roblox.