This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

I've one more question please.

There is an arc having 11 x,y points. How to calculate coordinates of center of this arc?

Thanks.

There is an arc having 11 x,y points. How to calculate coordinates of center of this arc?

Thanks.

1 Solution

Let (x1,y1) and (x2,y2) be two of the points on arc.

Then :

(x-x1)^2+(y-y1)^2=r^2 where r is the radius.

(x-x2)^2+(y-y2)^2=r^2

So equate these two equations to get the centre of circle which (x,y)

With regards,

V.Kartik

Given any two points, there are an infinite number of different arcs that pass through both.

You can see this because if you do what kartik suggested, you get:

(x-x1)^2+(y-y1)^2=(x-x2)^2

1 equation with 2 unknowns (x and y) has an infinite number of solutions.

So you need *three* points, from which you can get *two* equations:

(x-x1)^2+(y-y1)^2=(x-x2)^2

and

(x-x1)^2+(y-y1)^2=(x-x3)^2

and now you really can solve for x and y.

kotan answered the question `how do I find the center of mass of the arc' rather than `how do I find the center of the circle of which the arc belongs to' .. if that was what you intended, then his answer is correct.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Tackle projects and never again get stuck behind a technical roadblock.

Join Now
centerX = sum(x1,x2,...,x11)/11;

centerY = sum(y1,y2,...,y11)/11;

centerpoint is (centerX, centerY)