Menu

#3106 Elementary math error

None
wont-fix
nobody
5
2016-03-10
2016-03-10
sslavi
No

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?

1 Attachments

Discussion

  • sslavi

    sslavi - 2016-03-10

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

     
  • sslavi

    sslavi - 2016-03-10

    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.

     
  • Robert Dodier

    Robert Dodier - 2016-03-10
    • status: open --> wont-fix
     

Log in to post a comment.