A conservative force changes potential energy by an amount that depends only on start and end positions. Friction depends on the path and transfers mechanical energy into thermal and other forms.
Set mass and height. In this no-loss model, gravitational potential energy becomes kinetic energy at ground level.
Potential energy 98.07 J; predicted landing speed 9.90 m/s; kinetic energy 98.07 J.
For a conservative force, define a potential (U(\mathbf r)) and obtain force from its negative gradient:
\[\mathbf F_c=-\nabla U, \qquad W_c(A\to B)=U(A)-U(B).\]Two routes from A to B should return the same potential difference. In code, keep the potential reference, parameters, coordinate frame, and units with the function. A visual height map may show (U), but an object’s update must call the same force rule or an independently tested derivative of it.
Non-conservative work belongs in an energy-transfer ledger:
\[E_{\mathrm{mech},f}-E_{\mathrm{mech},i}=W_{\mathrm{nonconservative}}, \qquad E_{\mathrm{total},f}-E_{\mathrm{total},i}=0\]when the receiving thermal/internal reservoirs are included. A kinetic-friction model needs contact normal force, coefficient, sliding direction, distance or velocity history, and a convention for heat transferred into the chosen system.
Test a potential with two discretized paths between the same endpoints; refine their segments and compare work. Test a frictionless drop against the analytic mechanical-energy value. Then add a fixed friction path: mechanical energy should fall by the recorded dissipative work while the extended ledger closes. A closed path in a conservative fixture has zero net work within tolerance.
State what can change energy: an external drive, a moving support, a thermostat, drag, or numerical constraint impulses. Never label a residual “friction” simply because energy drifted. Keep solver time-step/refinement tests separate from the physical work model, and show the reader which energy terms are mechanical versus untracked internal energy.
Prediction: The no-loss lab keeps potential and kinetic energy equal; adding friction would lower mechanical energy.
Change height and mass. Then describe a new energy field you would add to record heat generated by friction.Use a documented potential function for conservative forces. For friction and drives, record path-dependent work and receiving reservoirs explicitly, then test path independence and the complete energy ledger separately from numerical drift.
Treat the lesson as a small function before treating it as a fact to memorize. Give every value a unit, keep only the state needed for the next step, and make the output easy to inspect.
\[\text{observable output} = f(\text{inputs},\,\text{state})\]For Conservative vs Non-Conservative Forces, write down the quantities you can control, the values your program must retain, and the result a reader could inspect. In Energy, Work, and Power, the useful program is not the drawing: it is the smallest explicit model that makes a prediction you can test.
Prediction: changing one declared input while holding the others fixed should change only the outputs that the model connects to that input. Choose one input, predict the direction of change, then check a limiting case such as zero, a symmetric arrangement, or a familiar low-speed or small-change approximation.
This lesson is a teaching model, not a complete simulator. Before using it outside the stated question, check which interactions, scales, uncertainties, boundary conditions, and measurement limits it leaves out.
Treat Conservative vs Non-Conservative Forces as a contract: named inputs and units enter a rule, the rule produces an observable result, and a known limit or invariant checks whether the implementation deserves trust.
Compare path-independent energy changes with forces such as friction that transfer mechanical energy out of the model.