This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/5811/. Also, please do not modify any references to the original work (if any) contained in this content.
The Quarter-Tank Problem can be formulated like this: Finding the height above the bottom of a horizontal cylinder (such as a cylindrical gas tank) to which the it must be filled for it to be one quarter full amounts.
This calculator solves the more general problem, it finds the height above the bottom of a horizontal cylinder to which the it must be filled to be full at specified percentage.
This task is the exact opposite to the task solved in Cylindrical tank volume calculator.
Here is the equation which connects level of liquid and volume of liquid in the tank:
where p is needed fraction, i.e. 0.25 for one quarter full, R is radius of cylinder and h is height of liquid.
This equation does not have analytical solution for h, however, it can be solved by numerical methods, like Secant method, which is indeed used in this calculator.