Skip to content
Open
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
5 changes: 3 additions & 2 deletions antoine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def antoine( a, T):
def antoine( a: float, T: float) -> float:
'''
# Ps = antoine( a, T)
#
# Uses Antoine's equation to obtain the vapor pressure of a substance given
Expand All @@ -21,6 +22,6 @@ def antoine( a, T):
# Code originally by: James C. Sutherland
# Modified by: Tyler R. Josephson
# Changed comment

'''
Ps = 10.0**( a[:,0] - a[:,1] / ( a[:,2] + T ) )
return Ps