Meaningless Drivel is fun!*
The moose likes Programming Diversions and the fly likes Plots Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Plots" Watch "Plots" New topic
Author

Plots

HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
The Svensen sisters have purchased land with four trees and four ponds located as shown on the plot plan.They have asked Thomas the architect
to divide the parcel of land , using the grid lines, into four identical plots. The problem is each sister would like one tree and one pond on her individual plot. Can he do it ? How ?

X = tree
o = pond


Have the spacings being changed ?
[ May 06, 2004: Message edited by: HS Thomas ]
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11161
    
  16

If, by four identical plots, you mean that the relative location of the ponds vs. tree in addition to the shape (allowing for a rotation of the whole plot), then no. Since two ponds are adjacent, one is diagonal, and one is not even touching a tree, this is impossible.
But you probably just mean the SHAPE of the plots are the same, and the ponds/trees can be anywhere.
and i don't have a answer to that.
;-)


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
The CODE UBB has changed.
Previous diagrams I had posted look a real mess now.
All I can suggest is to click on "" button on the top of the first post, to see what th ediagram looks like.
fred, and yes the shape of the plots must be identical but it doesn't matter on which grid the tree or lake is.
Each plot has nine squares.
[ May 06, 2004: Message edited by: HS Thomas ]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
HS, are you using Mozilla? UBB unfortunately generates crappy nonstandard HTML in some circumstances, and Mozilla (incl. Firefox) doesn't interpret this HTML the way we'd like. (Not their fault really.) However IE and Opera will present the diagram the way you want.
[ May 07, 2004: Message edited by: Jim Yingst ]

"I'm not back." - Bill Harding, Twister
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Jim, yes I am. It looks fine in IE.
Thanks.
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Here's one plot. And the others are identical apart from the positioning of the tree and lake.

[ May 07, 2004: Message edited by: HS Thomas ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Plots
 
Similar Threads
Shivaji - To be released
Knight's tour
Axis on Cewolf graphs
Cherry in glass
Color Contour Plot Widgets