raghu,

Your syntax is not correct for draw2d. Try the following:

draw2d(explicit(sin(x), x, 0, 2*%pi)) $

Have you tried other interfaces, like xmaxima, wxmaxima, or command line?. I see you are working with emacs, and we should discard problems with the interfaces.

You can download the latest version of draw from the repository:

https://sourceforge.net/p/maxima/code/ci/master/tree/share/draw

--
Mario