You can enter any 3-D function (z in terms of x and y) and it will give you a 3D printable *.stl file.
Screenshot:
Examples (on Thingiverse):
z=x2+y2
z=sqrt(x)
z=sin(π*x*y)
Download Windows version
See Python code