@nitish i think all above meant 3+rand(0,1)+rand(0,1)+rand(0,1) surender
On Thu, Jul 7, 2011 at 12:36 AM, Nitish Garg <[email protected]>wrote: > If I understood you properly, > Random(a,b)=(b-a)*Random(0,1)+**a > ->Random(3, 6) = (3)*Random(0, 1) + 3 > = 3 + 3 = 6 or 0 + 3 = 3 > Just generates 3 and 6 with equal probability, what about 4 and 5? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/I5enuEx37eQJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
