puzzler

say you’re sitting in a boat in the middle of a pond. In the boat with you, there’s a big rock. You chuch the rock into the water and it sinks to the bottom. Does the surface level of the pond go up or down?

computer programming puzzle: say you have a string like “the cat is sitting on the wall” and using only one piece of temp storage, reverse the other of the words. In the previous example, you want “wall the on sitting is cat the”

another programming puzzle. say you have a ray from the origin to a point in the first quadrant (both x and y are positive). I give you another point. Is the point to the left or right of the line?

3 thoughts on “puzzler”

  1. I think the water level would go down. When the rock is in the boat it’s pulling the boat down a certain amount and displacing some percentage of the boat space. I’d guess the rock itself is compact compared to that amount of boat space.

    The other two sound like work, I’m up too early for that.

  2. Candy is right. When the rock is in the boat, it causes the boat to displace its weight in water. This volume is less than the volume of the rok itself, so the surface goes down.

Leave a Reply

Your email address will not be published. Required fields are marked *