![enter image description here]()
As shown in the image, formulae or method how to calculate smooth curved line is needed.The red line is the line which will look at the end after solving.
I'll appreciate your help / discussion.
I need mathematical formulae and may be how to solve it using scipy python package.