Raymond B. answered 08/03/21
Math, microeconomics or criminal justice
(x-h)^2 + (y-k)^2 = r^2
center is (h,k)
radius = r
top of the circle is (h,r+k) = midpoint of the window's top
circle's bottom is (h,k-r)=midpoint of the window bottom
left edge of the circle is (h-r, k)=midpoint of the window's left side
right edge of the circle is (h+r, k)= midpoint of the window's right side
the window square is 2r by 2r. its vertices are (h-r, r+k), (h+r, r+k), (h-r, r-k), (h+r, r-k)
midpoint of the square's bottom is (h-r, r-k) and (h+r, r-k)
= average of the coordinates =((h-r+h+r)/2, (r-k+r-k)/2)
= (h, r-k) = bottom edge of the circle
simplest circle and square would be both centered at (0,0) with circle radius = 1 and squares' vertices (-1,1),(1,1), (-1,-1) and (1,-1)
with circle's top edge = (0,1), bottom edge (0,-1), left edge = (-1,0) and right edge = (1,0)
top edge = (0,1) which is the midpoint of (-1,1) and (1,1)
average the x coordinates = 0
average of the y coordinates = 1
midpoint of top of the square is the same point as the top edge of the circle.
(h-r, r)