Question

Cow and Bridge

Asked by: rajikrishna

A cow was standing on a bridge, 5feet away from the middle of the bridge. suddenly a lightning
 express with 90 miles/hr was
coming towards the bridge from nearest end of the cow.seeeing this the cow ran towards the
express and managed to escape
when the train is one feet away from the bridge. if it would have ran to opposite direction
(ie away from train) it would have been
 hit the train one ft away from the end of the bridge.
 Calculate the length of bridge.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-08-04 at 09:20:26ID21082175
Topic

Puzzles & Riddles

Participating Experts
21
Points
35
Comments
63

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. hydra cows and stuff
    im competing in a riddle competition (which has already been won) and ive become stuck on some of these questions in this riddle Contest 2 - Round 1 - Riddle 24 TITLE : Number Quiz -- by Strife How many sides does an icosahedron have? -- 20 + How many pedals does a standar...
  2. cow and the bridge
    A cow is standing 5 feet from the middle of the bridge. A train is coming towards the cow at speed of 90 miles per hour from the near end and the train is twice as long as the bridge. If the cow had tried to move forward in the same direction as of the train then the cow wo...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: snoyes_jwPosted on 2004-08-04 at 09:23:58ID: 11717391

Hey, y'all watch this.

<ooooeeeeeeooooo>I have control of your monitor.  I am watching you.  I can see you.  You are studying for an Infosys exam.  You wish the kind experts here to help you prepare.

Freaky, huh?

 

by: snoyes_jwPosted on 2004-08-04 at 09:31:26ID: 11717484

Ok, seriously, we just answered this problem (or one very like it) a week or two ago, but I think it was deleted, because asking Infosys questions is considered equivalent to cheating on homework, which is not allowed here.  What I can do is point you in the direction of how to solve it yourself.

Lay out the problem with the starting point of the train, the cow, and the ends of the bridge.  Assign variables for the speed the cow runs, the length of the bridge, and the distance from the train to the bridge.  Once you have all that laid out, you can post here again if you're still stuck.

 

by: ArawnPosted on 2004-08-04 at 09:42:14ID: 11717609

I want to know from where these guys get all their questions. Shouldn't these questions be kept under lock and key somewhere so that potential infosys employees don't cheat?

 

by: ArawnPosted on 2004-08-04 at 09:44:35ID: 11717647

I think there is some information missing. Are you talking about a laden or an unladen cow? And is this a European or an African cow?

 

by: snoyes_jwPosted on 2004-08-04 at 09:44:59ID: 11717653

I want to know how I can get a job at Infosys, writing entrance exams.  Think they'd let me telecommute?

 

by: snoyes_jwPosted on 2004-08-04 at 09:45:25ID: 11717660

African cows aren't migratory.

 

by: rajikrishnaPosted on 2004-08-04 at 10:15:37ID: 11718102

Thank you for YOUR WONDERFUL RESPONSE!!!!!!!!!!!!!!
puzzle is a puzzle WHETHER it is Infosys or IBM it doesnt matter.


KNOWLEDGE IS MEANT TO BE SHARED AND NOT TO BE MADE FUN OF.

thank you so much

 

by: snoyes_jwPosted on 2004-08-04 at 10:20:57ID: 11718177

Hey look, Arawn, we touched a nerve.  Think we can get this moved to the lounge where we can be civil about it?

rajikrishna: We're happy to help you out with this puzzle, but you have to meet us halfway (or 5 feet either side of halfway in this case).  If you post your thoughts on the puzzle, what you've tried, and what you don't understand, then we will try to give you a nudge in the correct direction.  But don't expect us to solve your problems for you ... remember, we won't be there when you take the test, so you'll have to do it on your own.

 

by: ktrimmerPosted on 2004-08-04 at 10:26:48ID: 11718259

I agree with rajikrishna.

Knowledge is meant to be shared, and not made fun of.

But LACK of knowledge on the other hand, where you don't know the answer so you post it here hoping we'll help you get a job that you don't deserve, IS meant to be fun of.  We'll share our knowledge if you, as snoyes said, meet us halfway and explain to us what parts you don't understand or whatnot.

We won't do your work for you, but we'll HELP you do your work.  You, in the end, are the one who needs to learn how to do the puzzle, not us.  If we give you an answer it won't help you unless you're wanting to cheat.

Give a man a fish, he'll ask for another.
Teach a man to fish, and he'll leave you alone.

 

by: phileocaPosted on 2004-08-04 at 10:34:05ID: 11718378

excuse me . i'm taking a home-study math today.  can u please solved these for me:

How many badgers does it take to screw in a lightbulb?
What would be the wattage of a lightbulb that was powered by potato's?  (spud light)
x + 0 = 1  Solve for X

 

by: snoyes_jwPosted on 2004-08-04 at 10:43:26ID: 11718519

phileoca:
a) That's not an appropriate questions outside the lounge.
b) Idaho
c) Well, X is probably the antiderivative of x.  Rearranging, we get x = 1; integrate, and we get X = x + c.

 

by: ArawnPosted on 2004-08-04 at 10:53:41ID: 11718648

>>How many badgers does it take to screw in a lightbulb?
None. The little suckers get their human slaves to do it.

>>What would be the wattage of a lightbulb that was powered by potato's?  (spud light)
How quckly are the potatoes running on the treadmill?


 

by: phileocaPosted on 2004-08-04 at 10:54:02ID: 11718652

thanks snoyes.  
After someone else posts with those exact same answers, i'll be sure to award them the points.  ^^

 

by: ArawnPosted on 2004-08-04 at 10:54:38ID: 11718660

>> African cows aren't migratory.
What if an entire flock of African swallows caried the cow?

 

by: snoyes_jwPosted on 2004-08-04 at 10:58:29ID: 11718703

>What if an entire flock of African swallows caried the cow?
Not a bad idea.  In my experience, wasps are far more interested in roast beef than they are in strawberry jam.  (No, I'm not going to explain it).

 

by: IdeefiksPosted on 2004-08-04 at 11:01:54ID: 11718734

>>How many badgers does it take to screw in a lightbulb?
1001, 1 to hold the lightbulb and 1000 to rotate the house

>>What would be the wattage of a lightbulb that was powered by potato's?  (spud light)
approximately 1.5712 x the wattage of a lightbulb powered by carrots

>>c) Well, X is probably the antiderivative of x.  Rearranging, we get x = 1; integrate, and we get X = x + c.
so we get: X = x + (Well, X is probably the antiderivative of x.  Rearranging, we get x = 1; integrate, and we get X = x + c)

 

by: snoyes_jwPosted on 2004-08-04 at 11:08:22ID: 11718804

Hooray!  Recursion and the Endless Loops!  eh, a mediocre name for a rock band, at best.

 

by: vet716Posted on 2004-08-04 at 12:25:25ID: 11719748

>>How many badgers does it take to screw in a lightbulb?
None their nocturnal (that means they like the dark)

>>What would be the wattage of a lightbulb that was powered by potato's?  (spud light)
According to the reading I'm getting from my flux capacitor, exactly 1.21 gigawatts.

:)

And just for the record, I'm deathly afraid of bridge crossing cows.

 

by: wertykPosted on 2004-08-04 at 14:23:46ID: 11720957

phileoca:
a) That's not an appropriate questions outside the lounge.
b) Idaho
c) Well, X is probably the antiderivative of x.  Rearranging, we get x = 1; integrate, and we get X = x + c.

now gimme points

 

by: iamthecreatorPosted on 2004-08-04 at 18:43:50ID: 11722619

hey guys if some one doesnt wanna answer ......dont answer but please refrain from using yr IQ guessing how the question got outta the Infosys exams or telling the person that he doesnt deserve to be an INFOSYS employee if he cannot answer that question.
r all of us (capable of answering that question) deserving to be Infosys employee.....
having a bagfull of point at EE should not make a person VAIN!!!!!!!!

 

by: rajikrishnaPosted on 2004-08-04 at 19:25:57ID: 11722776

Hi Guys!!

If not for the comment made by iamthecreator i wouldnt have come to this web site again,atleast
of you all "experts!!" he is the only person who understood me.
Everyobody wants to come up in life and i am not an exception.I am trying hard to pass the exam
but when i learnt that i am not capable to be an Infosys employee it really hurt me a lot and
i lost all my hope.Dont think that i blindly post the problems.After sitting with it for
hrs together and if i dont get only then i disturb you EXPERTS.If you could have told me that i shuld
tell u people how fari have done i wouldnt have been hurt at all.
Ok anyway i am a dumb girl no body can change that and one think whether i pass the
exam or not it doesnt matter ,if i want to improve my problem
solving capability can you please tell me what i should do or is it an inborn talent??

Here is my sum :
we have to find out the length of the bridge assume it to be x mts.
The cow is standing 5 ft away from x/2 and the train hit it 1 ft from the end of the bridge
so,
the cow covers (x/2 - 5 + 1) 5 [5 feet away] and 1[the train hit it 1 ft from the bridge]
at the same time the train covers x+1 ft .here only i amm stuck we should add some feet to this
(x+1) i dont know how much we should add
Similarly we have to form another set of equation where the cow ran towards the train and managed to escape.
here the cow covers (x/2+5) at the same time the train covers ????how mcuh
if we can form these two sets of equations we can find out
Thats all guys
Thank you in advance

 

by: snoyes_jwPosted on 2004-08-04 at 22:15:53ID: 11723312

Looks like you're getting there...
x is the length of the bridge, so the cow is at x/2-5 from the end of the bridge.
y is the current distance from the train to the bridge.
So the train goes y - 1 in the same time the cow goes x/2 - 5 + 1, and the cow escapes.

Alternatively, the train goes y + x - 1 in the same time the cow goes x/2 + 5 - 1, and the cow gets hit.

So you have two equations, two unknowns:
y - 1 = x/2 - 5 + 1
y + x - 1 = x/2 + 5 - 1

Rearrange, and solve for x.

 

by: lemmeCPosted on 2004-08-04 at 23:03:18ID: 11723434

>> if i want to improve my problem solving capability can you please tell me what i should do

Some books that would help:

Puzzles to Puzzle you - Shakuntala Devi
More puzzles - Shakuntala Devi
Quantitative Aptitude - R.S.Agarwal

Most of the puzzles appearing in Infosys tests are variants of the puzzles in these books.

 

by: ArawnPosted on 2004-08-05 at 05:45:32ID: 11725424

rajikrishna

The reason that all of us "experts" have been commenting like we have is because for the last few weeks the Puzzles and Riddles section has become a dumping ground of questions from people who want to pass the Infosys exam. Some people have been devious in their attempts to disguise the fact that they were trying to use our skills to pass an exam. Others would only post questions and wait for results without providing any sort of feedback to show they have done some work. You at least have the courtesy (after a bit of prodding) to post your work and show that you have made an attempt. So when we saw your question, we all naturally assumed that you were just another person who wanted us to do all the work for you while you go and apply for a job for which you might not be qualified. Sorry about any hurt feelings or misunderstandings.

Cheers,

Arawn

 

by: lemmeCPosted on 2004-08-05 at 06:49:06ID: 11726060

An off-topic comment, forgive me.

>> r all of us (capable of answering that question) deserving to be Infosys employee.....
Whether we are deserving or not, I do not know. But with the amount of recruitment that Infosys does (10,000 people a year), we can be sure that most people capable of answering that question would get through the tests. Until recently, written tests were the sole criterion for recruiting people at Infosys. No interviews!



 

by: rajikrishnaPosted on 2004-08-05 at 07:03:39ID: 11726224

ok guys cool it
no more heart feelings

u are all my brothers and sisters  and hence i give you the full freedom to comment on me
i believe whatever you tell me it will be for my benefit only.
i am not upset with you guys anymore

ok see you
have a nice day

 

by: snoyes_jwPosted on 2004-08-05 at 07:08:37ID: 11726286

rajikrishna:

So, have you solved for x yet?  What value do you get?

 

by: rajikrishnaPosted on 2004-08-05 at 08:27:29ID: 11727179

just came from office

i solved for x and got  8  for x which is OBVIOUSLY NOT CORRECT SEEMS TO BE ILLOGICAL

 

by: snoyes_jwPosted on 2004-08-05 at 08:46:02ID: 11727401

Right, we forgot to account for the fact that the train and the cow move at different speeds.  The train moves at a rate of 90mph, or 7920 ft/min, which we'll call T, and the cow goes at an unknown rate, which we'll call C.

So our equations should have been:
1/T * (y-1) = 1/C * (x/2 - 5 + 1)
1/T * (y + x - 1) = 1/C * (x/2 + 5 - 1)

Now we have two equations and three unknowns, which means there are many possibilities.  Does the original problem state how fast the cow runs?

 

by: IdeefiksPosted on 2004-08-05 at 10:04:33ID: 11728264

Snoyes, I believe there is a small flaw in your first equation, since the cow escaped it got of the tracks at the end of the bridge and did not cover the extra foot to reach the train, so:

1/T * (y-1) = 1/C * (x/2 - 5)
1/T * (y + x - 1) = 1/C * (x/2 + 5 - 1)

We know T and can eliminate either y or C, hence the solution will depend on the remaining unknown, so unless somebody can tell us how fast the average cow (african or not) can run towards an approaching train, or whether we can estimate y by a cow's hearing ability some info is missing from the question.

rajikrishna: glad to hear your are not hurt and working on the solution with us.

 

by: rajikrishnaPosted on 2004-08-05 at 10:15:35ID: 11728352

Thank you all for ur help
I think thers some flaw in the sum or some data missing.
Rather than the answer i was much bothered abt the approach to such kind of sums.Anyway i am trying to solve this.

Thank you once again.

 

by: snoyes_jwPosted on 2004-08-05 at 10:45:43ID: 11728707

Idefiks, I think you're right about the equation. But also consider that the cow needs room to get off the bridge.  If the cow is standing at the bridge entrance when the train is one foot from the entrance, it's still going to get creamed.  So it needs to go a little farther than just (x/2 - 5).  Train tracks are what, 4 feet wide?  So it's got to go at least two feet perpendicular to the track.  Plus we have to consider the length of the cow, and its acceleration, and how long it takes to turn one direction or the other, and where the railings for the bridge end so the cow can move sideways off the track, and...

 

by: wertykPosted on 2004-08-05 at 11:00:20ID: 11728901

just a quick side questions, what is infosys and why do they have these ridiculous entrance exams?

 

by: snoyes_jwPosted on 2004-08-05 at 11:04:49ID: 11728960

Big tech company in India, I think.  I guess they are looking for people with good math and problem-solving skills.

 

by: wertykPosted on 2004-08-05 at 11:07:00ID: 11728985

thanks.

 

by: jeff_trentPosted on 2004-08-05 at 13:41:37ID: 11730576

I'm not sure if this really helps, as it doesn't take into consideration the velocity of the train, nor the velocity of the cow (in either direction).  I'm just hoping that this different way of looking at things may help one of you solve the problem.

Let's start off with naming some variables:

X = Length of Bridge
A = Starting point of Train
B = Side of Bridge nearest to the Train
C = Side of Bridge furthest from the Train
D = Cow's starting location
E = Center of the Bridge
X = Length of Bridge
Y = Distance from A to B

Now let's define things in terms of these points, starting with the cow running toward the train and escaping by a single foot's margin:

The cow will travel from (D to B) in the same time that the train travels from (A to B - 1).  NOTE:  Assume that B - 1 means one foot short of point B.
The cow's travel can also be defined as:     X/2 - 5
The train's travel can also be defined as:     Y - 1

Now let's look at them with the cow running away from the train and being hit only a foot from the safety of the far side of the bridge:

The cow will travel from (D to C - 1) in the same time that the train travels from (A to C - 1).
The cow's travel can also be defined as:     X/2 + 4
The train's travel can also be defined as:     (Y - 1) + X

This seems like a good start, but I'm lost from here.  Hopefully someone can take this and run with it...good luck everyone.

 

by: ozoPosted on 2004-08-05 at 14:42:34ID: 11731078

The train travels the length of the bridge in the same time that it takes the cow to run 9 feet.

 

by: rajikrishnaPosted on 2004-08-05 at 23:24:22ID: 11733190

I feel that the train speed is irrelevant

 

by: lemmeCPosted on 2004-08-06 at 00:29:25ID: 11733411

Length of bridge = 810/(speed of cow)

 

by: sotta12Posted on 2004-08-06 at 00:48:09ID: 11733472

Hey raji,

Not able to get into infosys is not the end of the world. I too had tried and failed a few years back. So, take it easy.....
Or to feel better, maybe you can do what I did - marry someone who works in Infy...:-)).......but seriously, my wife does work in Infy!!

