Use Lagrange multipliers to find the dimensions of the rectangle with the largest area that can be inscribed in a given ellipse.