PhysLean Documentation

PhysLean.ClassicalMechanics.HarmonicOscillator.Basic

The Classical Harmonic Oscillator #

The classical harmonic oscillator is specified by a mass m, and a spring constant k. Both the mass and the string constant are assumed to be positive.

  • m :

    The mass of the harmonic Oscillator.

  • k :

    The spring constant of the harmonic oscillator.

  • m_pos : 0 < self.m
  • k_pos : 0 < self.k
Instances For

    The angular frequence of the classical harmonic osscilator, ω, is defined as √(k/m).

    Equations
    Instances For
      @[simp]

      The angular frequence of the classical harmonic osscilator is positive.

      The square of the angular frequence of the classical harmonic osscilator is equal to k/m.

      @[simp]

      The angular frequence of the classical harmonic osscilator is not equal to zero.

      The inverse of the square of the angular frequence of the classical harmonic osscilator is m/k.

      The kinetic energy of the harmonic oscillator is 1/2 m (dx/dt) ^ 2.

      Equations
      Instances For

        The potential energy of the harmonic oscillator is 1/2 k x ^ 2

        Equations
        Instances For

          The energy of the harmonic oscillator is the kinetic energy plus the potential energy.

          Equations
          Instances For

            The lagrangian of the harmonic oscillator is the kinetic energy minus the potential energy.

            Equations
            Instances For

              The lagrangian of the classical harmonic oscillator obeys the condition

              lagrangian S (- x) = lagrangian S x.