Anyone know of a DLL or something that lets you input a mathematical equation in the form of a string and it returns the numerical answer?

preferably freeware if possible.