OK this isn't strictly a computer/internet issue but as this is the cleverest forum here
I have a cylindrical water tank (on its side). Its 1210 mm in diameter and 3000mm long. Contains aprox 3000l of water. I need to try to calculate the volume of water in the tank at various depths. Obivously at 605mm its half full so thats an easy 1500 litres.
I've googled a few sites including one that came up with
A = pi*a^2/2 - a^2*arcsin(1-h/a) - (a-h)*sqrt(h(2a-h))
(a = radius, h= height of water)
But my head is starting to hurt and i'm not sure why.
Is there a simpler way?