Post Reply 
HP Prime: a student's view
08-31-2021, 01:30 AM
Post: #5
RE: HP Prime: a student's view
TheLastMillennial Wrote:To avoid the flickering, press and hold [on]+[shift] then press [+] or [-] repeatedly. That will adjust the screen refresh rate and mitigate the flickering. It will go from 55hz at the lowest to 125hz at the highest.

Yep, that works. It looks way better, and scrolling is much smoother. On that subject, is there a table or something explaining all the [on]+key codes? The only ones I know of are [shift]+[on] together for coma mode and [on]+[symb] to warmstart (or whatever it's called on the Prime).

TheLastMillennial Wrote:If the charging indicator is gone then it's done charging.

I don't think the charging indicator on mine ever vanished. I won't check again, though, until it needs a charge, so we'll have to wait and see.

toml_12953 Wrote:I ran a Python translation of the C program on that site on a TI-84 Plus CE Python and got an index of 2302.74. Not bad for a cheap school calculator.

I'm curious, how cheap is "cheap"? $120?

toml_12953 Wrote:Could you post the Python code you ran to get 490,000?

Sure. I converted mine from the PPL version on thimet's Prime page.

Code:
from math import *
def perf_ind():
    for i in range(100000):
        for l in range(10):
            x = l
            x += 1
            x -= 4.567e-4
            x += 70
            x -= 69
            x *= 7
            x /= 11
       x = log(x)
       x = sin(x)
       x = sqrt(x)
       x = sqrt(x)

I then used a different Python file to run ticks, the function, and calculate the difference. I do the math to convert the sampled time into a performance index by hand. Importantly, my code uses just for loops and range(), so there isn't any operation to decrement a counter nor check its value. Could this be making an incorrect value?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime: a student's view - Liam Hays - 08-30-2021, 01:11 AM
RE: HP Prime: a student's view - Liam Hays - 08-31-2021 01:30 AM
RE: HP Prime: a student's view - parisse - 08-31-2021, 07:30 PM
RE: HP Prime: a student's view - Liam Hays - 08-31-2021, 11:20 PM
RE: HP Prime: a student's view - jte - 09-01-2021, 10:43 PM
RE: HP Prime: a student's view - Liam Hays - 09-03-2021, 01:31 AM
RE: HP Prime: a student's view - jte - 09-05-2021, 03:44 PM
RE: HP Prime: a student's view - jte - 09-05-2021, 06:16 AM
RE: HP Prime: a student's view - pinkman - 09-03-2021, 09:30 PM
RE: HP Prime: a student's view - Liam Hays - 09-04-2021, 01:30 AM
RE: HP Prime: a student's view - Liam Hays - 09-04-2021, 04:49 PM
RE: HP Prime: a student's view - ijabbott - 09-04-2021, 08:44 AM



User(s) browsing this thread: