Started By
Message

re: Brain teaser question/problem (fixed)

Posted on 8/12/20 at 11:29 am to
Posted by OlGrandad
Member since Oct 2009
3501 posts
Posted on 8/12/20 at 11:29 am to
That question must have come from this:

Posted by DrEdgeLSU
Baton Rouge, LA
Member since Dec 2006
8166 posts
Posted on 8/12/20 at 11:32 am to
The poles are right next to each other. 0m apart.
Posted by Ingeniero
Baton Rouge
Member since Dec 2013
18291 posts
Posted on 8/12/20 at 11:32 am to
This isn't a simple brainteaser at all. A hanging wire forms a catenary, and to solve for the distance you need calculus.

ETA: i'm dumb, I missed the fact that the low point of the cable was 40m from the top. Right next to each other. Cable has to be doubled on itself.
This post was edited on 8/12/20 at 11:39 am
Posted by Ronaldo Burgundiaz
NWA
Member since Jan 2012
6553 posts
Posted on 8/12/20 at 11:33 am to
Right next to each other.

ETA: It's a common question to ask potential programmers in interviews.
This post was edited on 8/12/20 at 11:35 am
Posted by Displaced
Member since Dec 2011
32714 posts
Posted on 8/12/20 at 11:33 am to
quote:

This isn't a simple brainteaser at all. A hanging wire forms a catenary, and to solve for the distance you need calculus.


You dumb...

The only way for the midpoint of an 80 meter wire to be 10 meter off the ground from a 50 meter pole is if it is hanging straight down.
Posted by Box Geauxrilla
Member since Jun 2013
19118 posts
Posted on 8/12/20 at 11:33 am to
How can an 80m cable be hanging 10m from the ground and 40m from each side?

50m - 10m = 40m x 2 = 80m. The answer has to be zero and this is not drawn to scale.
Posted by Porcine Human
Fayetteville, Arkansas
Member since Feb 2016
11220 posts
Posted on 8/12/20 at 11:34 am to
I feel like you have to make a right triangle with the 10m but idk how since you only have one side
Posted by DrEdgeLSU
Baton Rouge, LA
Member since Dec 2006
8166 posts
Posted on 8/12/20 at 11:35 am to
quote:

This isn't a simple brainteaser at all. A hanging wire forms a catenary, and to solve for the distance you need calculus.



I disagree with you. Simple math tells you that an 80 meter cable that has its bottom tip 40m below the top means that there is no lateral distance between the poles. In other words -- if it were a straight line to the bottom, you'd have a right triangle with one leg = 40m (the drop) and the hypotenuse = 40m (the length of the cable). That leaves the other leg = 0.
Posted by Ash Williams
South of i-10
Member since May 2009
18147 posts
Posted on 8/12/20 at 11:36 am to
350 and 288 were already taken

so 0

for an 80 meter cable to hang from two 50 meter poles and be 10 meters from the ground (so 40 meters down), the poles would have to be right next to each other.

And this is America

Use feet or yards next time.

Communist.
Posted by JodyPlauche
Baton Rouge
Member since Aug 2009
8832 posts
Posted on 8/12/20 at 11:36 am to
3.50 meters
Posted by DrEdgeLSU
Baton Rouge, LA
Member since Dec 2006
8166 posts
Posted on 8/12/20 at 11:37 am to
quote:

I feel like you have to make a right triangle with the 10m but idk how since you only have one side


You have 2 sides -- the vertical drop of 40m and the half of the 80m cable.

This leaves a remaining leg in the triangle of zero.
Posted by PrivatePublic
Member since Nov 2012
17848 posts
Posted on 8/12/20 at 11:38 am to
2v40
Posted by yankeeundercover
Buffalo, NY
Member since Jan 2010
36373 posts
Posted on 8/12/20 at 11:39 am to
quote:

This is not drawn to scale...
Thats the biggest thing. It’s absolutely not, so it’s purposefully deceptive.

Good job to whomever answered “Zero”
Posted by LSUBoo
Knoxville, TN
Member since Mar 2006
101920 posts
Posted on 8/12/20 at 11:39 am to
quote:

How can an 80m cable be hanging 10m from the ground and 40m from each side?

50m - 10m = 40m x 2 = 80m. The answer has to be zero and this is not drawn to scale.


This is correct. I missed the 80m cable on my initial answer and took it as a scaled parabola.
Posted by East Coast Band
Member since Nov 2010
62813 posts
Posted on 8/12/20 at 11:41 am to
Its a whole lot easier to measure the length between the poles than to measure the length of the cable
Posted by Porcine Human
Fayetteville, Arkansas
Member since Feb 2016
11220 posts
Posted on 8/12/20 at 11:42 am to
ah shite you're right
Posted by TheArrogantCorndog
Highland Rd
Member since Sep 2009
14815 posts
Posted on 8/12/20 at 11:42 am to
The pole is 50m tall... the bottom of the cable is 10m above the ground... the cable then goes back up to the top of a 50m pole

The cable is 80m

50m-10m=40m
40m to the bottom and 40m to the top =80m

The poles are 0m apart and the picture is bullshite
Posted by tokenBoiler
Lafayette, Indiana
Member since Aug 2012
4416 posts
Posted on 8/12/20 at 11:42 am to
quote:

I feel like you have to make a right triangle with the 10m but idk how since you only have one side


Right, but it's a quick sanity check.

One leg of the right triangle is 40 (the distance from the low point of the cable to the top of the pole.)

The hypotenuse of the right triangle can not be longer than 40 (half the cable length).

There's only one solution - vertical side is 40, hypotenuse is 40, other leg of the 'triangle' is 0.


ETA: I should have read the whole thread - lots of people already answered.
This post was edited on 8/12/20 at 11:45 am
Posted by swolverine
Member since Jun 2020
1966 posts
Posted on 8/12/20 at 11:45 am to
80m
Posted by GetMeOutOfHere
Member since Aug 2018
692 posts
Posted on 8/12/20 at 11:45 am to
That's when you ask "who the hell wrote these specs expecting a long curved cable?"
first pageprev pagePage 2 of 3Next pagelast page

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram