Author Topic: Casual HP Prime help needed.  (Read 3822 times)

0 Members and 1 Guest are viewing this topic.

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Casual HP Prime help needed.
« on: October 06, 2017, 06:06:21 pm »
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 of



or 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.
« Last Edit: October 06, 2017, 06:13:47 pm by TwoOfFive »
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9935
  • Country: us
Re: Casual HP Prime help needed.
« Reply #1 on: October 06, 2017, 10:15:51 pm »
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Casual HP Prime help needed.
« Reply #2 on: October 07, 2017, 02:52:27 am »
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.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23096
  • Country: gb
Re: Casual HP Prime help needed.
« Reply #3 on: October 07, 2017, 10:06:34 am »
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.
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Casual HP Prime help needed.
« Reply #4 on: October 07, 2017, 02:02:43 pm »
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.

That'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.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9935
  • Country: us
Re: Casual HP Prime help needed.
« Reply #5 on: October 07, 2017, 02:18:22 pm »
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/calculator

Symbolab is a great calculus solver;
https://www.symbolab.com/solver/calculus-calculator

If 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.
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23096
  • Country: gb
Re: Casual HP Prime help needed.
« Reply #6 on: October 07, 2017, 02:30:45 pm »
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 :D
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Casual HP Prime help needed.
« Reply #7 on: October 07, 2017, 03:51:44 pm »
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 :D

I 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.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23096
  • Country: gb
Re: Casual HP Prime help needed.
« Reply #8 on: October 07, 2017, 04:35:51 pm »
That’s not even the annoying thing with the 83 series. I don’t want to have to press shift to enter an exponent!
 

Offline onlooker

  • Frequent Contributor
  • **
  • Posts: 395
Re: Casual HP Prime help needed.
« Reply #9 on: October 07, 2017, 05:06:57 pm »
"),2" should be ",2)"
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Casual HP Prime help needed.
« Reply #10 on: October 07, 2017, 05:25:38 pm »
"),2" should be ",2)"

Perhaps 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.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Offline PartialDischarge

  • Super Contributor
  • ***
  • Posts: 1626
  • Country: 00
Re: Casual HP Prime help needed.
« Reply #11 on: October 07, 2017, 05:30:27 pm »
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
 

Offline Vtile

  • Super Contributor
  • ***
  • Posts: 1146
  • Country: fi
  • Ingineer
Re: Casual HP Prime help needed.
« Reply #12 on: October 07, 2017, 10:48:35 pm »
Port NewRPL to Prime. It have eight level undo build in.  ::) :P
 

Offline eugenenine

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: Casual HP Prime help needed.
« Reply #13 on: October 08, 2017, 12:35:27 am »
I'm partial to me 48sx but a good place for prime info is over here http://www.hpmuseum.org/forum/forum-5.html
 

Offline AmperaTopic starter

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Casual HP Prime help needed.
« Reply #14 on: October 08, 2017, 05:37:52 am »
I'm partial to me 48sx but a good place for prime info is over here http://www.hpmuseum.org/forum/forum-5.html

I 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.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf