Computer Science, asked by gaikwaddipti743, 1 month ago

Output

Print a real number representing the area of intersection of two circles rounded up to 6

decimal places.

Constraints

0 < radius, radius 104

Example

Input:

0

0

2

3

0

2

Output:

1.813247

Explanation:

First circle has center coordinates as (0,0) and

radius 2.

Second circle has center coordinates as (3, 0)

and radius 2.

The area of intersection of two circles is

1.813247.​

Answers

Answered by ysubham800
1

Answer:

3

0

2

Output:

1.813247

Explanation:

First circle has center coordinates

Explanation:

3

0

2

Output:

1.813247

Explanation:

First circle has center coordinates as (0,0) and

radius 2.

Second circle has center coordinates as (3, 0)

and radius 2.

The area of intersection of two circles is

1.813247.

Similar questions