What is the difference between gravitational potential energy and electric potential energy?

The difference between gravitational potential energy and electric potential energy lies in the fundamental forces and fields involved.

Gravitational potential energy is the energy possessed by an object due to its position in a gravitational field. It arises from the gravitational force of attraction between two objects with mass. The formula to calculate gravitational potential energy is:

Gravitational Potential Energy = mass × gravity × height

Where:
- mass is the object's mass
- gravity is the acceleration due to gravity
- height is the vertical distance the object is raised

Electric potential energy, on the other hand, is the energy possessed by a charged object due to its position in an electric field. It arises from the electric force of attraction or repulsion between two charged objects. The formula to calculate electric potential energy is:

Electric Potential Energy = charge × electric potential difference

Where:
- charge is the object's charge
- electric potential difference is the difference in electric potential between two points

The key difference between the two is that gravitational potential energy is associated with the force of gravity between objects with mass, while electric potential energy is associated with the electric force between charged objects.

To calculate each type of potential energy, you need to know specific values such as mass, height, gravity, charge, and electric potential difference. These values can be obtained through measurements or given in a problem statement.