Using the solver add-in in Microsoft Excel

This is very handy for solving equations in Excel when you need to for more complicated financial applications.

To see a similar concept look at using Lua to do a binary search.