rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Elementary math error #2024

Open rtoy opened 4 months ago

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 17:33:24 Created by sslavi on 2016-03-10 18:53:57 Original: https://sourceforge.net/p/maxima/bugs/3106


Hi folks, something very odd is happening in the attached calculation. It is supposed to calculate the distance between two points A and C, through the formula sqrt( (Xc-Xa)^2 + (Yc-Ya)^2). Well, the numerical result of the calculation is dead wrong. Check the attached wxm file please.

Build info (running on Windows 7, 64-bit): wxMaxima version: 15.8.2 Maxima version: 5.37.3 Maxima build date: 2016-01-11 20:53:44 Host type: i686-pc-mingw32 System type: NIL NIL NIL Lisp implementation type: GNU Common Lisp (GCL) Lisp implementation version: GCL 2.6.11

This stuff scares the crap out of me, because I have adopted Maxima for engineering calculations we routinely do in our office. If confirmed as a bug, it can cast a big shadow on a number of important calculations I have done over the last 12 months. Any thoughts about this, please?

Attachments:

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 17:33:25 Created by sslavi on 2016-03-10 18:55:12 Original: https://sourceforge.net/p/maxima/bugs/3106/#3f31


I am also attaching here the screenshot of the output I am getting, in case you find out different values.

Attachments:

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 17:33:29 Created by sslavi on 2016-03-10 18:58:07 Original: https://sourceforge.net/p/maxima/bugs/3106/#1174


Sorry to everyone, please ignore and cancel this report, it is a typo in the calculation cell. This is one of those rare occasions when I am happy to have made an error. :) Sorry again.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 17:33:32 Created by robert_dodier on 2016-03-10 20:54:09 Original: https://sourceforge.net/p/maxima/bugs/3106/#9423