As for the riddle I dont have the habit of solving such types using equations as I spend too much time to form the equations. My GUESS solution is - Length of the bridge is 80mts.
Train moving @ 40m/s, cow @ 4m/sec, cow covers 36m in 9 sec. to escape. Converted all to meters as Iam more comfy using that.
I might be wrong, better to chk this out.

As for people who are taing up Infy exams, you better try seeing sites like this one - <<http://members.rediff.com/sudarshanbr/info.htm>>

 

by: IdeefiksPosted on 2004-08-06 at 08:10:54ID: 11736354

Snoyes: The cow we are dealing with here starred in one of the X-files episodes, once it reaches the end of the bridge, before being killed by the train, it can teleporte itself sideways ... now you see it, now you don't ... Why can it not do this when it is in the middle of the bridge you ask? Because the huge metal railings of the bridge guide the energy field created by the cow when teleporting and form a magnetic field which the cow can not cross in its energised state. The risk of being absorbed by the magnetic field and remain trapped in the railing forever is just too big ...

LemmeC: You came up with the same solution I did, the cow's speed also needs to be expressed in mph.

Rajikrishna: I feel the train speed IS rellevant, imagine this: the train is extremely slow and therefor the cow can stare at it for a while - as cows sometimes do - and easily stroll of at either side. Or, it is a high speed magnetic train chasing at you at 500 Kph, the cow looks at either side of the bridge and before it can say BOOOOO it is transformed into corned beef ...

 

by: rajikrishnaPosted on 2004-08-06 at 09:05:38ID: 11736920

bcus the speed didnt come in the equations which i framed i told like that but

 

by: Galisteo8Posted on 2004-08-06 at 10:10:22ID: 11737569

I would also think the speed of the cow is irrelevant, as long as it is CONSTANT (no acceleration or deceleration).  Of course, this assumes that our super-cow can not only teleport to safety at the end of the bridge, but also that she can go from 0 mph to her final speed instantaneously. Seriously, there must be some bovine enhancements at work here.

 

by: Galisteo8Posted on 2004-08-06 at 10:13:27ID: 11737591

Oh -- but the speed of the train WOULD be relevant insofar as it would help determine the distance traveled by the train from Point A (1 foot away from where the cow leaps to safety) to Point B (where the cow meets her doom 1 foot from the far end of the bridge).

 

by: esmogenPosted on 2004-08-10 at 07:37:13ID: 11763324

Shoot the cow where it stands, and let the train bring you the meat. (What's left anyways)

 

by: DavidBirch2dotComPosted on 2004-08-10 at 10:26:03ID: 11765313

ok I am not an american, WHAT ON EARTH IS Infosys  ???

 

by: wertykPosted on 2004-08-10 at 13:04:20ID: 11767120

david, i'm an american, i still didnt know what infosys is. look up, i asked. its a company in india.

 

by: ShattucPosted on 2004-08-11 at 02:13:27ID: 11770833

ok... here's the problem
the speed of the cow does not matter.
it is standing 5 feet from the middle of the bridge. (this gives you an Idea to how long the bridge is, (and we aren't talking about the golden gate)
The cow runs toward the train.
the cow makes it to safety by doing this
would have to assume at this point that the cow was standing 5 feet from the center of the bridge toward the train.
 had the cow been running away from the train, and made it, it would have had to have been standing on the five feet from the middle away from the train.
do you understand?

All logic problems, which is what this boils down to. are confusing at first. but once you figure out the wording, and mark down the facts, the solution is easier to reach.

I add one last comment which may solve your problem,  (but you still have to work for it.

Because the cow was standing five feet away from the middle towards the train, it escaped it's doom. had it run the other direction, it would have been hit 1 foot before the end of the bridge.

1' |              X                   |               5' |             Y             |
now from this, you can determine the speed of the cow, and the length of the bridge it is on.

 

by: ShattucPosted on 2004-08-11 at 02:15:32ID: 11770849

note, I didn't catch that it stated the cow was running toward the train in the question, just a logical conclusion based on the fact the cow lived.

 

by: Galisteo8Posted on 2004-08-12 at 11:51:54ID: 11787067

So... the time it takes for the cow to travel HALF the length of the bridge less her 5-foot head start can be Tx. The time it takes for the cow to travel HALF the length of the bridge PLUS the 5 feet but LESS the fateful 1 foot at the far end of the bridge can be Ty. The difference between Ty and Tx is the amount of time required for the train to travel exactly the length of the bridge.

Just my 2 cents. I still can't work it out... Too distracted...

 

by: IdeefiksPosted on 2004-08-12 at 12:17:19ID: 11787312

I really hate to disappoint everybody but this is nothing new.
These were the 2 equations I posted a week ago:

1) 1/T * (y-1) = 1/C * (x/2 - 5)
2) 1/T * (y + x - 1) = 1/C * (x/2 + 5 - 1)

The 'new' equation would be:
9ft/C = x/T

However if we do 2) - 1) we get the exact same thing and a linear combination of equations is NOT a new equation ...
It is just another way of writing down the same thing.


 

