Casual HP Prime help needed. - Page 1
Forum section: electronics / general

author: Ampera
author_rank: Super Contributor
timestamp: October 06, 2017, 06:06:21 pm
content: So I have the HP Prime, possibly the best non-PC portable calculator ever sold, but I want to graph (for kicks) Tupper's Self Referential Formula which is a bitmapping formula that will display various bitmaps at different locations on the graph.In theory, the HP Prime should be able to do this no problem, but I am having a bit of difficulty with it.To start off with, this is the formula as Wikipedia shows it:This shows two special functions as part of the formula, the Floor function, and the modulo function. Funnily enough, my calculator will graph the floor function just fine using this input:yielding this graph:all fine and dandy, but the Modulo function which is available on this calculator as MOD or irem with two arguments dividend,divisor. This works fine in the CAS screen, where it will function as a normal modulo function, but it refuses to graph properly in either the functional or advanced graphing menus, with the functional graphing just freaking out and producing this in the numeric view:from an input ofor an invalid object error from the same input into the advanced graphing menu, then producing a graph that looks like this:Anyways, besides this pointless rambling when I attempt to put Tupper's Self Referential Formula in, as such:(this is two images as the formula is too big to all fit into the screen of the HP Prime, but this is accurate)I am given a generic syntax error.and the cursor is placed here (which doesn't always mean anything)So I have 0 clue as to why this doesn't work. I also apologize for the large use of images, but they are very small, and take up 11k or less each, so it's not that damaging to people with metered connections. Any help would be appreciated, but this is just a funny test of my calculator. There are little to no resources for the HP Prime so anything that you may be able to add could help me out. Thanks.

author: rstofer
author_rank: Super Contributor
timestamp: October 06, 2017, 10:15:51 pm
content: irem works on integers.https://en.hpprime.club/docs/reference/irem

author: Ampera
author_rank: Super Contributor
timestamp: October 07, 2017, 02:52:27 am
content: That is actually quite useful. I found out that the MOD function is actually slightly different to irem, not just because irem is integer only, but MOD uses a different arrangement for arguments. Refactoring my entry a bit worked by placing the dividend on the left of the MOD statement and the divisor on the right.Unfortunately I have hit another roadblock, and this one I think impassable. The range of the graphing functionality of the calculator doesn't go past around 10^499, and doesn't allow integers in anything but scientific notation for a LOT smaller than that. The CAS menu can deal with these numbers just fine, but the moment I try to insert that into the plot setup it just spits out the highest number that a non-CAS HP calculator will use.However, I did get it to work, and that is the cool part. Thanks for your help, if you got any quick suggestions on how I can use CAS integers in plot setups, that would be appreciated, but I do not believe that to be possible. Thanks again.

author: bd139
author_rank: Super Contributor
timestamp: October 07, 2017, 10:06:34 am
content: Ugh I had a prime for a month. There are so many odd edge cases it’s unreal. The whole CAS vs not CAS thing is so unintuitive too. I went back to my 50g and sold it. To be honest most of the time I use python now on my laptop with sympy, matplotlib and scipy.

author: Ampera
author_rank: Super Contributor
timestamp: October 07, 2017, 02:02:43 pm
content: Quote from: bd139 on October 07, 2017, 10:06:34 amThat's strange. I absolutely LOVE my HP Prime and have 0 real issues with it. It's one of the best CASulators available to buy, and readily beats out Ti's offerings front to back.

author: rstofer
author_rank: Super Contributor
timestamp: October 07, 2017, 02:18:22 pm
content: I have the Prime and the TI Nspire equivalent - they both have great features. But I USE an HP 48GX. It doesn't have near the graphing capability but I don't use a calculator for graphing. I'm not in school so I don't have to have ultimate portability and, if I did, I would use my Surface Pro.If I want something quick and online, I use Desmos - this is a fantastic tool:https://www.desmos.com/calculatorSymbolab is a great calculus solver;https://www.symbolab.com/solver/calculus-calculatorIf I want something with a lot of math help, I use wxMaxima. Microsoft Mathematics also works well but not necessarily on hi-res displays. When it gets really ugly or even iterative, I use Fortran.Personally, I think wxMaxima should be a required course.

author: bd139
author_rank: Super Contributor
timestamp: October 07, 2017, 02:30:45 pm
content: The TI CAS is horrible I'll give you that. I had a month with an nSpire as well and it made me want to run it over

author: Ampera
author_rank: Super Contributor
timestamp: October 07, 2017, 03:51:44 pm
content: Quote from: bd139 on October 07, 2017, 02:30:45 pmI want to see every single Ti calculator burn in a great big fire for wasting people's money so bad, ESPECIALLY the 83 Plus for being 2 dollars worth of parts with a 100 dollar price tag.

author: bd139
author_rank: Super Contributor
timestamp: October 07, 2017, 04:35:51 pm
content: That’s not even the annoying thing with the 83 series. I don’t want to have to press shift to enter an exponent!

author: onlooker
author_rank: Frequent Contributor
timestamp: October 07, 2017, 05:06:57 pm
content: "),2" should be ",2)"

author: Ampera
author_rank: Super Contributor
timestamp: October 07, 2017, 05:25:38 pm
content: Quote from: onlooker on October 07, 2017, 05:06:57 pmPerhaps that was the issue, but as I previously stated, using the MOD function I was able to get that to work instead.The HP Prime technically only has one shift, unless you count the Alpha shift.

author: PartialDischarge
author_rank: Super Contributor
timestamp: October 07, 2017, 05:30:27 pm
content: If only it had an UNDO button to recover the stack values after a command.... and the inverse was a primary key not a secondary function... and the right cursor made the first two items in the stack to swap, as it was in the 48G...other than that I like it

author: Vtile
author_rank: Super Contributor
timestamp: October 07, 2017, 10:48:35 pm
content: Port NewRPL to Prime. It have eight level undo build in.

author: eugenenine
author_rank: Frequent Contributor
timestamp: October 08, 2017, 12:35:27 am
content: I'm partial to me 48sx but a good place for prime info is over herehttp://www.hpmuseum.org/forum/forum-5.html

author: Ampera
author_rank: Super Contributor
timestamp: October 08, 2017, 05:37:52 am
content: Quote from: eugenenine on October 08, 2017, 12:35:27 amI have a 48G and 50G. For the longest time they used to be my calculators of choice, but I am heavily enjoying the HP Prime. It had a perfect blend of a CAS and an RPN stack, with competent hardware and great features.