1. The problem statement, all variables and given/known data Find the number of degrees of freedom for: 1. A diatomic gas molecule in an enclosure with constant interatomic distance. 2. Two particles constrained to move on a plane connected by a massless spring. 2. Relevant equations Nn-k Where n=no. of dimensions. N=no.of particles. k=no.of constraints 3. The attempt at a solution 1.N=2, n=3, k=1 So DOF=3*2 -1 =5 2.The particles are free to move on a plane.So if x describes the posn. y and z should be fixed. So here n=1, N=2, k=0 (spring is massless). So DOF=1*2-0=2. Am i right??