Skip to content
Open
Show file tree
Hide file tree
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
19 changes: 16 additions & 3 deletions TxyNotebook.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# /// script
# requires-python = ">=3.14"
# dependencies = [
# "beautifulsoup4>=4.14.3",
# "marimo>=0.20.2",
# "matplotlib>=3.10.8",
# "numpy>=2.4.2",
# "pyzmq>=27.1.0",
# "requests>=2.32.5",
# "scipy>=1.17.1",
# ]
# ///

import marimo

__generated_with = "0.19.11"
__generated_with = "0.20.2"
app = marimo.App()


Expand Down Expand Up @@ -71,7 +84,7 @@ def _():

@app.cell
def _(get_antoine_coefficient):
propane_example = get_antoine_coefficient('propane', 350)
propane_example = get_antoine_coefficient('benzene', 350)
propane_example
return

Expand All @@ -80,7 +93,7 @@ def _(get_antoine_coefficient):
def _(fsolve, get_antoine_coefficient, np, plt, raoult_law_kvalue):
P = 1.01325 # Pressure in bar
Tguess = 350 # K
propane = get_antoine_coefficient('propane', Tguess)
propane = get_antoine_coefficient('benzene', Tguess)
toluene = get_antoine_coefficient('toluene', Tguess)
antoineCoefs = np.array([propane[0:3], toluene[0:3]])
T_soln = []
Expand Down
Binary file added __pycache__/antoine.cpython-314.pyc
Binary file not shown.
Binary file not shown.
Binary file added __pycache__/raoult_law_kvalue.cpython-314.pyc
Binary file not shown.