Question
A programme to compute the area of a circle where the radius is less than 100 square units then your programme should print"the cicle is too small" otherwise it should print"Your circle is big enoughto hold a Quadrate and the area of the quadrate is x"
here how to find the area pf the quadrate .what formula should be used??
here how to find the area pf the quadrate .what formula should be used??
Answers
bobpursley
quadrate: a square. So the circle circumscribes the quadrate. That means the diagonal of the square is 2r. Which means each side of the square is r/sqrt2, so the area of the quadrate is .5*r^2 , where r is the radius of the circle.