by: IdeefiksPosted on 2004-08-12 at 12:24:21ID: 11787384

Shattuc,

you wrote:
The cow runs toward the train.
the cow makes it to safety by doing this
would have to assume at this point that the cow was standing 5 feet from the center of the bridge toward the train.
 had the cow been running away from the train, and made it, it would have had to have been standing on the five feet from the middle away from the train.
do you understand?

No, I don't understand because that is not correct. If the cow is standing 5 ft away from the middle, away from the train, and ran away from the train then the cow would also need to run a distance of x/2-5 to get to safety. The train on the other hand would have to cover the distance of the bridge extra to catch it so the situation is not the same.

 

by: doraiswamyPosted on 2004-08-14 at 06:38:14ID: 11799945

Lets finish this off:
Let A and B be the ends of the bridge, and the train is approaching from the B side at 90mph = 132 feet per sec (fps).
Let width of bridge be x feet. Cow stands x/2 - 5 feet from B.
Let the train be a distance d from point B
Let cow's speed be y fps.

cow covers distance x/2-5 feet in
  t1 = (x/2 -5)/y
At that point of time the train is 1 foot from the cow i.e 1 foot from B.
 t1 = (d-1)/132
Therefore  (x/2 -5)/y = (d-1)/132
This is the first equation

In the second case, when the cow runs AWAY from the train, it covers x-1-(x/2-5) feet before being hit, = x/2+4 feet.
t2 = (x/2+4)/y seconds
train covers d+x-1 feet in the same time
t2 = (d+x-1)/132
Therefore (x/2+4)/y = (d+x-1)/132
This is the second equation

We have TWO equations & THREE unknowns. Hence there is no single solution for the bridge width.

simplifying equation 1 we get
(x-10)/2y = (d-1)/132

equation2:  (x+8)/2y = (d-1)/132 + x/132

subtracting eqn 1 from eqn 2 we get

18/2y = x/132
or
9/y = x/132
or
x = 1188/y

If there is really a solution I would like to know.

There is no lower limit to y. But we can assume the cow would run like hell. How fast do you think a cow can run?
Anyway, how did the cow manage to calculate that if it ran TOWARDS the train it would escape?
Maybe the COW should join INFOSYS.

 

by: JR2003Posted on 2004-08-16 at 14:39:08ID: 11815340

b=Bridge Length in feet
c = top speed of the cow in feet/second

The train is travelling at 132'/s
The cow escapes with just 1/132 seconds to go.
To escape the cow has travelled 1/2b-5'
If the cow runs away from he train by the time the train is 1' away from the bridge the cow has travelled 1/2b-5' towards the end of the bridge after starting 1/2b+5' from the end so he (the cow) only has 10' to go before reaching the end of the bridge. The train has just distance b to go before hitting the cow.

So the time it takes the cow to run 10' is the time it takes the train to cover the length of the bridge.

Say the cow travels at c feet per second then it will take 10/c secs to run 10'
The train is travelling at 132 feet/sec so it would travel 132*(10/c) feet in the same time - this is also the time it take to travel the length of the bridge.

So that's the answer:
The length of the bridge is 1320/c feet
Where c is the top speed of the cow.

 

by: JR2003Posted on 2004-08-16 at 15:19:41ID: 11815654

oops. Spotted a mistake:
should have said:

b=Bridge Length in feet
c = top speed of the cow in feet/second

The train is travelling at 132'/s
The cow escapes with just 1/132 seconds to go.
To escape the cow has travelled 1/2b-5'
If the cow runs away from he train by the time the train is 1' away from the bridge the cow has travelled 1/2b-5' towards the end of the bridge after starting 1/2b+5' from the end so he (the cow) only has 10' to go before reaching the end of the bridge and 9' to go before being hit by the train. The train has just distance b to go before hitting the cow.

