This is the simplest of the subapps.

Use the sliders to adjust the length and diameter of the compartment. Set the desired pressurewith the buttons. The app will compute the size of a black powder charge and the resulting force.

The formula doesn‘t work well with very small or very large compartments, or with piston systems.