Aside from some poorly written code, this calculator determines the solution by loading http://omg.worsethanfailure.com/Entries/Requirements/TestCases.aspx and searching for the solution on the page. It reloads the page every time the equal key is pressed and does a simple string search for the first occurrence of the entered calculation, grabbing the solution that is a fixed number of characters after this location.