Skip to content

Update kinetic_energy.py #7848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions physics/kinetic_energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
Find the kinetic energy of an object, given its mass and velocity.

Description : In physics, the kinetic energy of an object is the energy that it
possesses due to its motion. It is defined as the work needed to accelerate a body of a
given mass from rest to its stated velocity. Having gained this energy during its
acceleration, the body maintains this kinetic energy unless its speed changes. The same
possesses due to its motion.It is defined as the work needed to accelerate a body of a
given mass from rest to its stated velocity.Having gained this energy during its
acceleration, the body maintains this kinetic energy unless its speed changes.The same
amount of work is done by the body when decelerating from its current speed to a state
of rest. Formally, a kinetic energy is any term in a system's Lagrangian which includes
of rest.Formally, a kinetic energy is any term in a system's Lagrangian which includes
a derivative with respect to time.

In classical mechanics, the kinetic energy of a non-rotating object of mass m traveling
at a speed v is ½mv². In relativistic mechanics, this is a good approximation only when
v is much less than the speed of light. The standard unit of kinetic energy is the
at a speed v is ½mv².In relativistic mechanics, this is a good approximation only when
v is much less than the speed of light.The standard unit of kinetic energy is the
joule, while the English unit of kinetic energy is the foot-pound.

Reference : https://en.m.wikipedia.org/wiki/Kinetic_energy
Expand All @@ -20,7 +20,7 @@

def kinetic_energy(mass: float, velocity: float) -> float:
"""
Calculate kinetick energy.
Calculate kinetic energy.

The kinetic energy of a non-rotating object of mass m traveling at a speed v is ½mv²

Expand Down