Who can give me some cases?
for example, what's the output for this input?
1.0 2.0 3.0
0.1 10.0 10.0
3.23787981 5.83784343 1.23872383
thx very much
10322 - The Four in One Stadium
Moderator: Board moderators
10322 - The Four in One Stadium
Wenyuan Dai, Shanghai Jiaotong University.
-
- New poster
- Posts: 2
- Joined: Sat Sep 21, 2002 11:52 am
- Contact:
-
- New poster
- Posts: 2
- Joined: Sat Sep 21, 2002 11:52 am
- Contact:
10322
As I know, this problem is about solving the Soddy Circle problem.
However, for some test case, the biggest circle will only touch 2 small circles inside (No soddy circle) .And I find the rules to check this case in:
http://mathworld.wolfram.com/IsoperimetricPoint.html
But for the following 2 data sets, the rules fail to check. And my program still handle them as Soddy Circle. Can anyone teach me what condition I miss to check????
Input:
1.0 2.0 3.0
3.23787981 5.83784343 1.23872383
Output:
1.7750895846 0.1154579521 0.2394762157
2.3783828932 0.1422255342 0.3610147806
However, for some test case, the biggest circle will only touch 2 small circles inside (No soddy circle) .And I find the rules to check this case in:
http://mathworld.wolfram.com/IsoperimetricPoint.html
But for the following 2 data sets, the rules fail to check. And my program still handle them as Soddy Circle. Can anyone teach me what condition I miss to check????
Input:
1.0 2.0 3.0
3.23787981 5.83784343 1.23872383
Output:
1.7750895846 0.1154579521 0.2394762157
2.3783828932 0.1422255342 0.3610147806
My signature:
- Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code. - I HATE testing account.
- Don't send me source code for debug.
-
- New poster
- Posts: 28
- Joined: Wed Jul 31, 2002 10:33 am
- Location: Ukraine
- Contact: