Surface tension gases. The pressure inside an ideal (one surface) soap bubble can be derived from thermodynamic free energy considerations. At constant temperature and particle number, , the differential Helmholtz energy is given by where is the difference in pressure inside and outside of the bubble, and is the surface tension. In equilibrium, , and so, For a spherical bubble, the volume and surface area are given simply by and Substituting these relations into the previous expression, we find which is equivalent to the Young–Laplace equation when . For real soap bubbles, the pressure is doubled due to the presence of two
Accessible surface area is a numerical method that draws a mesh of points equidistant from each atom of the molecule and uses the number of these points that are solvent accessible to determine the surface area. The points are drawn at a water molecule's estimated radius beyond the van der Waals radius, which is effectively similar to ‘rolling a ball’ along the surface. All points are checked against the surface of neighboring atoms to determine whether they are buried or accessible. The number of points accessible is multiplied by the portion of surface area each point represents to calculate the ASA. The choice