Normally more info is given than in this question. Regardless, we can say a few things:
\n" );
document.write( "The perimeter of a rectangle decreases the closer the shape [of a constant square footage (in this case 1800)] is to a square; the perimeter increases the more elongated it is.
\n" );
document.write( "
\n" );
document.write( "So these extremes can be given:
\n" );
document.write( "(assuming the yard is not less than 1ft wide)
\n" );
document.write( "Most fencing: a 1ft x 1800ft (1800SF) yard could require 1800 + 1800 + 1 + 1 = 3602 linear feet of fencing.
\n" );
document.write( "
\n" );
document.write( "Least fencing:
\n" );
document.write( "a square yard, (sides each 30 times the square root of 2) would require 30*4*SR2 = \"120 times the square root of 2, linear feet = about 169.71 ft\" of fencing
\n" );
document.write( "
\n" );
document.write( "to calculate the SR (square root) of 1800, factor out squares:
\n" );
document.write( "1800 = 10 * 10 * 3 * 3 * 2
\n" );
document.write( "the 10's and 3's factor out, but the 2 doesn't.
\n" );
document.write( "one side = 10 * 3 *(SR2) = 30*SR2 (approx. 42.43 ft)
\n" );
document.write( "30*SR2 times four equal sides =
\n" );
document.write( "exactly 120*SR2 ft.
\n" );
document.write( "= approx. 169.71 ft.\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "