Periodicity Of 9750's Ran# Function
Posted 28 May 2008 - 07:54 PM
Posted 28 May 2008 - 09:07 PM
Hey, guys. I haven't been here in a long time, and I wasn't too active when I first joined. But the forum's a helpful place and I decided to ask my question here: Does anyone know how often the Ran# function repeats itself on the 9750? I've run it 1,506,812 times and haven't gotten 0.039706271(the first result) twice yet. Or is it periodic at all? Can anyone offer some insight into the workings of the function? Thanks!
I only know how the FX9860G calculates random numbers:
lastrandom = ( 0x41C64E6D*lastrandom ) + 0x3039;
return ( lastrandom >> 16 ) & 0x7FFF;
returns something between 0..0x7FFF.
Perhaps other CASIOs use similar algorithms.
Posted 31 July 2008 - 02:24 AM
I've found that if you reset the calculator, and run Ran#, then do the same operation again, you get the same number (it is thereotically pseudorandom.)
Posted 04 March 2009 - 08:59 PM
itumney AT live.com thanks
Posted 08 March 2009 - 03:54 PM
itumney AT live.com thanks [quote]
For this I will assume that you are on the Program mode and have created a new program on a CFX-9860 Calc (they should all be similar).
First you must press the OPTN' /> button. Then you must navigate along by using the F6' /> and F1' /> keys to find the [PROB] section. Go into it and there you should be able to see the Ran# button. Use the appropriate function key to insert it into your program.
Edited by Maths Man, 14 March 2009 - 12:44 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users