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

Guest Jun 23, 2017

#1**+3 **

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) "

hectictar
Jun 23, 2017

#1**+3 **

Best Answer

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) "

hectictar
Jun 23, 2017