Even though I generate the numbers randomlly, there is a gape between the curves and I am not achieving an intersection.
How can I minimize the distance between the curve