summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/calculator/calculator55.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-23 17:28:43 +0000
committerKarl Berry <karl@freefriends.org>2012-07-23 17:28:43 +0000
commitecfa5f36d1f895ffa3ccbd7b65ea54cffdbb518d (patch)
tree62cf630022b3ee00d312269aad45e027dd49b244 /Master/texmf-dist/doc/latex/calculator/calculator55.tex
parentab7ba4c57fac580b3ce38b9a3785b71d104ed92a (diff)
new latex package calculator (11jun12)
git-svn-id: svn://tug.org/texlive/trunk@27112 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/calculator/calculator55.tex')
-rw-r--r--Master/texmf-dist/doc/latex/calculator/calculator55.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/calculator/calculator55.tex b/Master/texmf-dist/doc/latex/calculator/calculator55.tex
new file mode 100644
index 00000000000..4a0ab779c75
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/calculator55.tex
@@ -0,0 +1,30 @@
+% exp(-t)
+ \SCALEVARIABLEfunction
+ {-1}{\EXPfunction}
+ {\NEGEXPfunction}
+
+% exp(-t)cos(t)
+ \PRODUCTfunction
+ {\NEGEXPfunction}
+ {\COSfunction}
+ {\NEGEXPCOSfunction}
+
+% 3t^2-2exp(-t)cos(t)
+ \LINEARCOMBINATIONfunction
+ {3}{\SQUAREfunction}
+ {-2}{\NEGEXPCOSfunction}
+ {\myfunction}
+
+\myfunction{5}{\sol}{\Dsol}
+
+If
+\[
+ f(t)=3t^2-2\mathrm{e}^{-t}\cos t
+\]
+then
+\[
+\begin{gathered}
+ f(5)=\sol\\
+ f'(5)=\Dsol
+\end{gathered}
+\]