Golang, Numerical Methods.
target, use the target variable. e.g. 10% IRR would be target := 0.1 Note: yes I know that this could be solved with newton rapson. I found this useful for a function that could not be derived. The anonymous goalFunc function can also be called from a struct to encapsulate parameters that cannot be