

In regards to the equation of the torus (x−b)2+y2⪇a2 the first thing I notice is that Wolfram Alpha has a different equation for the torus.
http://www.wolframalpha.com/input/?i=torus+graph
(c−x2+y2)2+z2=a2
I tried to come up with a way to graph the torus in my graphing program "Graph" but I think its either a little too complex for my program or I just have not figured out how to graph it yet.
I think it would help if I knew what the purpose of the variables "a" and "b" are for in the equation.
So I am trying part a) of the exercise and the solutions manual says the first step to setting up an integral for a volume is:
∫b−ab+a2πx∗2ydx
I don't understand how the integral above was derived. So far I have done the exercises for the disc method but those are much easier than this one.
Thank you in advance for any help on this problem...