We use cookies to personalise content and advertisements and to analyse access to our website. Furthermore, our partners for online advertising receive pseudonymised information about your use of our website.
Please click on "Accept cookies" if you agree to the setting of cookies. Cookies that do not require consent remain unaffected by this, see
cookie policy and privacy policy.
DECLINE COOKIES

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