Experimental and theoretical investigation of the nitrogen laser