MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problems with Random

  • To: mathgroup at
  • Subject: [mg26042] Re: [mg26027] Problems with Random
  • From: BobHanlon at
  • Date: Sat, 18 Nov 2000 23:07:58 -0500 (EST)
  • Sender: owner-wri-mathgroup at

In a message dated 11/17/00 4:31:12 AM, michael.walther at 

>According to THE BOOK I schould get a random number for a normal
>distribution with
>x = Random[NormalDistribution[50,2.1] ]
>But I got
>Random::"randt": "Type specification NormalDistribution[50,2.1] in
>Random[NormalDistribution[50, 2.1]] should be Real, Integer, or Complex.".
>I get a similar message for other distributions. What is wrong

There is something wrong with your Get (<<) statement--not clear what.  
Consequently, the add-on package is not being loaded. Using a copy of your 
statement it did not work on my machine. However, after entering a new 
statement (I always use Needs), it worked fine.


x = Random[NormalDistribution[50, 2.1] ]


Bob Hanlon

  • Prev by Date: Re: functional notation
  • Next by Date: displaying two cells side by side
  • Previous by thread: Problems with Random
  • Next by thread: Re: Problems with Random