Shows the largest semicircle within a square.
General case
editBase is the square of side length s.
The line segment has the side length of the square. So has the line segment . So the line segment has the length . So we get the equation:
(1)
The line segments , , , and have the length of the radius of the semicircle .
Since the rectangle is a square with side length . This leads to the equation:
(2)
The line segment is the diameter of the semicircle and has the length: . The line segment has length . For symmetry reasons the line segment has the same length, so . Using the Pythagorean theorem we get equation:
(3)
Applying the Pythagorean theorem to the triangle we get the equation
(4)
Using equations (3) and (4) we arrive at:
Now we use this result together with equations (1) and (2).
Segments in the general case
edit0) The side length of the square
1) Radius of the semicircle
Perimeters in the general case
edit0) Perimeter of base square
1) Perimeter of the semicircle
Areas in the general case
edit0) Area of the base square
1) Area of the semicircle
Centroids in the general case
editCentroid positions are measured from the lower left point of the square.
0) Centroid positions of the base square:
1) Centroid positions of the semicircle: If the center of the radius of the semicircle were positioned on and the diameter were parallel to the y-axis then the centroid position would be . Since the center point is shift by distance and rotated by 45 degrees the centroids are
, since
Normalised case
editIn the normalised case the area of the base is set to 1.
Segments in the normalised case
edit0) Segment of the base square
1) Segment of the semicircle
Perimeters in the normalised case
edit0) Perimeter of base square
1) Perimeter of the semicircle
Areas in the normalised case
edit0) Area of the base square
1) Area of the semicircle
Centroids in the normalised case
editCentroid positions are measured from the lower left point of the square.
0) Centroid positions of the base square:
1) Centroid positions of the semicircle: