The Museum of HP Calculators

HP Forum Archive 19

 The xth root of y on the hp 35sMessage #1 Posted by Quan on 30 May 2009, 2:46 p.m. While quickly going through the first few chapters of the manual to get acquainted with the 35s, I came across an example on page 4-3 which shows the calculation of 3th root of -125 to be -5. This perked my interest since I was under the impression that taking any xth root of a negative number is not possible on the 35s. I performed the example, then tried calculating the xth of a handful of negative numbers. Conclusion? It only works if x is odd (and y can be any negative real numbers). If x is even, it will fail. The only condition mentioned on the page is that for y<0, x must be an integer. Can someone tell me why? My guess is that the condition should be for y<0, x must be an even integer. Thanks.

 Re: The xth root of y on the hp 35sMessage #2 Posted by Karl Schneider on 30 May 2009, 4:22 p.m.,in response to message #1 by Quan Quan -- "x-th root of y" on the HP-35s (and its predecessors HP-33s and HP-32SII) has a real-valued range and real-valued domain of x and y. The negative real-valued odd root of a negative number can be obtained. However, complex-valued roots cannot be obtained with the function, and complex-valued inputs are invalid. The domain and range of "y^x" do encompass complex numbers, but there are some peculiarities. Please see the following archived posts: -- KS Edited: 30 May 2009, 11:12 p.m.

 xth root of yMessage #3 Posted by Hal Bitton in Boise on 31 May 2009, 11:39 a.m.,in response to message #1 by Quan Hi Quan Since real valued roots are (apparently) all the 35S will return, and since a negative real number has 1 real odd root, that's what is returned. Since that same negative real has no real valued even roots (they're all complex), nothing is returned. All the even or odd roots of any number, real or complex, are relatively easy to come up with (DeMoivre's Theorum), but it would be nice if the calculator would just give them to you. If the 35s will solve for the zero's of a polynomial (I don't have a 35s, so I don't know), a workaround would be to transform to polynomial form and get the roots that way (cube root -8 would be (x^3 + 8), and the three cube roots (ie zero's) returned would be (in polar form) 2@60deg, 2@180deg (ie,-2), and 2@-60deg. Best regards, Hal

 Re: xth root of yMessage #4 Posted by Quan on 1 June 2009, 12:59 p.m.,in response to message #3 by Hal Bitton in Boise Karl, Hal: Thanks for the informative responses. I sometimes forgot and expected more from HP calculators to give me the answers. Regards, Quan

Go back to the main exhibit hall