Octagonal: calculate side length, circumference and area

Octagonal: calculate side length, circumference and area

Square-shaped piece of paper is intended to make a regular octagon through the cutting of the vertices of a square.
The length of the piece of paper is 29 cm.
How long triangle cathetus have to be cut off from the vertices of the square?
Calculate the octagonal side length, circumference, and area.
Sorry for my english, if it's not understandable I'll try to explain it better.. but how do I do this?
Guest

Re: Octagonal: calculate side length, circumference and area

Let "x" be the length of a side of the octagon, centered on a side of the paper. That leaves 29-x cm on that side of the paper so (29- x)/2 on each side of the octagon. The other four sides of the octagon are the hypotenuses of the right triangles cut off. By the Pythagorean theorem that is $$\sqrt{\frac{(29- x)^2}{2}}$$ and that must be the same as the length of the other sides, x. So we have $$\sqrt{\frac{(29- x)^2}{2}}= x$$.

Squaring both sides, $$\frac{(29- x)^2}{2]= x^2$$. $$(29- x)^2= 841- 58x+ x^2= 2x^2$$, $$x^2+58x- 841= 0$$. Solve that quadratic equation, using, perhaps, the quadratic formula. The length of a side of the octagon is the positive root. The circumference is 8 times the length of each side.

To determine the area, imagine drawing lines from the center of the octagon to each vertex. That divides the octagon into 8 isosceles triangles, with vertex angle 360/8= 45 degrees and base the length of a side, x, found above. Drawing the altitude of each triangle (from the center of the octagon to the center of each further divides the those 8 triangles into 16 right triangles with angle 22.5 degrees and the "opposite side" of length x/2. Taking "y" to be the length of that altitude, $$\frac{y}{x/2}= tan(22.5)$$ so $$y= tan(22.5)x/2$$. The area of each of those 16 right triangles is $$(1/2)xy= x^2 tan(22.5)/4$$. The area of the octagon is 16 times that, $$4 x^2 tan(22.5)$$.

Let "a" be the length of the congruent sides of one of the triangles. By the cosine law, $$x^2= 2a^2- 2acos(45)= 2a^2- \sqrt{2}a= x$$, where x is the length of the
Guest