fnVal(function, xval)
Finds the value of the function at xval. For example:
fnval(sinx+cos(x/2)+x,0.84) = 2.498