Mathematics of Weight Loss