An inquiry-based approach to Maxwell distribution: a case study with engineering students