and
are length and width of the pasture.
The rectangular pasture area is
square meters.

.
, where
is the length of the fence.
Find the function
in terms of
.
Substitute
in
.

.
.
Differentiate on each side with respect to
.


Find the critical numbers by equating derivative to zero.
\


.
Substitute
in
.


.



.
is minimum when
and
.
The dimesions are
.