completed the square and obtained the following equation:
. . . . .
The center is then (h, k) = (1, -2), and the radius is .
Since the lower-left and upper-right corners of the square lie on a line with a slope of m = 1, and since you have a point on this line (being the shared center point), you can find the equation of the straight line passing through these corners.
Then find where this line intersects with the circle. This will give you the coordinates of two of the corners. You can use the symmetry of the square to find the other two corners.
center u calculated is correct i.e. (1.-2)
length of diagonals is wrongly calculated
u r right that center of circle is center of diagonals....since AC and BD are diagonals and passing from center of the circle therefore they are diameter
so calculate diameter
then calculate side of the square by hyp. rule
let the side u calculated be called 'a'
assume one vertex to be (x,y)
then the remaining vertexes are: (x+a,y),(x+a,y+a),(x,y+a)
now take 2 diagonal vertexes and apply mid-point rule and get the value of (x,y).
Complete the square and get: .A square is inscribed in the circle
with the sides parallel to the coordinates axes.
Find the coordinates of the vertices.
The center is and the radius is }
If you make a sketch, the answer is obvious (almost).Code:* * * * * D o - - - - - - - o A *| _ * |* | 7√2 * | * | * | * * | o - - - + * * | O | * | | *| |* C o - - - - - - - o B * * * * *
The right triangle is isosceles: 45°-45°-90°.
The hypotenuse is , and its legs are .
Hence, vertex is 7 units right and 7 units up from the center: .