HP Forums

Full Version: Bug or feature?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

HP49g+ v1.22

I have a function like this:

<< -> X 'FLOOR(pi/ASIN(1/X-1)))' >>

f(2) should be 2, but the calc says its 1.

Whats wrong here?


--
Jostein Trondal

Jostein posted:
"I have a function like this:

<< -> X 'FLOOR(pi/ASIN(1/X-1)))' >>

f(2) should be 2, but the calc says its 1.

Whats wrong here?"


I'm probably badly misinterpreting something, but Google's calculator says:

       pi / arcsin((1 / 2) - 1) = -6

Best regards from V.

Oops

try

<< -> X 'FLOOR(pi/ASIN(1/(x-1)))' >>


--
Jostein Trondal

.

Hmmm... Just a guess, but the calculator might compute pi/asin(1) as 1.99999999999 or so. Check what it returns when you omit the floor command.