A pipe is to be carried around the right- angled corner of two intersecting corridors. Suppose that
Fantastic news! We've Found the answer you've been seeking!
Question:
A pipe is to be carried around the right- angled corner of two intersecting corridors. Suppose that the widths of the two intersecting corridors are 5 feet and 8 feet ( see Figure 6- 26). Your objective is to find the length of the longest pipe, rounded to the nearest foot, that can be carried level around the right- angled corner.
Write a program that prompts the user to input the widths of both of the hallways. The program then outputs the length of the longest pipe, rounded to the nearest foot, that can be carried level around the right- angled corner. ( Note that the length of the pipe is given by l = AB + BC = 8 / sin y + 5 / cos y, where 0 < y < p/ 2.)
Related Book For
Elementary Surveying An Introduction to Geomatics
ISBN: 978-0273751441
13th Edition
Authors: Charles D. Ghilani, Paul R. Wolf
Posted Date: