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

HI,

This is something that happened in math class today. If you enter the equation, (-27)^(2/3), into your calculator, you will get an error. However, this should not happen. What happens when the equation is expanded and then solved?

(-27)^(2/3)

= ((-27)^(1/3))^2)

= (cubed root (-27)) ^ 2

= (-3) ^ 3

= 9

Using the original equation:

My calculator says, "Domain Error" Turing says, "Attempt to raise a negative number to a real exponent."

it returns 1 in Ruby Google calculator says, "(-27)^(2 / 3) = -4.5 + 7.79422863 i" I thought I would post this on a programming forum because I believe this is programming related and has to do with how calculators deal with powers. Does anyone understand why an error is occurring?

Any help will be apprecited.

I didn't find the right solution from the Internet.

References:

http://compsci.ca/v3/viewtopic.php?t=15472

Barcode Software Marketing Example

Thank you.

spadekevin Jun 25, 2018