HP Forums
Bug or feature? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Bug or feature? (/thread-45803.html)



Bug or feature? - Jostein Trondal - 11-03-2003

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


Re: Bug or feature? - Valentin Albillo - 11-03-2003

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.


Re: Bug or feature? - Jostein Trondal - 11-03-2003

Oops

try

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


--
Jostein Trondal


More like it [NT] - Valentin Albillo - 11-03-2003

.


Re: Bug or feature? - Arthur Drake - 11-05-2003

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.