There are T focus lamps above a river along with the X-axis. The ith focus lamp has Qj as its X-coordinate, and it is hung Rj above the river. The ith focus lamp provides light in a triangular area,...


There are T focus lamps above a river along with the X-axis. The ith focus lamp<br>has Qj as its X-coordinate, and it is hung Rj above the river. The ith focus lamp provides<br>light in a triangular area, assume it is an isosceles triangle and its bottom edge lies on<br>the X-axis. The half of the top angle of the triangle is P; degrees.<br>You have a helicopter which can fly on a fixed height. But the helicopter is only allowed<br>to fly only under the focus lamp. Your task is to develop a python code to find the<br>maximum possible height for your focus lamp.<br>Note: You can import math library as per your convenience.<br>No. Test Case<br>Result<br>1<br>237<br>21.363759043<br>34 2<br>747<br>

Extracted text: There are T focus lamps above a river along with the X-axis. The ith focus lamp has Qj as its X-coordinate, and it is hung Rj above the river. The ith focus lamp provides light in a triangular area, assume it is an isosceles triangle and its bottom edge lies on the X-axis. The half of the top angle of the triangle is P; degrees. You have a helicopter which can fly on a fixed height. But the helicopter is only allowed to fly only under the focus lamp. Your task is to develop a python code to find the maximum possible height for your focus lamp. Note: You can import math library as per your convenience. No. Test Case Result 1 237 21.363759043 34 2 747

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here