mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4fbdd8e171
commit
4200aa200b
|
@ -1,9 +1,9 @@
|
||||||
import math
|
import math
|
||||||
|
|
||||||
def translation_partition_function(mass: float, temperature: float,
|
def translation_partition_function(mass: float, temperature: float,
|
||||||
volume: float) -> float:
|
volume: float) -> float:
|
||||||
"""
|
"""
|
||||||
Calculates the translational partition
|
Calculates the translational partition
|
||||||
function using the formula:
|
function using the formula:
|
||||||
q_trans = ((2 * pi * m * k_B * T)^(3/2) * V) / h^3
|
q_trans = ((2 * pi * m * k_B * T)^(3/2) * V) / h^3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user