HP Prime calculating bug

Hi, I'll get right to the issue i'm having with my HP Prime calculator.  Recently during an exam where i was calculating the moments of inertia of certain bodies i encountered what i can only describe as a bug in the software because I can't figure any other reason why it would kick out the answer it did for such a seemingly simple function.  After I had done all the laboreous work of simplifying the differential equations I just needed to add some simple fractions.  As i have been operating this calculator for several weeks now, the only way i can get it to show a fraction in exact form is to type (number) / (number) and it shows it in exact form.  In my case and for this particular calcuation I input (3/20) - (1/7) "enter".  the answer Prime gave me was noticably unsimplified given that i needed it in simplified form.  although the numerical, non-exact value was almost correct (.00714285714309 instead of the correct value of .00714285714286), generally Prime kicks out a simplified value.  What it gave me was 214500215/30030030099 instead of 1/140.  i'm just curious if i need to do something different to get a simplified/correct answer on the first go rather than having to do a work-around.
Thanks in advance

If you want an exact and simplified answer on the first go, do your calculation in CAS view rather than Home view. Try this experiment.
1. Go to CAS view, and enter your calculation (3/20)-(1/7). The Prime will respond with 1/140, the exact answer. Now press the a b/c key. The Prime will respond with 0.00714285714286, the approximate decimal equivalent. Keep pressing the a b/c key, and the Prime will toggle between the two answers.
2. Now try the same steps in Home view. The Prime will toggle between 0.007142857143 and 214500215/30030030099.
Remember, the true decimal value for 1/140 is an infinite repeating number. Since every calculator can store only a finite number of digits, it must truncate the value after a set number of digits, and this introduces a small error. The big fraction you got in Home view is not wrong, and it's certainly not a bug. It's just that Home view is not designed to handle exact values. The CAS, on the other hand, is designed to handle exact values, so when you tell it to show an approximate answer, its decimal form will be closer to the exact value, namely, 1/140.
The moral of the story is, use CAS view when you want exact values and Home view when you want approximate values. I tell my students to use fractions whenever possible (since those are usually exact) rather than converting them to decimal values. It's far easier to use 1/3 than 0.33333....[infinite number of 3s go here].

