Re: TIB: "Weighting" Dice on TI-85


[Prev][Next][Index][Thread]

Re: TIB: "Weighting" Dice on TI-85




Let me correct my formula:
Since ln(e)=1, the correct formula (to ensure that the maximum will be 
exactly 7 (which rand() forbids) is

rand -> x
(6 * x + ln( ( (e - 1) x ) + 1)

Let's see if this simplifies.
(6x + ln(e*x-x+1))

Can anyone improve this further?

Tavis

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com