title: How do I generate normal cumulative distribution in Java? its inverse cdf?  How about lognormal?
body: <p>I am brand new to Java, second day! I want generate samples with normal distribution.  I am using inverse transformation.</p>
  
  <p>Basically, I want to find the inverse normal cumulative distribution, then find its inverse.  And generate samples.</p>
  
  <p>My questions is: Is there a built-in function for inverse normal cdf?  Or do I have to hand code?</p>
  
  <p>I have seen people refer to <a href="http://commons.apache.org/math/api-1.2/org/apache/commons/math/distribution/NormalDistributionImpl.html" rel="nofollow">this</a> on apache commons.  Is this a built-in?  Or do I have to download it?</p>
  
  <p>If I have to do it myself, can you give me some tips?  If I download, doesn't my prof also have to have the "package" or special file installed?</p>
  
  <p>Thanks in advance!</p>
  
  <p>Edit:Just found I can't use libraries, also heard there is simpler way converting normal using radian.</p>