Class ConservationLaws

java.lang.Object
org.episteme.natural.physics.ConservationLaws

public class ConservationLaws extends Object
Conservation laws - fundamental principles governing all physical systems.

Based on Noether's theorem: every continuous symmetry corresponds to a conservation law.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • ConservationLaws

      public ConservationLaws()
  • Method Details

    • checkEnergyConservation

      public static boolean checkEnergyConservation(Real initialEnergy, Real finalEnergy, Real tolerance)
      Conservation of energy in closed system. E_initial = E_final
    • checkMomentumConservation

      public static boolean checkMomentumConservation(Real[] initialMomentum, Real[] finalMomentum, Real tolerance)
      Conservation of linear momentum in closed system. p_initial = p_final (vector sum)
    • checkAngularMomentumConservation

      public static boolean checkAngularMomentumConservation(Real initialL, Real finalL, Real tolerance)
      Conservation of angular momentum in closed system. L_initial = L_final
    • checkChargeConservation

      public static boolean checkChargeConservation(Real initialCharge, Real finalCharge, Real tolerance)
      Conservation of electric charge. Q_total = constant
    • totalMassEnergy

      public static Real totalMassEnergy(Real momentum, Real restMass, Real c)
      Conservation of mass-energy (relativistic). E² = (pc)² + (m₀c²)² Total mass-energy is conserved in all reference frames.
    • workEnergyTheorem

      public static Real workEnergyTheorem(Real initialKE, Real finalKE)
      Work-energy theorem: W = ΔKE Work done equals change in kinetic energy
    • impulseMomentumTheorem

      public static Real impulseMomentumTheorem(Real initialP, Real finalP)
      Impulse-momentum theorem: J = Δp Impulse equals change in momentum
    • elasticCollision1D

      public static Real[] elasticCollision1D(Real m1, Real v1, Real m2, Real v2)
      Conservation in elastic collision (1D). Returns final velocities [v1', v2']
    • coefficientOfRestitution

      public static Real coefficientOfRestitution(Real v1, Real v2, Real v1Prime, Real v2Prime)
      Coefficient of restitution: e = (v2' - v1')/(v1 - v2) e = 1: elastic, e = 0: perfectly inelastic