Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Lets say I have 10 points. And I have 40 empty places. I want to randomly place those ten points in those places such that when I plot the avg. density of points vs. position, I should get a graph tending to $y=e^{-x^2}$

Can anyone suggest a way to devise an algorithm for doing this?

share|improve this question
    
"Any one who considers arithmetical methods of producing random digits is, of course, in a state of sin." Von Neumann –  Quinn Culver Jun 21 at 14:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.