If you mean you want a way of solving any simple equation that the user inputs, then there are Fortran-based .dll's around.