Let \(x\) denote the perimeter of a rectangle, and let \(y\) denote the area.
Calculate \(x\) and \(y\) for the five rectangles with (width, height) \(=(7,42),
\quad(8,23), \quad(11,13), \quad(18,9), \quad\) and (26,8) . Plot the five
ordered pairs \((x, y)\) that you have calculated. The plot is nearly linear.
Find the least squares line through the origin. For a square of side length
\(2,\) the perimeter \(x\) is 8 . What is the regression line approximation of the
area \(y\) ? What is the relative error? What went wrong?