is there a formula to divde x by itself y times.
eg.
x=3
y=4
3/3/3/3
P.S. This is not my homework, it's for a complex dice roller program
Maybe this: \(\frac{x}{x^y}\qquad\text{which is equal to}\qquad x^{1-y}\)
Here, " 1 " is the number of x's that you want in the numerator, and " y " is the number of x's that you want in the denominator.
So for example, if y = 2 it becomes x/(x*x) = ((x / x) / x) = x / x / x
..........
This doesn't work on your example though.
If you want your example to work, just replace " y " with " (y - 1) "
Maybe this: \(\frac{x}{x^y}\qquad\text{which is equal to}\qquad x^{1-y}\)
Here, " 1 " is the number of x's that you want in the numerator, and " y " is the number of x's that you want in the denominator.
So for example, if y = 2 it becomes x/(x*x) = ((x / x) / x) = x / x / x
..........
This doesn't work on your example though.
If you want your example to work, just replace " y " with " (y - 1) "