So the time it takes the cow to run 9' is the time it takes the train to cover the length of the bridge.

Say the cow travels at c feet per second then it will take 9/c secs to run 9'
The train is travelling at 132 feet/sec so it would travel 132*(9/c) feet in the same time - this is also the time it take to travel the length of the bridge.

So that's the answer:
The length of the bridge is 1188/c feet
Where c is the top speed of the cow.

PS: doraiswamy had the correct answer all along you should give him the points.

 

by: ozoPosted on 2004-08-16 at 23:12:10ID: 11817833

Others have expressed the same answer earlier in different units.

 

by: PennGwynPosted on 2004-08-17 at 14:08:24ID: 11825414

Assuming a spherical cow of uniform density and constant speed....

In one case, our instant of interest is when the train is 1' before reaching (the near end of ) the bridge.  In the other case, our instant of interest is when the train is 1' before reaching the FAR end of the bridge.  "Obviously" the time delta between these two instants is the time it takes the train to cover the length of the bridge.

In the first case, the cow travels (x/2)-5 feet.  In the second case, it travels (x/2)+5-1 feet.  "Obviously" the distance delta between these two cases is 9'.  (An unwary problem-solver might come up with 10'...)

So we have that the train covers the length of the bridge in the same time as the cow would cover 9'.  IF we had the speed of the cow, we could work that out to an exact number; since we don't, we end up with an expression in terms of the speed of the cow.

Note that this only works if (x/2)-5 >= 0.  i.e., if the bridge is less than 10' wide, the cow travels less than 9' and so the solution is no longer along the same line as if the bridge is at least 10' wide.  In the extreme case where the bridge is 0' wide (by definition it absolutely cannot be *negative*...), the cow can travel at any speed, and it both escapes AND is hit by the train -- obviously some sort of quantum singularity (see Schroedinger's Cat).

 

by: Galisteo8Posted on 2004-08-18 at 10:18:15ID: 11833146

Simultaenously geting hit AND escaping? It sounds as though this may require redefining what it means to get hit by a train. Perhaps the impact of the train is precisely what sets the cow free from a universe where a bridge can be 0' wide?

 

by: IdeefiksPosted on 2004-08-18 at 10:44:32ID: 11833516

And so the cow joined Infosys,
doraiswamy got the points,
and we should all be hit by a train to be set free from a universe where this thread exists.

 

by: ClothahumpPosted on 2004-09-07 at 11:07:18ID: 11999373

I realize that I got here late and this topic is closed, but I think the answer is that the bridge is 12 feet long.

Initial assumptions:

B=length of bridge
(B/2)-5 = distance cow runs and lives
(B/2)+5 = distance cow runs and dies

In both scenarios, the cow starts running when it sees the train at the same location.  The distance the train travels to the end of the bridge, then, is constant and can be ignored.  That leaves us with the cow dying at B-1; therefore the train covers B-1 feet in the same time that the cow covers (B/2)-5 feet, or:
B-1=(B/2)+5
2B-2=B+10
B=12

 

by: munishgoyal213Posted on 2005-07-27 at 00:28:17ID: 14534186

Ok all my dear Eiensteins and galileos,
ppl r equating distances of cow and train.
some r putting up 2 eqns. but 3 vars , so infinte solns.

chk this:

c = cow's speed
x = length of bridge
y = distance train is at from bridge end


(x/2 - 5)/c = (y-1)/90 ----------------------(1)
(x/2 + 5 - 1)/c = (y + x - 1)/90 --------------(2)

solving thse 2 u get,
cx = 810 -------------(3)

ok,

now consider,

x/90 = (x/2 + 5 - 1)/c

plug in cx = 810

u get x = 1612/90 = bridge length

bbye

 

by: IdeefiksPosted on 2005-07-28 at 00:45:34ID: 14543701

>>(x/2 + 5 - 1)/c = (y + x - 1)/90 --------------(2)
>>now consider,
>>x/90 = (x/2 + 5 - 1)/c

combining both you get (y + x - 1)/90=x/90 or y=1

sorry Einstein, this riddle remains unsolved ...

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...