For the best of you in geometry



just to see what the best of you can do with their powerful brain and HP's, let me submit to you this little problem. (I apologize first for my poor english writing.)

"A bricklayer is working a the tenth floor af a building, without any lift in order of working at the moment. He is in a corridor, from which he needs to know the with, but he has forgotten his measuring tape in his car, and is too lazy to go to take it by feet...
Fortunately, he's noting that his 3 m long ladder and his 2 m long, placed "symetricaly" in the corridor (the bottom of one ladder at one side of the corridor, and the top of this ladder on the opposite wall, and the opposite for the other ladder), are crossing themselves at just 1 m of the floor (the length of his plumbline). He is thinking that it must be enough to calculate the witdh of the corridor, but he finds the problem difficult..."

Could someone here help him to find the solution (not graphicaly, of course...)

(I'm sorry, but I didn't manage to enclose any picture.)

Hope this will entertain you !

Regards from J.-M.


Hi, Jean-Michel:

    It's just a simple problem of dealing with similarity
    relationships among the several triangles that result from drawing
    it all. It readily leads to a 4th-degree polynomial equation in the
    general case, and this small HP-71B program I've just written for the occasion does
    it all in 3 lines: prompt for the necessary data, construct
    the equation, solve it, and output the labeled result:

        10 DESTROY ALL @ INPUT "Ladder1,Ladder2,Height=";A,B,C
    20 DEF FNE(K)=K^4-2*C*K^3+(A^2-B^2)*K^2-2*C*(A^2-B^2)*K+C^2*(A^2-B^2)
    30 K=FNROOT(C,MAX(A,B),FNE(FVAR)) @ W=SQR(B^2-K^2) @ DISP "Width=";W


    Ladder1,Ladder2,Height=3,2,1 [ENTER]

    Width= 1.23118572377

Best regards from V.


Hi Valentino,

just one word : congratulations.

Next time, I'll finder something more difficult to solve...

Kind regards.


Hi Jean-Michel.

...something more difficult to solve

I'm afraid you'll need something enormously much more difficult to solve for VA :-)

Best regards.


Hi again, Jean-Michel:

    It wasn't my intention to spoil your interesting challenge, matter of fact I thought you would receive a number of additional inputs such as, for example, detailing the triangle relationships necessary to form the quartic equation (which is what results after squaring some intermediate expressions to get rid of several square roots), perhaps additionally including graphics, etc. With a lot of visitors owning and being very fond of graphic RPL models, I was sure some screen dumps would appear in this thread.

    An interesting extension of your challenge would be the following: notice that with the particular numbers you provide for the lengths of the ladders and the height of their crossing point, namely 3, 2, and 1, the resulting width comes out as an ungainly irrational number. So, it would be interesting to write a program to search for integer lengths and heights that do result in integer widths as well. Other interesting constraints come to mind but the one searching for all-integer inputs and outputs in the simplest to program and probably the most interesting too.

    Perhaps you or other readers might give it a try :-)

Best regards from V.

Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime - Geometry App inconsistence bluesun08 4 1,809 11-10-2013, 01:48 PM
Last Post: parisse
  HP Prime - Geometry App Intersection bluesun08 2 1,436 11-10-2013, 07:52 AM
Last Post: bluesun08
  [HP-Prime - Geometry App] What is wrong with this ? Jean-Michel 2 1,499 10-27-2013, 06:26 PM
Last Post: Jean-Michel
  HP Prime : geometry & curve Mic 0 908 09-15-2013, 02:31 PM
Last Post: Mic
  Help with geometry problem required Harald 39 8,745 01-22-2013, 10:21 AM
Last Post: Walter B

Forum Jump: