Issue with imaginary numbers

Issue with imaginary numbers - Сообщения

#1 Опубликовано: 14.03.2009 21:03:14
jas0nuk

jas0nuk

0 сообщений из 12 понравились пользователям.

Группа: User

Hi
Thank you for an excellent piece of software. Definitely the best Windows Mobile calculator I have found.
However I think I have found a slight issue with imaginary numbers

(-1)^(1/2) should give the answer as i
However it seems to add a small real number to the answer, giving

(-1)^(1/2) = 6.123*10^{-17} + i

Additionally, squaring i gives
 i^2 = -1 + 1.2246*10^{-16}*i
which should be -1
2*i^2=-4+4.8984*10^{-16}*i
should be -4, etc.

Regards
#2 Опубликовано: 15.03.2009 22:23:52
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: Super Administrator

This is not an issue. This is normal calculation errors of numeric methods. Please, take a look to the picture below:

This hapens because Mathcad, by default, shows all numbers, that less than 10^(-15) as 0. But SMath Studio doesn't do so - that's why you can see proper results in the similar examples... and that's why your finding is not an issue...
#3 Опубликовано: 15.03.2009 23:03:46
jas0nuk

jas0nuk

0 сообщений из 12 понравились пользователям.

Группа: User

So, it's a by-product of calculating imaginary numbers numerically.

Thanks for the explanation.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений