I need to generate few random numbers, but they need to be distributed in a very specific (continuous) function $R(x)$. Once I do not have much background in the topic, I would like to ask 2 questions:
1. Can I create a p.d.f. by my self normalizing $R_{n}(x) = R(x)/ \int_0^\infty R(x)dx$?
2. Do you know a routine (mainly in Python) that does this MC task?