IBM Interview Question: Puzzle: How do you weight an ... | Glassdoor.ca

## Interview Question

Software Engineer Interview(Student Candidate) Bengaluru (India)

# Puzzle: How do you weight an elephant without using a weigh

machine?

27

Use a pool -> calculate the volume of water of the pool and the water level, put the elephant in the pool, take note of the level after the elephant after it is in the pool. By Archimedes principle, the volume of water dislocated is the same as the weight. So the weight of the elephant is the same as the difference in water volume.

Fernando on 2010-12-31
11

Not quite. The volume of the water is not the same as the weight of the elephant. You'd have to estimate the density of an elephant and multiply that by the volume of the water to get the mass, then multiply that by the acceleration due to gravity in water system (SI, English Customary, etc.) you're using. Luckily, mammals are mostly water (humans are around 70% water on average), so about 2/3 of the weight of the elephant would be equivalent to the weight of the water displaced. So you would have to estimate how dense the rest of the elephant is (since it'd be minerals and such, I'd say it's more dense than water) and follow the steps described above.

Kyle on 2011-01-02
3

Apply a known force to the elephant and measure the acceleration. Use physics to deduce the mass.

Stuart on 2011-01-04
8

As it is not specified that the International System of Units must be used, define the Elephant unit (E) as the weight of your elephant. Your elephant then weights exactly 1E.

Wouzz on 2011-01-05
2

Kyle I have to disagree with you. According to Buoyancy principle: Any object, wholly or partially immersed in a fluid, is buoyed up by a force equal to the weight of the fluid displaced by the object. So if you calculate the displaced fluid weight, which is quite easy in water as it is very close or equal to 1kg/L, you can get very close to the real weight of the elephant.

Fernando on 2011-01-06
0

Hmm, I think Kyle is right... and so are you when you say "Any object, wholly or partially immersed in a fluid, is buoyed up by a force equal to the weight of the fluid displaced by the object". IMHO elephants don't float...

Wouzz on 2011-01-07
0

Actually Kyle is right. If we put something in the water, such as an sealed box with a ten pound weight inside (does not float), it will displace a proportionate amount of water. However, if we fill it up with a 50 pound weight, the same amount of water will be displaced, however.
Fernando, you are using the Buoyancy principle. The Buoyancy principle is meant for objects that float (hence the word buoyancy-it means pressure to keep afloat). As Wouzz said, elephants don't float.

The Nav on 2011-01-07
0

You could just put a boat in water, measure displacement. Then put the elephant in the boat and take the difference. The displacement is going to equal mass as long as it's floating so you're good in a boat.

Kyle was right that if you just threw an elephant in a pool, you would have you figure out density and all that.

Matt on 2011-01-11
3

I would say bring a female elephant and let them enjoy life..

chodobhagat on 2011-01-11
0

Isn't that just an improvised "weighing machine"?

Ben on 2011-01-11
1

it sounds like you all are trying to determine whether an elephant is a witch (Monty Python reference).

Instead of dealing with the whole mess of a wet elephant, why not use other pneumatic tools like an inflatable platform, an air pump, and a pressure sensor. See how much air pressure is required to lift the elephant.

pt on 2011-01-11
1

My experience is this, you don't have to have a perfectly correct answer. The goal of the question is to see if you can think around a problem. Besides elephants, I have heard 747's and aircraft carriers used as the object. A good answer shows that you thought of an alternate way of measurement, so the water displacement and pressure sensor ideas work. PS, if they ask you to weigh a 747, I would answer "Land it on an aircraft carrier and measure the additional water displacement!"

EP on 2011-01-11
2

I would use a see saw to weight my elephant. Using my weight (212 lbs in work wear), move the elephant until we balance, and then compare my distance to the pivot point to Clancy's distance to the pivot. (I named my elephant Clancy).

The hardest part... finding a see saw strong enough to hold Clancy.

AZ on 2011-01-11
0

Archimedes Law of the Lever states: Magnitudes are in equilibrium at distances reciprocally proportional to their weights.

"Give me a place to stand on, and I will move the Earth."

ERIC on 2011-01-11
0

Elephants DO float, even in fresh water. They're blubbery.

Sami on 2011-01-11
2

Simple answer : Use a beam balance . Put elephant on one side and start throwing weights on the other side . When the beam is balanced you got the weight of the elephant equal to the sum of weights on the other !

MG on 2011-01-11
0

Overthinker on 2011-01-11
0

Just find a person having a bad day and weigh him/her, help that person feel better, then weigh him/her again. The difference is the weight of the elephant you removed off his/her back. Works for monkeys too.

DaveH on 2011-01-11
0

one "weight"(s) by putting a weight on it

massive weight on my mind on 2011-01-11
0

massive weight on my mind on 2011-01-11
0

I would ask if it was an Indian elephant or an African elephant.

Monty on 2011-01-12
0

I would solicit bids and then sub-contract the task to a reputable, cost-effective elephant weight service vendor, and let THEM decide the best approach.They can use a weigh machine or use any other method that does not require ME to use a weigh machine. The question (and answer) are no different than any other variation of, "How do you accomplish a task when you don't have the needed resources?"

Sandy on 2011-01-24
1

by using first clas lever. keep an elephant at known distance from the fulcrum; make the effort distance long enough that your weight balances the weight of an elephant;
by using the formula
you already know load distance, effort distance and effort now you can calculate load, which is nothing but elephan'ts weight

Naresh on 2011-12-30
0

By using the momentum conservation law,
First I find a heavy enough object mith exact mass of m1 and then throw it with speed V1 to the elephant which is standing on a friction-less surface like ice or on plate with wheels under it to reduce the friction.
after they meet, the elephant will move. and the object will change its direction and speed.
Then I calculate the speed and direction of elephant and reflecting object, and finally I solve the vector equation below:
m.v1=m.v2+M.V
v1=vector of initial speed of object
v2=vector of final speed of object
M=elephant mass
V=vector of elephant speed

Pooya on 2012-06-18
0

elevate the elephant to height "h". it will have potential energy of "U=mgh".
hurl the elephant into a well which is vacumed well to avoid friction.
at the end of the well, there is a pool of water with exact mass of " m' " and temprature of T1. after elephant reaches the pool he will give all of his energy to water causing water to become warmer Q=U. so mgh=m'c(T2-T1)
with knowing g,h,m',c,T1 and T2 m can be calculated easily.

Pooya on 2012-06-18
0

place elephant on an iron plate and move it horizontally with steady speed v. and pass them through a constant magnetic field of B.
change B untill the elephant start to move upward.
F=V x B is the force of magnetic field ( x denotes vector multiplication) which is now equal to weght force W=mg. knowing g the gravity constant, solve m.

Pooya on 2012-06-18
0

use SEE SAW put elephant on one side and on other side some men when it get balanced weighs the men

0

1. Zero. Take the elephant to space. The weight = 0.
2. I can guess it to around 150 kg ( there is fat person who lives next door and we call him an elephant his weight is 150 kg)

0

I got asked this question. But the water displacement has gotten old. They prompted me for another answer. I said you measure the elephant and find out its volume in cubic meters. Then weigh its leg and measure it. Lets say the leg weighs 20 kgs and has a volume of 20 cubic metres. Then, each cubic metre weighs 1 kg. So if the total volume of elephant is 350 cubic meters, it will weigh 300 cubic metres.

Sharanya on 2015-04-15
0

Take heavy weight gym dumbells keep start hanging with the one end of the rope an the other end to elephant and the rope goes over the pully,keep adding weight till elephant gets lifted

Rishabh on 2015-09-18
0

esimate the answer to certain range and put it on a boat and if the boat shrinks it is more than the estimate weight else less
else use F=MA forumula apply certain force and the calculate acceleration and then mass

rahul on 2016-02-29
0

OK guys i take a boat which can carry more than a load of an elephant
i keep the elephant in that boat
i will add some more load by boarding some swimmers one by one into boat