18 lines
413 B
Python
18 lines
413 B
Python
from SI import joule
|
|
|
|
#
|
|
# Definitions of common energy units
|
|
# Data taken from Appendix F of Halliday, Resnick, Walker, "Fundamentals of Physics",
|
|
# fourth edition, John Willey and Sons, 1993
|
|
|
|
|
|
Btu = 1055 * joule
|
|
erg = 1e-7 * joule
|
|
foot_pound = 1.356 * joule
|
|
horse_power_hour = 2.685e6 * joule
|
|
|
|
calorie = 4.186 * joule
|
|
Calorie = 1000 * calorie
|
|
kilowatt_hour = 3.6e6 * joule
|
|
|
|
electron_volt = 1.602e-19 * joule
|