Determinant calculation of 6x6 matrix

Determinant calculation of 6x6 matrix - Сообщения

#1 Опубликовано: 06.11.2014 04:24:32
agungsetyod

agungsetyod

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

Группа: User

I calculate determinant of a 6x6 matrix with smath and Excel, but the results are different. Whats the problem?
Question1.sm (3 КиБ) скачан 136 раз(а).
#2 Опубликовано: 06.11.2014 05:40:19
Mike Kaganski

Mike Kaganski

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

Группа: User

SMath gives -5.6406E-7
MS Excel/LibreOffice gives -1.7486E-7

If you use some online solvers, they give you other different results:
http://matrix.reshish.com gives -3.497202527569246e-7
http://www.bluebit.gr/matrix-calculator gives 0.000000437150316

...and so on...

Finally, WolframAlpha gives zero.

It is floating-point error side-effect, so this result should not be considered "erroneous"; when doing floating-point math you always should be prepared to such things. See relevant Wikipedia article, and especially this brilliant series: http://randomascii.wordpress.com/category/floating-point/
С уважением, Михаил Каганский
3 пользователям понравился этот пост
ioan92 06.11.2014 05:58:00, Davide Carpi 06.11.2014 06:51:00, Martin Kraska 06.11.2014 06:53:00
#3 Опубликовано: 06.11.2014 06:44:55
Martin Kraska

Martin Kraska

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

Группа: Moderator

Maxima gives the exact answer.
detmaxima.sm (6 КиБ) скачан 63 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Mike Kaganski 06.11.2014 07:20:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений