BrainDen.com - Brain Teasers
• 0 ## Question A real life example of calculus in action:

A barrel of oil is lying on its side. It has one of its ends firmly attached to the wall (Meaning the barrel cannot be repositioned.) A dipstick can be used from the top of the rounded side to determine the height of the oil remaining in the barrel. Write a function to get the volume of the oil from the height of the oil on the dipstick. The barrel has a 22" diameter (11" radius) and a length of 33."

## Recommended Posts

• 0

Voil = 33{121[pi - cos-1([h-11]/11)] + (h-11) sqrt(22h - h2)} in3

Special cases:

Empty [h=0]: Voil

= 33{121[pi - cos-1(-1)] + (-11) sqrt(0)} in3

= 33{121[pi - pi] + 0}

= 0 in3

Full [h=22]: Voil

= 33{121[pi - cos-1(+1)] + (11) sqrt(222 - 222)} in3

= 33{121[pi - 0] + 0}

= 33pi x 112 in3

= 12544.38 in3

Half-full [h=11]: Voil

= 33{121[pi - cos-1(0)] + (0) sqrt(112)} in3

= 33{121[pi - pi/2] + 0}

= 33pi/2 x 112 in3

= 6272.19 in3

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account. ×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.