Re: Cubic root (-8) = 2 ? Message #7 Posted by Csaba Tizedes (Hungary) on 6 Aug 2013, 3:14 a.m., in response to message #6 by fhub
:D
Of course, 1/3 = 2/6 is true, BUT (-8)^(1/3) = (-8)^(2/6) is NOT true.
(-8)^(1/3) == ((-8)^(1)) ^ (1/3) == (-8) ^ (1/3) = -2
(-8)^(2/6) == ((-8)^(2)) ^ (1/6) == (64) ^ (1/6) = +2
My english is not very good, so one another example for clarification:
A little BASIC program:
10 REM This program will be calculate logarithm of (-5)
20 A=-5
30 PRINT LOG(A);
a.) The error as Gilles seems: "Everithing is fine, I do not understand why Line 30 is wrong because of LOG() ?!??!"
b.) The error as an interpreter seems: "Line 30 is wrong because of LOG(neg)"
c.) The error as Harald, Reth, fhub seems: "Line 30 is wrong because of LOG(neg)"
d.) The error as a smart compiler seems: "Line 20 is wrong because of A is negative and this will cause error in Line 30 as LOG(neg)"
e.) The error as I see: "Line 10 is wrong. This idea causes all trouble below." ;)
Csaba
Edited: 6 Aug 2013, 3:20 a.m.
|