(a) If a rectangle has area A, what are the dimensions which yield the smallest perimeter? List them in non-decreasing order (they may depend on A).

(b) If a rectangle has perimeter P, what are the dimensions which yield the largest area? List them in non-decreasing order (they may depend on P).

You can earn partial credit on this problem.