Golang, Numerical Methods.
method. Creating the correct goalFunc equation will be key determining whether the method will converge. func goalFunc(x float64) (float64, error){ target := 0 y := 5*math.Pow(x,3) - 7*math.Pow(x,2) - 3*x + 100 return y-target, nil } Note: that if you want to set your equation to converge to a