Create 3D model from equation

for version 4 and 5 there is a plugin which lets you produce equational shapes i believe even based on nurbs. i have no idea if that works with rhino 6, also i never got it to run on the mac version of rhino. but i believe it should be exactly what you are after.

http://www.rhino3.de/_develop/__v3_plugins/math/index.shtml

other than that i am pretty sure grasshopper should do the trick.
maybe this could be a starting point.

maybe @Mahdiyar could shed some light either.

also you can actually use LATEX to embed equations into the forum.