(12C) Power of Negative Number - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C) Power of Negative Number (/thread-13983.html) |
(12C) Power of Negative Number - Gamo - 11-12-2019 08:08 AM Program to solve for Negative Base with Fractional Power X^Y can calculate as -X^(Fractional Y) Procedure: X [R/S] Y [R/S] answer Example: -55^(1/5) 55 [CHS] [R/S] display 55 5 [1/x] [R/S] display -2.2288 Example: 2^(-1/2) 2 [R/S] dispaly 2 2 [CHS] [1/x] dispaly -0.5 [R/S] 0.7071 Program: Code:
Remark: This program doesn’t calculate in the complex numerical form. Gamo |