|
||||||||||
A secret of ¡¶The Tai Chi Master¡·Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 262 Accepted Submission(s): 14 Problem Description Do you remember a TV play called ¡°The Tai Chi Master¡± in 1990s. In this play, the leading role Yang Yuqian (actor is Wu Jing) is fond of Tai Ji and becomes a great master at last. However, the Chen Style Taiji was only open to family Chen. So Yang Yuqian decides to steal the skill with the help from a teenager called Chen Shaoqi. They are best friends, and Shaoqi is the ¡°son¡± of Chen family leader. But one day, Chen Zhenying, Shaoqi¡¯s father, found Yang Yuqian and decided to drive him away. Chen Zhenying is interested in math. So he gives Yang Yuqian a chance: if Yang can solve his problem, then Yang can be his new apprentice. The problem is that : C is a circle of Taiji in figure-1. In figure-2, the C is a circle and its centre is (0, 0). Its radius is R.is a line integral in plural plane according to the circle C and its direction is anti-clockwise. We define The Yang Yuqian¡¯s dream will come true only if I is calculated. Input Multiply cases. First line is number of test cases. Each test case consisted of 7 integers. a,b,c,d,x,y,R represent the a,b,c,d,R in description and x,y represent the real part and imaginary part of Z0. a,b,c,x,y¡Ê(-10000,10000);d¡Ê(-10000,0)¡È(0,10000);R¡Ê(0,10000) Output Each test case is printed one line. If the answer is plural, the output format is a¡Àbi . If the answer is real number, output it as writing habits. All real numbers are round to 4 decimals. Sample Input
Sample Output
Author alpc54 Source | ||||||||||
|