title: Bell curve with left or right bias
body: <p>In Java I want to generate a <strong>random number from 1 to 100</strong> that can be made to be based to either end of the scale whilst still having a chance of a number from the opposite end still being 'rolled'.</p>
  
  <p>To clarify, in a normal situation over a number of rolls of <strong>1 - 100 the average will be 50</strong>, but in some situations I want the <strong>average to shift down to say, 25%.</strong>  But with there still being chance for 100% to be generated. </p>
  
  <p>I have looked at Random.nextGaussian, which does shift the bell curve, but for a low end value this removes high end posibilities. </p>
  
  <p>What formula or combination of formulas should I be using? </p>
  
  <p><a href="https://i.stack.imgur.com/1MMCR.jpg" rel="nofollow noreferrer">Bell_curve_with_shift</a></p>
  
  <p><a href="https://i.stack.imgur.com/1MMCR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1MMCR.jpg" alt="enter image description here"></a></p>