|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #56062] Strange result solving a simple problem |
Date: | Tue, 2 Apr 2019 16:12:33 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
URL: <https://savannah.gnu.org/bugs/?56062> Summary: Strange result solving a simple problem Project: GNU Octave Submitted by: None Submitted on: Tue 02 Apr 2019 08:12:32 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 4.2.2 Operating System: GNU/Linux _______________________________________________________ Details: Solving this problem gives very strange results: https://www.youtube.com/watch?v=II61QgawnYQ Can such a big difference be due to rounding errors? >> format long;(8+3*sqrt(21))^(1/3)+(8-3*sqrt(21))^(1/3) ans = 3.68693177121688 + 1.55130078140622i >> format long;(8+3*sqrt(21))^(1/3)+-abs(8-3*sqrt(21))^(1/3) ans = 1 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56062> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |