<html>
  <head>
    <title> The Big Giant Brain's Weekly Brain Teaser </title>
    <meta name="Author" CONTENT="Rick O'Hair">
    <meta name="Classification" CONTENT="O'Hair:brain teasers">
    <meta name="Copyright" CONTENT="2003 Rick O'Hair for the Big Giant Brain">
    <meta name="Description" CONTENT="This is the Big Giant Brain's Weekly Brain Teasers in HTML format.">
  </head>
  <body bgcolor="#ffffe0">
    <font color="black">
      <center>
	    <p align="justify">&nbsp</p>
	    <h1> Ladder Alley </h1>
      </center>

      <blockquote>
	<hr>
	<p>This was a tough brain teaser. In fact, I, the Big Giant Brain, did not have the 
	answer to this one until a reader submitted it. <i>(remember - BIG doesn't mean SMART...)</i></p>

	<hr>
      <p align="justify">&nbsp</p>
	<img align="left" src="ladder.png">
	<p>In an alley two ladders are placed cross-wise. The lengths of these
	ladders are respectively 2 and 3 meters. They cross one another at one 
	meter above the ground.</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>

	<p>What is the width of the alley?</p>

	<!-- start answer insertion here -->
        <center>
          <p>Scroll down for the answer.</p>
        </center>

        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p align="justify">&nbsp</p>
        <p>The Answer:</p>

        <p><i>Many thanks to Bill Gleeson of Tucson Arizona for the following answer.</i>
        <p>The alley is 1.231186 meters wide.<p>
	  <img src="triangles.png" alt="triangles">
	  <p>Since the ladders form a series of right triangles, we can use algebra 
	  to determine the width of the alley:
	  <ul>
	    <li>Let <i><b>W</b></i> be the width of the alley</li>
	    <li>Let <i><b>a</b></i> be the angle between the alley and the 3-meter ladder</li>
	    <li>Let <i><b>b</b></i> be be the angle between the alley and the 2-meter ladder</li>
	    <li>Let <i><b>B</b></i> be the horizontal distance between the wall the 3-meter ladder rests against and the point where the ladders cross.</li>
 	   <li>Let <i><b>A</b></i> be the horizontal distance between the wall the 2-meter ladder rests against and the point where the ladders cross.</li>
	  </ul>
	  <p>We can also see that <i><b>W = A+B</b></i>.

	  <p>From algebra, we learned that the cosine of the angle is equal to the adjacent 
	  side (the width of the alley) divided by the hypotenuse (the length of the 
	  ladders), and the tangent of the angle is equal to the opposite side divided 
	  by the hypotenuse.

	  <p>Solving for the width (adjacent side):
	  <blockquote>
 	   <i><b>W = 3cos(a)</b></i> for the 3-meter ladder<br>
 	   <i><b>W = 2cos(b)</b></i> for the 2-meter ladder<br>
	  </blockquote>

	  <p>Similarly, solving for A and B (for the smaller triangles):
	  <blockquote>
	    <i><b>A = 1/tan(a)</b></i> and <i><b>B = 1/tan(b)</b></i><br>
	  </blockquote>

	  <p>Since the sum of the angles of any triangle equal 180 degrees, and we are dealing 
	  with right triangles, <i><b>a</b></i> (and <i><b>b</b></i>) can't be more than 90 degrees.

	  <p>Pick any number between 0 and 90 for <i><b>a</b></i> and perform the following calculations.
	  <blockquote>
	  Calculate <i><b>W = 3cos(a)</b></i><br>
	  Calculate <i><b>b = acos(W/2)</b></i><br>
	  Calculate <i><b>A = 1/(tan(a))</b></i><br>
	  Calculate <i><b>B = 1/(tan(b))</b></i><br>
	  Calculate <i><b>X = A+B</b></i><br>
	  </blockquote>

	  <p>Adjust <i><b>a</b></i> until <i><b>W</b></i> and <i><b>X</b></i> are equal.

        <!-- end answer here -->
        <hr>
        <p><a href="http:\\www.guardiangeek.net/teasers/index.html">Back to the Brain Teasers Index</a></p>
        <small>
          <p>If you would like to submit a Brain Teaser, email it, along with
          the answer, to the <a href="mailto:teasers@guardiangeek.net">Big Giant Brain.</a>
        </small>
        <hr>
        <small>
          <center>
            <font color="#000000" face="Helvetica,arial">
              <small>
                Copyright © 2003
                <a href="http://www.guardiangeek.net/">Guardian Geek</a><br>
                <a href="mailto:info@guardiangeek.net"><i>Comments?</i></a>
              </small>
            </font>
          </center>
        </small>
      </blockquote>
    </font>
    <font color="000000" face="Helvetica,arial">
      <p><small><i>Last updated October 10<sup>th</sup>, 2003</i></small>
    </font>
  </body>
</html>

