HP Forums
same formula two diff results? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: same formula two diff results? (/thread-17449.html)



same formula two diff results? - OneRanger - 09-08-2021 02:42 AM

In the attached image, you see the same formula twice differing only by putting ()'s around the negative number to which the exponent is applied. Is there something I should know here? I can see how this could really bite someone in the backside.


RE: same formula two diff results? - Guenter Schink - 09-08-2021 02:56 PM

(09-08-2021 02:42 AM)OneRanger Wrote:  In the attached image, you see the same formula twice differing only by putting ()'s around the negative number to which the exponent is applied. Is there something I should know here? I can see how this could really bite someone in the backside.

Read Unary minus sign

Günter


RE: same formula two diff results? - Steve Simpkin - 09-08-2021 06:42 PM

(09-08-2021 02:42 AM)OneRanger Wrote:  In the attached image, you see the same formula twice differing only by putting ()'s around the negative number to which the exponent is applied. Is there something I should know here? I can see how this could really bite someone in the backside.

I believe this is because the Power operation has a higher precedence than the Negation operation. See the Prime's Algebraic precedence in the following post.

https://www.hpmuseum.org/forum/thread-17416-post-151645.html#pid151645