Jump to content



Photo
- - - - -

Ran# Command


  • Please log in to reply
3 replies to this topic

#1 ACCOUNT_DISABLED

ACCOUNT_DISABLED

    Newbie

  • Members
  • Pip
  • 16 posts

Posted 30 September 2006 - 08:15 PM

.

Edited by CFX Master, 04 January 2009 - 01:38 PM.


#2 caspro

caspro

    Casio Freak

  • Members
  • PipPipPipPip
  • 216 posts

Posted 01 October 2006 - 01:22 AM

Another 9850 / 9860 difference.

On Page 89 of the PDF manual it states:
------------------------------------------------------

This function generates a 10-digit truly random or sequentially random number that is greater
than zero and less than 1.
* A truly random number is generated if you do not specify anything for the argument.

Example

Ran# (Generates a random number.)
Each press of <span class=EXE' /> generates a new random number.

* Specifying an argument from 1 to 9 generates random numbers based on that sequence.
* Specifying an argument of 0 initialises the sequence

Example

Ran# 1 (Generates the first random number in sequence 1.)
<span class=EXE' /> (Generates the second random number in sequence 1.)

Ran# 0 (Initialises the sequence.)
Ran# 1 (Generates the first random number in sequence 1.)

* Changing to a different sequence or generating a totally random number
(without an argument) initialises the sequence.

------------------------------------------------------

Question though, why would you want to use a sequence of numbers which are the same
every time, and how does it generate a truly random number anyway?

#3 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 02 October 2006 - 10:14 AM

"random number in sequence 1": I cant translate it :banghead: :rant: :cry:

#4 Overlord

Overlord

    Casio Technician

  • Moderator
  • PipPipPipPipPipPip
  • 355 posts
  • Gender:Male
  • Location:Brussels - Belgium
  • Interests:Math Researcher

  • Calculators:
    My head - C300 OS 3.00 - G100 Rom 1.02 - G65 - G60 - G25

Posted 02 October 2006 - 04:59 PM

Who needs that?
The sense of a random number is ... errr ... to be just a RANDOM number ! -_-


If you need random numbers to test some function, then you modify the function and want to see the diff on the same data set...

If you don't need it, just don't enter any argument to have the same Ran# as the previous calcs...

afx also has the same optionnal argument




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users