Optimization Using Root Finding Algorithms Examples In Python