Students determine the universal gravitational constant (G) by simulating the Cavendish experiment using the PhET Gravity Force Lab. They collect data, linearize the gravitational equation, and use the slope of their graph to calculate G, comparing their results to the accepted value.