summaryrefslogtreecommitdiffstats
path: root/fig/van-der-waals-maxwell-isotherm.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fig/van-der-waals-maxwell-isotherm.tex')
-rw-r--r--fig/van-der-waals-maxwell-isotherm.tex29
1 files changed, 29 insertions, 0 deletions
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}