The Museum of HP Calculators

HP Forum Archive 13

[ Return to Index | Top of Index ]

Bug or feature?
Message #1 Posted by Jostein Trondal on 3 Nov 2003, 11:05 a.m.

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?
Message #2 Posted by Valentin Albillo on 3 Nov 2003, 11:13 a.m.,
in response to message #1 by 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.

            
Re: Bug or feature?
Message #3 Posted by Jostein Trondal on 3 Nov 2003, 11:23 a.m.,
in response to message #2 by Valentin Albillo

Oops

try

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

-- Jostein Trondal

                  
More like it [NT]
Message #4 Posted by Valentin Albillo on 3 Nov 2003, 11:34 a.m.,
in response to message #3 by Jostein Trondal

.

                  
Re: Bug or feature?
Message #5 Posted by Arthur Drake on 5 Nov 2003, 1:28 a.m.,
in response to message #3 by 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.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall