The equation of the curve is
.
Graph the function
for
and
.

Observe the diagram as
, the curve become square with side length
.
.
Side length of the square is
.
Perimeter of the square is
.
.
The equation of the curve is
.
Substitute
in the above equation.

Here
and
.




Length of the curve is
.

Thus,
.
Graph of the function
for
and
.

.