grph[g_][{x_,y_}]:={x,y,g[{x,y}]};ftorus[bigr_,smallr_][{x_,y_}]:=N[{(bigr+smallr*Cos[x])Cos[y],(bigr+smallr*Cos[x])Sin[y],smallr*Sin[x]}];fpolar[{r_,theta_}]:=N[{r*Cos[theta],r*Sin[theta]}];(*fcylinderandfspherecanbeusedformappingcylindricalandsphericaltorectangularcoordinates*)fcylinder[r_][{theta_,z_}]:=N[{r*Cos[theta],r*Sin[theta],z}];fsphere[ro_][{phi_,theta_}]:=N[{ro*Sin[phi]Cos[theta],ro*Sin[phi]Sin[theta],ro*Cos[phi]}];cone[slope_][{x_,y_}]:={x,y,slope*Sqrt[x^2+y^2]};conepolar[slope_][{r_,theta_}]:={r*Cos[theta],r*Sin[theta],slope*r};fellipsoid[a_,b_,c_][{phi_,theta_}]:=N[{a*Sin[phi]Cos[theta],b*Sin[phi]Sin[theta],c*Cos[phi]}];moebiusmap[{u_,t_}]:= N[{6*Cos[u]+t*Cos[u/2]*Cos[u],6*Sin[u]+t*Cos[u/2]*Sin[u],t*Sin[u/2]}];