class_docstr: A particle.
  
  Explanation
  ===========
  
  Particles have a non-zero mass and lack spatial extension; they take up no
  space.
  
  Values need to be supplied on initialization, but can be changed later.
  
  Parameters
  ==========
  
  name : str
      Name of particle
  point : Point
      A physics/mechanics Point which represents the position, velocity, and
      acceleration of this Particle
  mass : Sympifyable
      A SymPy expression representing the Particle's mass
  potential_energy : Sympifyable
      The potential energy of the Particle.
  
  Examples
  ========
  
  >>> from sympy.physics.mechanics import Particle, Point
  >>> from sympy import Symbol
  >>> po = Point('po')
  >>> m = Symbol('m')
  >>> pa = Particle('pa', po, m)
  >>> # Or you could change these later
  >>> pa.mass = m
  >>> pa.point = po
class_docstr_tok: ["A","particle",".","Explanation","===========","Particles","have","a","non-zero","mass","and","lack","spatial","extension",";","they","take","up","no","space",".","Values","need","to","be","supplied","on","initialization",",","but","can","be","changed","later",".","Parameters","==========","name",":","str","Name","of","particle","point",":","Point","A","physics\/mechanics","Point","which","represents","the","position",",","velocity",",","and","acceleration","of","this","Particle","mass",":","Sympifyable","A","SymPy","expression","representing","the","Particle","'s","mass","potential_energy",":","Sympifyable","The","potential","energy","of","the","Particle",".","Examples","========",">",">",">","from","sympy.physics.mechanics","import","Particle",",","Point",">",">",">","from","sympy","import","Symbol",">",">",">","po","=","Point","(","'po","'",")",">",">",">","m","=","Symbol","(","'m","'",")",">",">",">","pa","=","Particle","(","'pa","'",",","po",",","m",")",">",">",">","#","Or","you","could","change","these","later",">",">",">","pa.mass","=","m",">",">",">","pa.point","=","po"]
docstr: Linear momentum of the particle.
  
  Explanation
  ===========
  
  The linear momentum L, of a particle P, with respect to frame N is
  given by:
  
  L = m * v
  
  where m is the mass of the particle, and v is the velocity of the
  particle in the frame N.
  
  Parameters
  ==========
  
  frame : ReferenceFrame
      The frame in which linear momentum is desired.
  
  Examples
  ========
  
  >>> from sympy.physics.mechanics import Particle, Point, ReferenceFrame
  >>> from sympy.physics.mechanics import dynamicsymbols
  >>> from sympy.physics.vector import init_vprinting
  >>> init_vprinting(pretty_print=False)
  >>> m, v = dynamicsymbols('m v')
  >>> N = ReferenceFrame('N')
  >>> P = Point('P')
  >>> A = Particle('A', P, m)
  >>> P.set_vel(N, v * N.x)
  >>> A.linear_momentum(N)
  m*v*N.x
docstr_tok: ["Linear","momentum","of","the","particle",".","Explanation","===========","The","linear","momentum","L",",","of","a","particle","P",",","with","respect","to","frame","N","is","given","by",":","L","=","m","*","v","where","m","is","the","mass","of","the","particle",",","and","v","is","the","velocity","of","the","particle","in","the","frame","N.","Parameters","==========","frame",":","ReferenceFrame","The","frame","in","which","linear","momentum","is","desired",".","Examples","========",">",">",">","from","sympy.physics.mechanics","import","Particle",",","Point",",","ReferenceFrame",">",">",">","from","sympy.physics.mechanics","import","dynamicsymbols",">",">",">","from","sympy.physics.vector","import","init_vprinting",">",">",">","init_vprinting","(","pretty_print=False",")",">",">",">","m",",","v","=","dynamicsymbols","(","'m","v","'",")",">",">",">","N","=","ReferenceFrame","(","'N","'",")",">",">",">","P","=","Point","(","'","P","'",")",">",">",">","A","=","Particle","(","'","A","'",",","P",",","m",")",">",">",">","P.set_vel","(","N",",","v","*","N.x",")",">",">",">","A.linear_momentum","(","N",")","m","*","v","*","N.x"]
code: def linear_momentum(self, frame):
      """Linear momentum of the particle.
  
      Explanation
      ===========
  
      The linear momentum L, of a particle P, with respect to frame N is
      given by:
  
      L = m * v
  
      where m is the mass of the particle, and v is the velocity of the
      particle in the frame N.
  
      Parameters
      ==========
  
      frame : ReferenceFrame
          The frame in which linear momentum is desired.
  
      Examples
      ========
  
      >>> from sympy.physics.mechanics import Particle, Point, ReferenceFrame
      >>> from sympy.physics.mechanics import dynamicsymbols
      >>> from sympy.physics.vector import init_vprinting
      >>> init_vprinting(pretty_print=False)
      >>> m, v = dynamicsymbols('m v')
      >>> N = ReferenceFrame('N')
      >>> P = Point('P')
      >>> A = Particle('A', P, m)
      >>> P.set_vel(N, v * N.x)
      >>> A.linear_momentum(N)
      m*v*N.x
  
      """
  
      return self.mass * self.point.vel(frame)
  
file_path: sympy/sympy/physics/mechanics/particle.py
imports: from sympy import S
  from sympy.physics.vector import cross, dot
  from sympy.physics.mechanics.body_base import BodyBase
  from sympy.physics.mechanics.inertia import inertia_of_point_mass
  from sympy.utilities.exceptions import sympy_deprecation_warning
label_desc: Use image node_id 2 for calling the Particle obj's underlying member method code with example usage: obj.linear_momentum(frame) and returns: unknown