class_docstr: Abstract class for body type objects.
class_docstr_tok: ["Abstract","class","for","body","type","objects","."]
docstr: The potential energy of the body.
  
  Examples
  ========
  
  >>> from sympy.physics.mechanics import Particle, Point
  >>> from sympy import symbols
  >>> m, g, h = symbols('m g h')
  >>> O = Point('O')
  >>> P = Particle('P', O, m)
  >>> P.potential_energy = m * g * h
  >>> P.potential_energy
  g*h*m
docstr_tok: ["The","potential","energy","of","the","body",".","Examples","========",">",">",">","from","sympy.physics.mechanics","import","Particle",",","Point",">",">",">","from","sympy","import","symbols",">",">",">","m",",","g",",","h","=","symbols","(","'m","g","h","'",")",">",">",">","O","=","Point","(","'","O","'",")",">",">",">","P","=","Particle","(","'","P","'",",","O",",","m",")",">",">",">","P.potential_energy","=","m","*","g","*","h",">",">",">","P.potential_energy","g","*","h","*","m"]
code: def potential_energy(self):
      """The potential energy of the body.
  
      Examples
      ========
  
      >>> from sympy.physics.mechanics import Particle, Point
      >>> from sympy import symbols
      >>> m, g, h = symbols('m g h')
      >>> O = Point('O')
      >>> P = Particle('P', O, m)
      >>> P.potential_energy = m * g * h
      >>> P.potential_energy
      g*h*m
  
      """
      return self._potential_energy
  
file_path: sympy/sympy/physics/mechanics/body_base.py
imports: from abc import ABC, abstractmethod
  from sympy import Symbol, sympify
  from sympy.physics.vector import Point
label_desc: Use image node_id 9 for calling the BodyBase obj's underlying member method code with example usage: obj.potential_energy() and returns: self