
Doug C. answered 04/04/22
Math Tutor with Reputation to make difficult concepts understandable
Since the area is 196 in2, LW = 196 => L=196/W or 196W-1.
P=2L+2W
P=2(196)W-1 + 2W
dP/dW = -392W-2+2
That derivative equals 0 when:
392/W2=2
2W2=392
W2=196
W=±√196=±14, rejecting -14.
So, L=14 too (a square).
The perimeter is: P = 2(14)+2(14)=56 in.
The 2nd derivative test could be used to show that indeed W=14 produces a minimum perimeter.
desmos.com/calculator/ejj92d4vfd