wu :: forums
« wu :: forums - The shunting (switching) locomotive »

Welcome, Guest. Please Login or Register.
Dec 3rd, 2024, 11:19pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: SMQ, ThudnBlunder, william wu, towr, Grimbal, Icarus, Eigenray)
   The shunting (switching) locomotive
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: The shunting (switching) locomotive  (Read 625 times)
hoferman
Newbie
*





   


Posts: 10
The shunting (switching) locomotive   locomotive.JPG
« on: Aug 17th, 2005, 2:26am »
Quote Quote Modify Modify

In the picture below you'll see a railway track with a locomotive and 2 waggons (A and B). The locomotive is able to drive around and push/pull the waggons around the track (shunting).  It can for example drive backwards into the shunting yard (or switching yard) of 15 long, and continue it's way driving forwards pushing waggon B into the shunting yard of 20 long.  
As you can see the three shunting yards are only of limited size. The locomotive is 10 long and the waggons are 5 long each. These sizes limit your shunting capabilities. For example the locomotiv can not drive into the shunting yard of 5 long (the one on the left). Or as another example the locomotive with the two waggons attached is not able to drive into the shunting yard of 15 long.
 
Your goal is to switch waggons A and B, and return the locomotive to it's orgininal place.
How will you drive and how will you push and pull?
 
Happy shunting!  
 
 
 
 
IP Logged

Sjoerd Job Postmus
Full Member
***





   


Posts: 228
Re: The shunting (switching) locomotive  
« Reply #1 on: Aug 17th, 2005, 2:43am »
Quote Quote Modify Modify

Quick guess
hidden:
Drive A into 20
Push B into it's place.
Ride around, pull A back, and let it on B's original spot.
Just continue on riding towards the bottom end.
If the orientation of the loc needs to be right too, you can turn in the 15-slot
IP Logged
hoferman
Newbie
*





   


Posts: 10
Re: The shunting (switching) locomotive  
« Reply #2 on: Aug 17th, 2005, 2:46am »
Quote Quote Modify Modify

Hi Sjoerd,
 
The idea is that you can only drive backwards in 15 and continue your way forwards into 20 (waggon B stuck at your front). Than continue backwards to A, pushing A with your front....  
Is it more clear now?
 
IP Logged
hoferman
Newbie
*





   


Posts: 10
Re: The shunting (switching) locomotive  
« Reply #3 on: Aug 17th, 2005, 2:48am »
Quote Quote Modify Modify

Sorry  (fault in last post). If coming from 20, you can only push A with your back.  
IP Logged
TenaliRaman
Uberpuzzler
*****



I am no special. I am only passionately curious.

   


Gender: male
Posts: 1001
Re: The shunting (switching) locomotive  
« Reply #4 on: Aug 17th, 2005, 4:36am »
Quote Quote Modify Modify

In the following answer, the push/pull and size of the yard should suggest from which end the locomotive is operating.

1. Push B into 20
2. Go around and push A into 20. (5+5+10)=20
3. Pull A into the place where B stood earlier
4. Go around and pull B into the place where A stood earlier
5. Bring the locomotive back to its original place

 
-- AI
IP Logged

Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
hoferman
Newbie
*





   


Posts: 10
Re: The shunting (switching) locomotive  
« Reply #5 on: Aug 17th, 2005, 4:52am »
Quote Quote Modify Modify

on Aug 17th, 2005, 4:36am, TenaliRaman wrote:
In the following answer, the push/pull and size of the yard should suggest from which end the locomotive is operating.
[hide]
1. Push B into 20
2. Go around and push A into 20. (5+5+10)=20
3. Pull A into the place where B stood earlier
4. Go around and pull B into the place where A stood earlier

 
At point 4 you 'Go around', but you are not able to go around because the bottom left shunting yard is too small for the Locomotive to pass.  
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: The shunting (switching) locomotive  
« Reply #6 on: Aug 17th, 2005, 4:55am »
Quote Quote Modify Modify


- pull B into 15 [3]
- push B into 5 [1]
- go around and push A against B [3]
- pull A+B into 20 and push them to the right segment [2]
- pull A into 20 and push it into 5 [2]
- transfer B to the left segment [4]
- get around to A [3]
- pull A into 15 and to the right segment [2]
- get back to the bottom segment [2]
 
22 movements.

edit: corrected small mistake.
« Last Edit: Aug 17th, 2005, 7:24am by Grimbal » IP Logged
TenaliRaman
Uberpuzzler
*****



I am no special. I am only passionately curious.

   


Gender: male
Posts: 1001
Re: The shunting (switching) locomotive  
« Reply #7 on: Aug 17th, 2005, 5:20am »
Quote Quote Modify Modify

on Aug 17th, 2005, 4:55am, Grimbal wrote:

<snip> - pull A into 20 and to the right segment [2] <snip>

Is your 8th line supposed to be,
Pull A into 15 ?
Btw nice work out.
 
-- AI
« Last Edit: Aug 17th, 2005, 5:21am by TenaliRaman » IP Logged

Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: The shunting (switching) locomotive  
« Reply #8 on: Aug 17th, 2005, 7:25am »
Quote Quote Modify Modify

Embarassed You are right.  Corrected.  But:  Cool
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board