1 страниц (3 вхождений)
Determinant calculation of 6x6 matrix - Сообщения
#1 Опубликовано: 06.11.2014 04:24:32
I calculate determinant of a 6x6 matrix with smath and Excel, but the results are different. Whats the problem?
Question1.sm (3 КиБ) скачан 152 раз(а).
Question1.sm (3 КиБ) скачан 152 раз(а).
#2 Опубликовано: 06.11.2014 05:40:19
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/
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 пользователям понравился этот пост
#3 Опубликовано: 06.11.2014 06:44:55
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
1 страниц (3 вхождений)
-
Новые сообщения
-
Нет новых сообщений