Partial Volume of a Cylinder Calculation

4 replies · 3K views · last reply
CivCalc
Messages
2
Reaction score
0
It's been a long time since I've attended school, over 33 years ago. So my question may seem basic to many here. I wish to calculate the partial volume of a cylinder for my excel spreadsheet project. The formula I've found is attached. (unable to type it)

But I do not fully understand this formula. Particulalry the R sq cos -1 section. Could somebody please explain how I use cos
Thank You

View attachment 7715
 
Attachments
  • Formula for partial volume of a horizontal cylinder: volume = L(R²cos⁻¹((R−D)/R) − (R−D)√(2RD−D²)), with definitions: R is the radius of the cylinder, D is the depth, L is the length of the cylinder.
    Formula.PNG
    3 KB · Views: 192
Hello, and welcome to MHB! (Wave)

I don't use Excel, but I imagine it would be something like:

Code:
V=L*(R^2*ACOS((R-D)/R)-(R-D)*SQRT(2*R*D-D^2))
 
Thanks for response. No doesn't work on excel but that's OK, I'll investigate further
 
CivCalc said:
Thanks for response. No doesn't work on excel but that's OK, I'll investigate further

The Basic Spreadsheet
View attachment 7728
B1:B3 are the desired input values.

The formula in B5
View attachment 7729
I added a few sets of parentheses to emphasize order of operations.

You COULD name the cell ranges and refer to their meanings, rather than the cell addresses.
 
Attachments
  • Spreadsheet screenshot with columns A and B. A1 Radius, B1 2.00; A2 Depth, B2 1.50; A3 Length, B3 4.00; A5 Volume, B5 17.22. Row 4 is empty.
    Spreadsheet1.jpg
    8.6 KB · Views: 180
  • Spreadsheet formula bar showing the formula =B3*((B1^2)*ACOS((B1-B2)/B1)-(B1-B2)*SQRT((2*B1*B2)-(B2^2)))
    Spreadsheet2.jpg
    5.8 KB · Views: 170
Yeah, I figured what I gave was correct. :)