challenge: What is the primary purpose of the Rayleigh dissipation function in Lagrangian mechanics?
  
  A. To calculate the potential energy of a system
  B. To describe the motion of particles in a frictionless environment
  C. To model velocity-independent frictional forces
  D. To handle the effects of velocity-proportional frictional forces
  Answer: 