|
|
|
|
|
by adrian_b
1094 days ago
|
|
All mathematical formulas can be inter-converted based on the identity: e^(x + i*y) = 2^(x/ln2) * 1^(y/2Pi) Most formulae from textbooks are written in such a way to be simpler with e^x and its inverse, but it is almost always possible to move the constants ln2 and 2Pi between various equations so that in the end they will disappear from most relations, with the exception of the derivation or integration formulae. In most applications, more equations are simplified than those which become more complicated. A very important advantage of 2^x and 1^x versus e^x is that for the former the reductions of the argument to the principal range where the function is approximated by a polynomial can be done with perfect accuracy and very quickly, unlike for the latter. Moreover, for the former it is easy to verify the accuracy of any approximation, because for any argument that is represented as a binary number the functions 2^x and 1^x can be computed with a finite number of sqrt invocations (based on the formulae for half angle) and sqrt can be computed with any number of desired digits. Computing e^x with an arbitrary precision is trickier, because it requires criteria for truncation of an infinite series. It should be noted that 1^1.0 = 1, 1^0.5 = -1, 1^0.25 = i, 1^0.75 = -i |
|