Optimization Using Root Finding Algorithms Examples