Wrote code to determine roots of functions using Brent's method. Also outputs latex to easily generate the report