evaluate the non-elementary function