Integral on HP 42S - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Integral on HP 42S (/thread-10594.html) Integral on HP 42S - lrdheat - 04-26-2018 08:10 PM Just received an HP 42S. What a beautiful calculator! If I want to integrate a function such as 5th root of x from -2 to 0, is there a way to do so? On the HP 35S, the x root y command is available for this. Is there a work around on the HP 42S? (Of course, there is no problem with x>0!) RE: Integral on HP 42S - Dieter - 04-26-2018 08:58 PM (04-26-2018 08:10 PM)lrdheat Wrote:  If I want to integrate a function such as 5th root of x from -2 to 0, is there a way to do so? On the HP 35S, the x root y command is available for this. Is there a work around on the HP 42S? (Of course, there is no problem with x>0!) What about this way: Code: ```LBL"FX" MVAR"X" RCL"X" SIGN LastX ABS 0,2 y^x x RTN``` The true result is –5/6 · 26/5. Dieter RE: Integral on HP 42S - lrdheat - 04-26-2018 11:28 PM Outstanding! Tried it on a mixed case that covers negative and positive results on 1/(5 root(x-1)) from 0 to 33. With accuracy of .001, it takes a while, but comes up with 18.73 on fix 2, close to actual value of 18.75 Works faster dividing into 2 integrals, one from 0 to 1, then from 1 to 33. Thanks!