Manuals/calci/RAND

Revision as of 03:54, 22 January 2014 by Abin (talk | contribs)
RAND()


Description

  • This function gives the real numbers, circulated in a uniformed way.
  • The random numbers generate a sequence of numbers which is lying between 0 and 1.
  • The generated random numbers are changing each time of the calculation.
  • To find the random real number between Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} , we can use RAND()*(b-a)+a.
  • Suppose we want to keep the same rand numbers for calculation, we can enter =RAND() in the formula bar.

Examples

  1. RAND()=0.37205533031374216
  2. RAND()*100=46.92529523745179
  3. RAND()+25=25.684887402923778

See Also


References