Similar Messages

  • Prime calculator - Bugs

    I have discovered several bugs in the latest firmware. They are:
    If you chose "Digit Grouping" containing spaces or other signs, the solver stops working for larger numbers than 999...
    It is no longer possible to plot more than one function. If I check two or more, the plot funtion reply "no function checked"...
    /Hans

    Hi,
    These problems have been reported here:
    http://www.hpmuseum.org/forum/thread-1443.html
    http://www.hpmuseum.org/forum/thread-1705.html
    http://www.hpmuseum.org/forum/thread-1565.html
    Regards.
    Note: I do not work for HP, I just like playing with calculators :-)

  • Calculator bugs

    The standard Mac Calculator v4.2 (the lastest version as of writing) has some basic bugs it seems...
    Try typing each of these. I'm using 15 decimal places in scientific mode, in Degrees, not in Reverse Polish (RPN) mode:
    1E1, x^2, x^2 Produces "Error" but 10, x^2, x^2 succeeds
    1,1/x,x!,x! Produces "Error". Fails on other initial numbers too.
    2,1/x,cos,cos Produces "Error".
    2,1/x,=,cos,cos is OK though.
    Similarly x!,1/x,x!,x! produces "Error"
    2,M+ causes all functions on the left (trig, power, exp etc) to stop (presumably this is as designed). But you can still press 1/x, if you press it before any other buttons.
    Any number,y^x,PI,= gives the result as PI
    Any number,y^1/x,PI,= gives the result as PI
    Any number 'q',y^x,RN,= gives the result as RN + 10q for q < 1E16
    Any number 'q',y^1/x,RN,= gives the result as RN + 10q for q < 1E16
    1E16,=,y^x,RN,= gives the random number, but 1E16,-,M+,C,MR,y^x,RN,= gives "1e+17"
    1E16,=,y^x,RN,= gives the random number, but 1E16,-,M+,C,MR,y^x,RN,= gives "1e+17"
    9.99999999999999E127, =, =, = Produces odd results: "1E+128","Not a Number","Error"
    And finally a harder one to get right:
    1E22,sin (in radians) gives 0 but the correct answer is -0.8522008497671888017...
    All the above work fine on the standard calculator for another OS I could mention. The command line 'bc' tool would work fine too I imagine.

    typewriter wrote:
    I'll add one more MAJOR calculator bug to the list.
    The trig functions are completely wrong.
    Examples :
    COS(135) --> .707 (in degrees - should be negative)
    I get - 0.707
    COS(3) --> .989 (in radians - should be negative)
    I get -0.99
    SIN(-45) --> .8509 (degrees - should be negative)
    I get -0.7091 - you are still in radians mode and even there the answer I get is -0.8509
    Wrong wrong wrong. I can't even conceive HOW these could go wrong. Wouldn't the COS button on the calc just use the cos() function in the code?
    You are correct about being wrong, but I cannot duplicate it on my calculator. The error is on your system. I believe you have a corrupt file somewhere.
    And after pressing the Cos button:
    Message was edited by: nerowolfe
    Message was edited by: nerowolfe

  • Prime calculator stuck in radians?

    Hi there, this is my first post on this forum site and hopefully I do all this correct. But my question is how do you switch between radians and degrees (as far as modes) on the HP Prime calculator? I thought it was touch the top right corner and then touch either of the symbols? I could have swore that was the way i did it before; but today when I went to switch to degrees the screen was unresponsive when that drop down menu would appear. So then from the CAS screen I went into settings and tried to change the mode there, and I could select between the two but when I would go back to the CAS screen and then back to the settings screen to see if it did indeed stay, the drop down bar would say radians again... I've tried the reset button on the back and no luck. Is there some setting that I might have turned on so it won't change between modes? I also haven't messed with the firmware at all; all I've done is take it out of the box and charge it up and use it. I've had it now since about last November and as far as I can remember this function used to work.
    Ok update if anyone reads this ... I have found that within the app "function" I can not switch between radians/degrees. I am just currious as to why im not able to do so if anyone would like to comment?
    Thanks, Nick
    This question was solved.
    View Solution.

    Here's one possible reason for what you were experiencing.  Each app can have its own private radian/degree setting in the "Symbolic Setup" screen.  (Shift Symb)  When an app has the angle mode set here, it usually cannot be changed elsewhere.  To restore your ability to set the angle mode in the usual three places (Home Settings, CAS Settings, and the battery icon popup box), press Shift Symb and change the angle setting there to "System".
    -Joe-

  • HP Prime - another bug with Ans

    Ans used in approx(Ans) return not last answer. Software Version: 2014 3 31 (6030)

    Hi,
    I actually see 2 problems in that screenshot:
    Firstly:
    and:
    so there is confusion between what the Prime displays and what it interprets. An old problem still not properly addressed.
    Secondly:
    The last answer is the maximum value for a Double Precision Floating Point. So something is going wrong and it just spits out what I assume to be MAXREAL (which I thought was the CAS limit, the HOME limit being 9.99999999999E499).
    I suggest you post your bug reports on one of the following forums, which are read by HP calculator team members:
    http://h30499.www3.hp.com/t5/Calculators/bd-p/bsc-408
    http://www.hpmuseum.org/forum/forum-5.html
    Regards.
    Note: I do not work for HP, I just like playing with calculators :-)

  • HP PRIME : convert() bug in CAS mode (firmware 8151)

    Hello,A bug appears when trying to convert units in CAS mode.how to reproduce: go to CAS mode,type: CONVERT(0_K,1_°C)and you will get this result : −272.15_(譕菬⓬璡扱㌁觅ﱅ譖౵譗ࡽ亊訂Ⓛ㰏甃Ⴡʹヲ謆၏ҡ抹謁袔ॄ) as you see somthing goes wrong in unit name... for info : It's the most recent firware (from july 2015) 8151. 

    Please let us know some examples of expressions that you tried, what you expected, and what happened instead.  ALSO please let us know what modes your Prime is in (e.g. RPN Entry mode, or CAS view), because Prime behaves very differently depending on the Home Settings and CAS Settings.  Which app is the currently active app (shown in the display's title bar) can also alter Prime's behavior.  When you let us know these things, we'll be able to discern why you are getting syntax errors.
    If I were a betting man, I'd wager a nickel that the problem is due to your Prime being in RPN mode.  If so, you have to use RPN syntax, not algebraic syntax.  Example: 5_ft, Enter, 1_in, Enter, CONVERT --> 60_in (just like on your HP 48).  Do I win a nickel?
    Disclaimer: I do not work for HP. I'm just another happy HP calculator user.
    -Joe-

  • Hp prime calculator Cannot Solve simple equation

    Hello,
    I'm trying to solve
     solve( (2)^x = (x)^2,x)
    But the calculator cannot solve or am I doing somthing wrong?.
    I lost my TI Nspire CX and I though that HP Prime, since is a recent modern version, were able to solve something simple as that, I am wrong. (TI Nspire solved it ).
    How solve the above equation using the HP Prime? I'm seriusly thinking to return this back.
    Thank you
    This question was solved.
    View Solution.

    Oops!  Quite right.  In general, all symbolic math work should be done in the CAS; that's what it's for.  Home is intended for ordinary number-crunching, not symbolic math.  Sorry for not pointing that out.
    -Joe-

  • HP Prime CAS bug

    Hello,
    I have been using the HP Prime to solve basic algebraic problems. I think this is a bug in the CAS system.
    If you have set in the CAS settings "Use i" and you need to simplify the equation
    sqrt(x^3*y^2)
    the HP prime produce the wrong answer
    -x*y*sqrt(x)
    But if you remove the "Use i" option from the CAS settings and use the simplify command the answer is correct:
    abs(x)*abs(y)*sqrt(x)
    I hope there is a new firmware release soon, with situations like this, it is really hard trust the answers provided by the HP Prime. So be ready to check always by hand that any algebraic operations done using your HP Prime are correct; the good part is that nobody can say that you are not practicing a lot your algebra with your HP Prime.
    Thank you
    ragoreco

    Hi,
    I suggest you post your question on one of the following forums, where members of the Prime design team post too:
    http://h30499.www3.hp.com/t5/Calculators/bd-p/bsc-408
    http://www.hpmuseum.org/forum/forum-5.html
    Regards.
    Note: I do not work for HP, I just like playing with calculators :-)

  • Prime calculator language keyword index

    Where can I find a complete index to every keyword that is supported in the Prime programming language.
    TI 84 plus manual had a very nice keyword index that included syntax in their manual. I'd love to see something similar.
    I'm looking, for example, for a keyword like TIMER which tracks the number of seconds since midnight in some languages.
    But I'm also wanting the full index so I can find things easier than trying the index to the online manuals, each of which I've downloaded and printed.
    John

    (1) On the calculator, press Toolbox, Catlg.  They're all there in alphabetical order.  When one is highlighted, press the Help key for information about that command or function.
    (2) In the User Guide, the commands used in programs are found on pages 521 (near bottom) through 551 (near bottom).
    (3) Although TICKS behaves differently on the physical calculator and on the emulator, it might be what you want to replace the TIMER command you're familiar with.  Or try HMS→(Time), and be sure to spell Time exactly like that (mixed case).  HMS→ is a function (in the Toolbox catalog) but Time is a system variable (press Vars, select the Home tab, highlight Time, and press Help).
    The above assumes that you have firmware rev 6975 installed.  If not, be sure to upgrade ASAP.
    Thank you, Joe,
    (1) I had discovered Catlg, but had not thought to use the HELP key to get more information. Thanks.
    (2) I must have a different version of the User Guide, 527-579 in my copy.  Edition 1, part number NW280-2001, copyright 2013. Thank you, though, because I had not found that section. Since I printed it, I probably won't bother printing it again. But when I'm at the computer, I could try search and find.
    (3) Both of these can work. Probably will use TICKS since it returns an integer. Interesting that TICKS does not show up in the Catalog, nor does Time. 
    Yes, 6975 is my current version. Took me awhile to remember how to see it. My biggest surprise so far is that I can calculate the exact value of 1000! in CAS mode. What I'd use it for? Not much.
    Thanks for your help.

  • HP PRime Calculator - RPN active - 'Get Home' in CAS do not work

     Firmware version : 20150617 v8151 If I have RPN active in home view, when in CAS I press Menu->Get Home, the list of values that are shown are of the Textbook setting.The virtual calculator has the same problem. RPN Screen:   CAS Screen:  

    Hi,
    I would suggest you try:
    http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/forum.cgi
    there is some discussion there about about starting a bug reporting forum. A feature request section would be a useful part of that too.
    You can also try the comp.sys.hp48 newsgroup. The GoogleGroups link:
    https://groups.google.com/forum/#!forum/comp.sys.hp48
    Regards.
    Note: I do not work for HP, I just like playing with calculators :-)

  • WONKY calculation bug in Numbers 3.0.1

    Hi,
    This is wonky. It's a bit hard to explain in words, so best see the attachment to understand. You can download the attachment here: https://app.sugarsync.com/iris/wf/D162135_83773729_7822834
    Basically, I have a number in each of A1, B1, and C1. The numbers have up to 2 decimals.
    D1 contains the following formula: A1 - SUM( B1:C1 ), giving the result 19782.10.
    E1 contains the number 19782.10.
    F1 contains the formula D1 - E1.
    The answer should be 0.00. Instead, it reads 0.00000000000363797881....
    There is no inputted number anywhere with more than 2 decimal places. Clearly there is some kind of bug. The funny thing is if I change the formula in D1 to A1 - B1 - C1, then I get 0.00.
    I've also tried changing the numbers in A1, B1, and C1 and then adjusting E1 accordingly. With very few exceptions, I get the correct 0.00. There is something about those particular numbers running through the SUM formula that produces the ghost decimals.
    Of course, errors to the 12th decimal aren't going to throw off my spreadsheet too badly. But I have to wonder if these bugs are coming up in such simple math, what else is wonky in Numbers 3.0?
    When I get weird results in my math, I like to be able to assume it is because of my error. Knowing that Numbers is wonky is going to add a lot of uncertainty to complex troubleshooting in my formulas.
    What's the deal? Any ideas?
    A

    Hello
    Here's a brief anatomy of 1.1 - 1.0 - 0.1 = 8.32667268468867E-17 and 1.1 - 0.1 - 1.0 = 0.0.
    legend
        s = sign (0 => +, 1 => -)
        e = exponent (bias = 0x3ff = 1023)
        m = mantissa (hidden bit is explicitly represented; integer bit (1/0) in mantissa is hidden bit)
    1.1 = 3ff199999999999a := {s = 0; e = 3ff; m = 1.199999999999a}
    1.0 = 3ff0000000000000 := {s = 0; e = 3ff; m = 1.0000000000000}
    0.1 = 3fb999999999999a := {s = 0; e = 3fb; m = 1.999999999999a}
    1.1 - 1.0 = 3fb99999999999a0 := {s = 0; e = 3fb; m = 1.99999999999a0}
        3ff199999999999a - 3ff0000000000000
        = {s = 0; e = 3ff; m = 1.199999999999a} - {s = 0; e = 3ff; m = 1.0000000000000}
        = {s = 0; e = 3ff; m = 0.199999999999a}    [1]
        = {s = 0; e = 3fb; m = 1.99999999999a0}    [2]    # e -= 4; m << 4
        = 3fb99999999999a0
        = 2 ^ (0x3fb - 0x3ff) * 0x1.99999999999a0
        = 2 ^ (1019 - 1023) * 1.600000000000001421085471520...
        = 2 ^ -4 * 1.600000000000001421085471520...
        = 0.100000000000000088817841970...
    1.1 - 1.0 - 0.1 = 3c98000000000000 := {s = 0; e = 3c9; m = 1.000000000000}
        3fb99999999999a0 - 3fb999999999999a
        = {s = 0; e = 3fb; m = 1.99999999999a0} - {s = 0; e = 3fb; m = 1.999999999999a}
        = {s = 0; e = 3fb; m = 0.0000000000006}    [1]
        = {s = 0; e = 3c9; m = 1.8000000000000}    [2]    # e -= 50; m << 50
        = 3c98000000000000
        = 2 ^ (0x3c9 - 0x3ff) * 0x1.8
        = 2 ^ (969 - 1023) * 1.5
        = 2 ^ -54 * 1.5
        = 8.32667268468867E-17
    1.1 - 0.1 = 3ff0000000000000 := {s = 0; e = 3ff; m = 1.0000000000000}
        3ff199999999999a - 3fb999999999999a
        = {s = 0; e = 3ff; m = 1.199999999999a} - {s = 0; e = 3fb; m = 1.999999999999a}
        = {s = 0; e = 3ff; m = 1.199999999999a} - {s = 0; e = 3ff; m = 0.199999999999a}    [3]
        = {s = 0; e = 3ff; m = 1.0000000000000}
        = 3ff0000000000000
        = 1.0
    1.1 - 0.1 - 1.0 = 0000000000000000
        3ff0000000000000 - 3ff0000000000000
        = {s = 0; e = 3ff; m = 1.0000000000000} - {s = 0; e = 3ff; m = 1.0000000000000}
        = {s = 0; e = 0; m = 0.0000000000000}    [4]
        = 00000000000000
        = 0.0
    [1] This is not normalised form with hidden bit = 0
    [2] This is normalised form with hidden bit = 1
    [3] the 2nd term is not normalised form; LSB of mantissa of the 2nd term is result of rounding.
    [4] +0
    Cheers,
    H

  • E72 - Arabic Calculator Bug Info

    For ARABIC USERS who cant use their calculators on E72:
    Menu>Ctl. Panel>Settings>General>Personalisation>Language:
    Phone Language: Arabic
    Writing Language: English
    Number Format: Arabic or English
    *Notes:
    - The Number format option will only be visible if the phone language is set to ARABIC.
    - The calculator will work in ARABIC if the 'Writing Language' will be set to ENGLISH, and the number format set to ARABIC
    Hope this helps the arabic users. And I hope that this thing gets fixed on the next firmware release.
    E71-1 (40) || RM-346 || 400.21.013

    /t5/Software-Updates/Language-changed-or-missing-after-software-update-sticky/td-p/265903
    And its not a good idea to post IMEI number on a public forum.
    Previous Phones: 6600, 7610, 6230, 6230i, 1100, 1112, N70, N73, N95, N95 8GB, 5800XM, 5230, C5, iPhone 3GS, SE Xperia X10, N900, N8, SE Xperia Arc
    Current Phones: Nokia N9, iPhone 4

  • Calculator bug in 10.6.4

    If I press 1, then << several times, I can't exceed 1024, it loops to 2... This never happened before the 10.6.4 update. Am I the only one to experience that?

    Probably, since it works here. Move the com.apple.calculator.plist file out of your /Library/Preferences/ folder onto the Desktop, log out and back in, and try again. If that fixes things, delete the moved file.

  • HP Prime Calculator resetting itself.

    As the title suggests, I have an HP Prime that keeps resetting itself when I press the 'num' button. It doesn't reset when I push 'shift' 'num' though. I don't know if I messed something up somehow becuase this button use to work fine. Any help would be great.
    Thank you in advance,
    Nick
    This question was solved.
    View Solution.

    Sorry about the trouble you're having updating your Prime's firmware.  The process seems to be finicky about which USB port it likes and which USB ports it doesn't like.  It prefers ports on the computer over those on a hub, and prefers the computer ports which are the closest to the motherboard.  Usually.  But it's finicky and impossible to predict.  If paperclip-resetting your Prime and trying to update through a different USB port doesn't work, then perform the following emergency procedure:
    1. Make sure your Prime is in "recovery mode".  If the Connectivity Kit left it in recovery mode, you're ready for step 2.  Otherwise, force your Prime into recovery mode by pressing and holding down the Symb key, then poking a paperclip into the reset hole in the back, then releasing the Symb key.
    2. Make sure that the Connectivity Kit is not running, and make sure that the Prime is connected to the computer with the USB cable.  Best results are obtained by using the USB port closest to your motherboard.
    3. On your PC, navigate to the installation folder of the Connectivity Kit.  It's different on different computers, but on mine it's here:
    C:\Program Files\Hewlett-Packard\HP Connectivity Kit
    In that folder, you'll see a program called "Updater.exe".  Run that program directly by double-clicking it.  This should perform the update directly, bypassing the finicky Connectivity Kit.
    Hope this works!  It has always worked when the Connectivity Kit was scorning me.
    -Joe-

  • WP8.1 calculator bug

    Using the build-in calculator I get two different answer for the same input.
    Try this on you WP8.1
    14 x 3600 + 7 x 60 + 5 = 3024425 (wrong)
    Now try in landscape mode.
    14 x 3600 + 7 x 60 + 5 = 508225 (correct)
    Whats going on.
    You can also try this:
    2 + 1 x 0 = 0
    2+ 1 x 0 = 2 (landscape correct)
    Order of precedence should be the same regardless of the orientation.

    Normal mode
    (((14 x 3600) + 7) x 60) + 5 = 3024425
    Landscape mode
    (14 x 3600) + (7 x 60) + 5 = 50825
    Yep. If you don't want issues use parentheses. Anyway, the two solutions are correct.
    First one is using one variable where the calculator store the result of one binary operation and after do the same with this variable and the next operand.
    Landscape mode use more than one variable.

Maybe you are looking for

  • Error in call of IDOC adapter

    Hi! I am facing with very strange IDOC error in adapter call. Can some one help me to solve this problem please? - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand=""> <

  • How do you pass a string into xml

    How do we pass a string to be parsed as xml something like DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); oc = docBuilder.parse (String s); Thanks Arnold

  • Maintaining the BI user

    Hi, I have ERP EHP4 system -ABAP only   and NW EP/BI 7.3 -Java only    and NW bw7.3 -ABAP only. I have SID: LD4 ERP 6.0 EHP4 as ABAP Source system. ERP ABAP system is connected to Java - BI-EP (SID:LD7). LD7:EP-Java will use the LD4 ERP 6.0 EHP4 ABAP

  • CCM 2.0 Document

    Hi, Can somebody send me CCM2.0 training materials? It will be very helpful if some examples are included as well. I need to explore more on how to define schema and manage content. Really appreciate! Elly

  • Adobe flash player was blocked for installation

    Anyone have trouble loading new adobe flash player?