I figured this out once before, and the difference between jsut assuming 180 degrees of chain wrap around a gear, and actually figuring out the actual amount of wrap is insignificant. The largest source of error in this problem is in the measurement of chainstay length.