https://bugs.kde.org/show_bug.cgi?id=409472

            Bug ID: 409472
           Summary: Wrong result coming from calculator and plotter
           Product: kalgebra
           Version: 0.11
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: emaster...@gmail.com
  Target Milestone: ---

Created attachment 121313
  --> https://bugs.kde.org/attachment.cgi?id=121313&action=edit
You can see the wrong plot of the function x^(1/3)

SUMMARY
The software "KAlgebra" gives bad results both in the calculation mode and in
the graphical mode

STEPS TO REPRODUCE
1. Open KAlgebra
2. Go to the section "2D plot"
3. Then try to plot the following function: f(x) = x^(1/3), by writing in the
text box on the right, just below the word "Function". 
4. The result can be reproduced exactly in the same way by going to the section
"Calculator" instead of "2D plot" and trying to calculate the following
expression: (-2)^(1/3)

OBSERVED RESULT
The function plotted in the 2D plot is given in the attachment. For the
calculator mode we find the result 0.629960524947 

EXPECTED RESULT
The value of the result in the calculator mode should be -1.25992105 so the
result given was wrong both in the absolute value and in the sign. The correct
function plotted in the 2D plot should have been an odd function and for x < 0
should be negative 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 30
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to