A telecom company has set up two
transceivers to increase their network coverage
area in the city. Because the telecom company
uses the cellular infrastructure for its services,
a transceiver provides coverage in a
geographical area of radius R.Some
geographical areas may experience distortion
if they receive a signal from more than one
transceiver.
Write an algorithm to find the percentage of
the total coverage area of the two transceivers
that will be affected by distortin
Input
The first line of the input consists of three
space-separated integers - x1, y, and r1, where
X, and y, represent the x and y coordinates of
the center of the first transceiver and ru
represents the radius of the first transceiver.
The second line of the input consists of three
space-separated integers - Xz yz and 13 where
xz and yz represent the x and y coordinates of
the center of the second transceiver and r2
represents the radius of the second
transceiver
Answers
Answer:
A telecom company has set up two
transceivers to increase their network coverage
area in the city. Because the telecom company
uses the cellular infrastructure for its services,
a transceiver provides coverage in a
geographical area of radius R.Some
geographical areas may experience distortion
if they receive a signal from more than one
transceiver.
Write an algorithm to find the percentage of
the total coverage area of the two transceivers
that will be affected by distortin
Input
The first line of the input consists of three
space-separated integers - x1, y, and r1, where
X, and y, represent the x and y coordinates of
the center of the first transceiver and ru
represents the radius of the first transceiver.
The second line of the input consists of three
space-separated integers - Xz yz and 13 where
xz and yz represent the x and y coordinates of
the center of the second transceiver and r2
represents the radius of the second