Probability and expectation values play a significant role in explaining the existence and behavior of particles, such as electrons. This research aims to analyze the probability and expectation values of particles in a 3-D box in the case of degeneracy using the Romberg integration method. By focusing on the variation of principal quantum numbers ( and ) and different widths of the potential…