Re: Graphics and Random[] questions
- To: mathgroup at smc.vnet.net
- Subject: [mg51851] Re: Graphics and Random[] questions
- From: sean_incali at yahoo.com (sean kim)
- Date: Wed, 3 Nov 2004 01:25:59 -0500 (EST)
- References: <cm7clh$lem$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> 1) I have a notebook which involves manipulating 3d plots. However > everytime I run the notebook, after a while I get some kernel errors, > and the mathematica kernel just quits. It crashs after a while and > does not finsih evaluating all the cells. Is there a problem with my > computer? or is it because of the limitation to process (huge amount > of) graphics by Mathematica? > hard to tell without seeing the code... > 2) Random[Real, {-4,4}] gives a uniform distribution. However if I > would like to have a binomial distribution or any other kind of > distribution, would this be possible as well? If so then how is it > done? from the help file. In[2]:= <<Statistics`DiscreteDistributions` bdist=BinomialDistribution[34,0.3] Mean[bdist] Mean[BinomialDistribution[n,p]] Quantile[bdist,0.5] ExpectedValue[x^3,bdist,x] RandomArray[bdist,{2,3}] Out[3]= BinomialDistribution[34,0.3] Out[4]= 10.2 Out[5]= n p Out[6]= 10 Out[7]= 1282.55 Out[8]= {{6,8,5},{8,10,11}}