> I can't do this.
> please some help
What exactly are you complaining about?

> Hey why u r confusing by these toughest equations...
You misunderstand the nature of this board.
You post code, we help you with it.

If you just post your program spec and "I can't do it / please help me", then don't expect code to be handed to you on a plate.
At best (which is what grumpy's post is), all you're going to get is references to further reading material to help you figure it out for yourself.

Now, explain what you're really having trouble with.
Like for example, you can generate random numbers, but not with the distribution, or the distribution is "off" in some way.