Check this out, a few things are vague but I get the idea now.

http://www.math.niu.edu/~behr/RC/pwm.html