Skip to content

Commit

Permalink
Add ℎ = planck_constant
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp authored and David Peter committed Oct 11, 2023
1 parent 768d71f commit 9b45b21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numbat/modules/physics/constants.nbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ let gravity: Acceleration = 9.80665 m / s²
let g0 = gravity

# The Planck constant
let planck_constant = 6.62607015e-34 J / Hz
let planck_constant: Action = 6.62607015e-34 J / Hz
let ℎ = planck_constant

# The reduced Planck constant
let ℏ: AngularMomentum = planck_constant / 2π
Expand Down

0 comments on commit 9b45b21

Please sign in to comment.