Search:
Forum
UNIX/Linux Programming
center
center
Nov 14, 2008 at 1:58pm UTC
baba
(1)
write a c++ program to find the centre of a circle passing through 3 given points
Ex.
Input:
(0,1),(0,-1),(1,0)
OUTPUT:
(0,0)
Last edited on
Nov 14, 2008 at 2:20pm UTC
Nov 14, 2008 at 2:15pm UTC
jsmith
(5804)
Why?
Nov 16, 2008 at 1:53am UTC
melkiy
(131)
Maybe you would be satisfied with that an equation of a circle passing through points (x1,y1), (x2,y2), (x3,y3) is
1
2
3
4
| x^2 + y^2 x y 1 | | x1^2+y1^2 x1 y1 1 | = 0 | x2^2+y2^2 x2 y2 1 | | x3^2+y3^2 x3 y3 1 |
Nov 16, 2008 at 7:43pm UTC
Zaita
(2770)
http://www.cplusplus.com/forum/articles/1295/
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs