# Finding the angle between two intersecting hallways

• D.Boxer
In summary, the person is asking if someone can help them solve a problem where they need to find the length of a ladder that will go from one hallway to another. They say that it is not time-based, but they are comparing two changing things. They give some hints and say that the shortest possible ladder is 18.22 feet.
D.Boxer
Hey

I was wondering if someone could help me with this. I suspect it has an easy solution, but I just need some verification.

L is a ladder between two hallways. How can someone find the angle theta??

Excuse my silly question, but I would really like some input if possible.

Thanks

Can you write AB in terms of theta and the width, and BC in terms of theta and the width, and so form an expression for AC?

In the question, it says that: AC = AB + BC = (8/sin(Theta) ) + (5/cos(Theta) )

I just want to know the angle theta to know the length of AC that constitutes the longest ladder possible to be carried to the right side of the room.

Compare 2 similar right-angled triangles.

D.Boxer said:
I just want to know the angle theta to know the length of AC that constitutes the longest ladder possible to be carried to the right side of the room.

Theta will vary from 0 to 90 degrees as the ladder is carried to the right side. This problem is about finding the minimum of a function of theta. Are you by any chance studying differential calculus now?

Nugatory said:
Theta will vary from 0 to 90 degrees as the ladder is carried to the right side. This problem is about finding the minimum of a function of theta. Are you by any chance studying differential calculus now?

No. I am not studying differential calculus.
the requirement of the question is that I need to be able to enter two widths of both the hallways, and then calculate the length of the longest possible ladder that can be carried to the right-side of the room using this formula: AC = AB + BC = (8/sin(Theta) ) + (5/cos(Theta) )

I don't think there is a time element in here to include differential calculus, right??

Looks like a possible violation of OSHA standard 1910.36 - must maintain minimum of 28 inch clear width for emergency egress. :)

Here are some hints:

Notice that the ladder is going to stay in contact with the inside corner and outer walls during the configurations where you are interested in finding the longest possible ladder length.

It is not time based, but you are comparing two changing things.

You have probably already discovered by inspection that the longest passable ladder is longer than 13 feet, right?
(if you have, you will understand the x and y below...)

Notice the large right triange formed by A C and the outer corner (hypotenuse AC).

That triangle has height 5 + x, and width 8 + y, and hypotenuse AC
(you see where the x and y are coming from?)

See if that helps...

bahamagreen said:
Looks like a possible violation of OSHA standard 1910.36 - must maintain minimum of 28 inch clear width for emergency egress. :)

Here are some hints:

Notice that the ladder is going to stay in contact with the inside corner and outer walls during the configurations where you are interested in finding the longest possible ladder length.

It is not time based, but you are comparing two changing things.

You have probably already discovered by inspection that the longest passable ladder is longer than 13 feet, right?
(if you have, you will understand the x and y below...)

Notice the large right triange formed by A C and the outer corner (hypotenuse AC).

That triangle has height 5 + x, and width 8 + y, and hypotenuse AC
(you see where the x and y are coming from?)

See if that helps...

That actually helped, but I have an idea.

The whole point of the question was to design a program in Java to solve the above problem using any two widths entered by the user.

I figured that since Theta is between 0 and 90 degrees, I can run the calculation in a loop 90 times, and get the shortest AC that will go through all the angles.

The shortest AC in that loop would go safely from 0 -> 90 degrees with no issues, and it will technically be the longest possible ladder to go from corridor A to corridor B.

What do you guys think about that solution??

P.S: For the above widths, the longest possible length of the ladder was 18.22 ft

D.Boxer said:
What do you guys think about that solution??

P.S: For the above widths, the longest possible length of the ladder was 18.22 ft

Sounds about right to me. You won't be exactly right if it turns out the minimum AC value is reached for an angle that falls between two of the ninety angles you tried, but it will be close. (You might want to think about whether this error will give you an answer slightly tOo high or slightly too low - one is a much worse mistake than the other).

I mentioned differential calculus because if you had to solve the problem yourself, instead of instructing a computer to brute-strength it, you would write the distance AC as a function of theta (for given hallway widths). Calculus then gives you a general formula for the value of theta at which the AC distance is smallest.

Nugatory said:
Sounds about right to me. You won't be exactly right if it turns out the minimum AC value is reached for an angle that falls between two of the ninety angles you tried, but it will be close. (You might want to think about whether this error will give you an answer slightly tOo high or slightly too low - one is a much worse mistake than the other).

I mentioned differential calculus because if you had to solve the problem yourself, instead of instructing a computer to brute-strength it, you would write the distance AC as a function of theta (for given hallway widths). Calculus then gives you a general formula for the value of theta at which the AC distance is smallest.

Thanks, but I'd rather leave differential calculus for next semester :D

D.Boxer said:
The whole point of the question was to design a program in Java to solve the above problem using any two widths entered by the user.
You should have mentioned that in the OP. Saves responders wasting effort on irrelevant responses.
I figured that since Theta is between 0 and 90 degrees, I can run the calculation in a loop 90 times, and get the shortest AC that will go through all the angles.
It would be much more accurate and efficient to converge on the answer. It's reasonably obvious that the graph of L against θ is convex, reaching a single local minimum and no local maxima. So you can use a kind of binary chop. This is a good programming exercise.

## 1. How do I find the angle between two intersecting hallways?

The most accurate way to find the angle between two intersecting hallways is by using a protractor. Place the center of the protractor at the point where the hallways intersect, align one of the straight edges of the protractor with one of the hallways, and read the angle measurement where the other hallway intersects with the protractor.

## 2. What if I don't have a protractor?

If you don't have a protractor, you can estimate the angle by using your hand. Place your hand flat on the floor at the point where the hallways intersect, with your fingers pointing in the direction of one hallway and your thumb pointing in the direction of the other hallway. Then, use your other hand to estimate the angle formed between your fingers and your thumb.

## 3. Can I use a measuring tape to find the angle?

No, a measuring tape cannot accurately measure angles. It can only measure straight distances. Using a measuring tape to determine the angle between two intersecting hallways will not give you an accurate measurement.

## 4. What is the unit of measurement for angles?

The unit of measurement for angles is degrees (°). A full circle is 360°, so if the two hallways form a right angle (90°), they are perpendicular to each other. If the angle is greater than 90°, the hallways are considered to be "oblique".

## 5. What if the angle is less than 90°?

If the angle between the two intersecting hallways is less than 90°, it means that the two hallways are converging or "opening up" towards each other. This can be measured using a protractor or estimated using your hand, just like with larger angles. The unit of measurement is still degrees (°).

• Precalculus Mathematics Homework Help
Replies
4
Views
1K
• Precalculus Mathematics Homework Help
Replies
25
Views
2K
• Precalculus Mathematics Homework Help
Replies
2
Views
2K
• Precalculus Mathematics Homework Help
Replies
1
Views
781
• Precalculus Mathematics Homework Help
Replies
3
Views
3K
• Precalculus Mathematics Homework Help
Replies
9
Views
2K
• Precalculus Mathematics Homework Help
Replies
16
Views
2K
• Precalculus Mathematics Homework Help
Replies
5
Views
2K
• Precalculus Mathematics Homework Help
Replies
2
Views
1K
• Introductory Physics Homework Help
Replies
21
Views
1K