summaryrefslogtreecommitdiff
path: root/info/examples/Math-E/06-03-14.ltx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/Math-E/06-03-14.ltx
Initial commit
Diffstat (limited to 'info/examples/Math-E/06-03-14.ltx')
-rw-r--r--info/examples/Math-E/06-03-14.ltx42
1 files changed, 42 insertions, 0 deletions
diff --git a/info/examples/Math-E/06-03-14.ltx b/info/examples/Math-E/06-03-14.ltx
new file mode 100644
index 0000000000..60e0428d00
--- /dev/null
+++ b/info/examples/Math-E/06-03-14.ltx
@@ -0,0 +1,42 @@
+%%
+%% An UIT Edition example
+%%
+%% Example 06-03-14 on page 94.
+%%
+%% Copyright (C) 2010 Herbert Voss
+%%
+%% It may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%%
+%% See http://www.latex-project.org/lppl.txt for details.
+%%
+%%
+%% ====
+% Show page(s) 1
+%%
+\documentclass[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{375.57637pt}
+\AtBeginDocument{\setlength\parindent{0pt}}
+\setcounter{equation}{39}
+\renewcommand\theequation{6.\arabic{equation}}
+\StartShownPreambleCommands
+\usepackage{amsmath} \newcommand*\diff{\mathop{}\!\mathrm{d}}
+\StopShownPreambleCommands
+\begin{document}
+\begin{align}
+\begin{split}
+A_1 &= \left|\int_0^1 (f(x)-g(x))\diff x\right|+\left|\int_1^2
+ (g(x)-h(x))\diff x\right|\\
+ &= \left|\int_0^1 (x^2-3x)\diff x\right|+\left|\int_1^2(x^2-5x+6)
+ \diff x\right|\\
+ &= \left|\frac{x^3}{3}-\frac{3}{2}x^2\right|_0^1+\left|\frac{x^3}{3}
+ -\frac{5}{2}x^2+6x\right|_1^2\\
+ &= \left|\frac{1}{3}-\frac{3}{2}\right|+\left|\frac{8}{3}-\frac{20}{2}+12
+ -\left(\frac{1}{3}-\frac{5}{2}+6\right)\right|\\
+ &= \left|-\frac{7}{6}\right|+\left|\frac{28}{6}-\frac{23}{6}\right|
+ =\frac{7}{6}+\frac{5}{6}=2\,\text{AU}
+\end{split}
+\end{align}
+\end{document}