But I just want to warn you right now. It's going to be a lot of hairy math, most of it hairy algebra, and then we're actually going to have to do a little bit of calculus near the end. We're going to have to do a few partial derivatives. So if any of that sounds daunting or sounds like something that will discourage you in some way, you don't have to watch it. You could skip to the end and just get the formula that we're going to derive. But I at least find it pretty satisfying to actually derive it. So what we're going to think about here is, let's say we have n points on a coordinate plane.