From ef6259d1cda8d743be24f9db0b84fc9fd2e2ccc1 Mon Sep 17 00:00:00 2001
From: Nao Pross <naopross@thearcway.org>
Date: Fri, 24 Apr 2020 14:36:06 +0200
Subject: Continue Fluiddynamics and begin with Thermodynamics

---
 fig/van-der-waals-maxwell-isotherm.tex | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 fig/van-der-waals-maxwell-isotherm.tex

(limited to 'fig/van-der-waals-maxwell-isotherm.tex')

diff --git a/fig/van-der-waals-maxwell-isotherm.tex b/fig/van-der-waals-maxwell-isotherm.tex
new file mode 100644
index 0000000..f938d78
--- /dev/null
+++ b/fig/van-der-waals-maxwell-isotherm.tex
@@ -0,0 +1,29 @@
+\begin{tikzpicture}
+\pgfmathsetmacro{\a}{8000}
+\pgfmathsetmacro{\b}{.9}
+\pgfmathsetmacro{\R}{8.313}
+\pgfmathsetmacro{\n}{1}
+\pgfmathsetmacro{\T}{247}
+\pgfmathsetmacro{\dT}{30}
+
+\begin{axis}[
+        width = \linewidth,
+        height = 6cm,
+        ylabel = Druck \(p(V)\),
+        xlabel = Volumen \(V\),
+        ytick = {0}, xtick = {1},
+        yticklabels = {0},
+        xticklabels = {},
+        ymax = 1000,
+        samples = 200,
+        domain = 1:15, 
+    ]
+    
+    \pgfplotsinvokeforeach{0,1,2,...,6}{
+        \addplot[gray, variable=\V]
+            {(\n*\R*(\T+#1*\dT))/(\V-\n*\b)-(\n^2*\a)/(\V^2)};
+    }
+    
+    \addplot[thick,red]{0};
+\end{axis}
+\end{tikzpicture}
-- 
cgit v1.2.1

