summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/calculator/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-24 22:58:28 +0000
committerKarl Berry <karl@freefriends.org>2014-02-24 22:58:28 +0000
commit2385109f9c04a438cbd803b18e9b8dd0637aa31c (patch)
tree9379bacf1e71117df8228cbaca99101cfd99dbab /Master/texmf-dist/doc/latex/calculator/examples
parent9448b9fce7c46eb0ac4b118cb78f44696dadf39d (diff)
calculator (23feb14)
git-svn-id: svn://tug.org/texlive/trunk@33041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/calculator/examples')
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator1.tex16
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator10.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator11.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator12.tex12
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator13.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator14.tex4
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator15.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator16.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator17.tex8
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator18.tex8
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator19.tex14
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex14
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator20.tex8
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator21.tex8
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator22.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator23.tex3
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator24.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator25.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator26.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator27.tex6
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator28.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator29.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator3.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator30.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator31.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator32.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator33.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator34.tex7
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator35.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator36.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator37.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator38.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator39.tex6
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator4.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator40.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator41.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator42.tex6
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator43.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator44.tex8
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator45.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator46.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator47.tex9
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator48.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator49.tex7
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator5.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator50.tex21
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator51.tex14
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator52.tex11
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator53.tex18
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator54.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator55.tex8
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator56.tex9
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator57.tex15
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator58.tex5
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator59.tex15
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator6.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator60.tex30
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator61.tex4
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator62.tex9
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator7.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator8.tex2
-rw-r--r--Master/texmf-dist/doc/latex/calculator/examples/calculator9.tex2
62 files changed, 459 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator1.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator1.tex
new file mode 100644
index 00000000000..384de7ddb83
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator1.tex
@@ -0,0 +1,16 @@
+% \tempA=2,5^2
+ \SQUARE{2.5}{\tempA}
+% \tempB=sqrt(12)
+ \SQUAREROOT{12}{\tempB}
+% \tempC=exp(3,4)
+ \EXP{3.4}{\tempC}
+% \divisio=\tempA/tempB
+ \DIVIDE{\tempA}{\tempB}{\divisio}
+% \sol=\divisio+\tempC
+ \ADD{\divisio}{\tempC}{\sol}
+\begin{align*}
+\frac{2.5^2}{\sqrt{12}}+\mathrm{e}^{3.4}
+ &= \frac{\tempA}{\tempB}+\tempC \\
+ &= \divisio+\tempC \\
+ &=\sol
+\end{align*}
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator10.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator10.tex
new file mode 100644
index 00000000000..6864af9ad58
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator10.tex
@@ -0,0 +1,2 @@
+\SQUARE{-1.256}{\sol}
+$(-1.256)^2=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator11.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator11.tex
new file mode 100644
index 00000000000..2092630e261
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator11.tex
@@ -0,0 +1,2 @@
+\CUBE{-1.256}{\sol}
+$(-1.256)^3=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator12.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator12.tex
new file mode 100644
index 00000000000..b66337da47e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator12.tex
@@ -0,0 +1,12 @@
+\POWER{-1.256}{-5}{\sola}
+\POWER{-1.256}{5}{\solb}
+\POWER{-1.256}{0}{\solc}
+\[
+\begin{aligned}
+(-1.256)^{-5}&=\sola
+\\
+(-1.256)^{5}&=\solb
+\\
+(-1.256)^{0}&=\solc
+\end{aligned}
+\]
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator13.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator13.tex
new file mode 100644
index 00000000000..cc98a935aec
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator13.tex
@@ -0,0 +1,2 @@
+\ABSVALUE{-1.256}{\sol}
+$\left\vert-1.256\right\vert=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator14.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator14.tex
new file mode 100644
index 00000000000..45ebda7c91f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator14.tex
@@ -0,0 +1,4 @@
+\INTEGERPART{1.256}{\sola}
+\INTEGERPART{-1.256}{\solb}
+The integer part of $1.256$ is $\sola$,
+but the integer part of $-1.256$ is $\solb$.
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator15.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator15.tex
new file mode 100644
index 00000000000..56fad96daba
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator15.tex
@@ -0,0 +1,2 @@
+\FLOOR{1.256}{\sol}
+The integer part of $1.256$ is $\sol$.
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator16.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator16.tex
new file mode 100644
index 00000000000..01050f4b105
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator16.tex
@@ -0,0 +1,5 @@
+\FRACTIONALPART{1.256}{\sol}
+\sol
+
+\FRACTIONALPART{-1.256}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator17.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator17.tex
new file mode 100644
index 00000000000..5b003431148
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator17.tex
@@ -0,0 +1,8 @@
+\TRUNCATE[0]{1.25688}{\sol}
+\sol
+
+\TRUNCATE[2]{1.25688}{\sol}
+\sol
+
+\TRUNCATE[4]{1.25688}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator18.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator18.tex
new file mode 100644
index 00000000000..d6d05c21da2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator18.tex
@@ -0,0 +1,8 @@
+\ROUND[0]{1.25688}{\sol}
+\sol
+
+\ROUND[2]{1.25688}{\sol}
+\sol
+
+\ROUND[4]{1.25688}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator19.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator19.tex
new file mode 100644
index 00000000000..c3edaec1594
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator19.tex
@@ -0,0 +1,14 @@
+\INTEGERDIVISION{435}{27}{\sola}{\solb}
+$435=27\times\sola+\solb$
+
+\INTEGERDIVISION{27}{435}{\sola}{\solb}
+$27=435\times\sola+\solb$
+
+\INTEGERDIVISION{-435}{27}{\sola}{\solb}
+$-435=27\times(\sola)+\solb$
+
+\INTEGERDIVISION{435}{-27}{\sola}{\solb}
+$435=-27\times(\sola)+\solb$
+
+\INTEGERDIVISION{-435}{-27}{\sola}{\solb}
+$-435=-27\times\sola+\solb$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex
new file mode 100644
index 00000000000..6136ee24cdf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator2.tex
@@ -0,0 +1,14 @@
+\SQUARE{5}\sol
+The \texttt{\textbackslash sol}
+command contains the square of $5$:
+\[5^2=\sol\]
+\begin{center}
+\SQUAREROOT{5}\sol
+Now, the \texttt{\textbackslash sol}
+command is the square root of $5$:
+\[\sqrt{5}=\sol\]
+\end{center}
+On having gone out of the \texttt{center}
+environment,
+the command recovers its previous value:
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator20.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator20.tex
new file mode 100644
index 00000000000..015b06455a3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator20.tex
@@ -0,0 +1,8 @@
+\INTEGERQUOTIENT{435}{27}{\sol}
+\sol
+
+\INTEGERQUOTIENT{27}{435}{\sol}
+\sol
+
+\INTEGERQUOTIENT{-43.5}{2.7}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator21.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator21.tex
new file mode 100644
index 00000000000..cbbc842b31c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator21.tex
@@ -0,0 +1,8 @@
+\MODULO{435}{27}{\sol}
+\[
+435 \equiv \sol \pmod{27}
+\]
+\MODULO{-435}{27}{\sol}
+\[
+-435 \equiv \sol \pmod{27}
+\]
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator22.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator22.tex
new file mode 100644
index 00000000000..b2175182b9d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator22.tex
@@ -0,0 +1,2 @@
+\GCD{435}{27}{\sol}
+$\gcd(435,27)=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator23.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator23.tex
new file mode 100644
index 00000000000..685027f4f98
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator23.tex
@@ -0,0 +1,3 @@
+\newcommand{\lcm}{\operatorname{lcm}}
+\LCM{435}{27}{\sol}
+$\lcm(435,27)=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator24.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator24.tex
new file mode 100644
index 00000000000..ed5a5bb26f1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator24.tex
@@ -0,0 +1,2 @@
+\FRACTIONSIMPLIFY{435}{27}{\sola}{\solb}
+$435/27=\sola/\solb$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator25.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator25.tex
new file mode 100644
index 00000000000..6df41c19e8a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator25.tex
@@ -0,0 +1,2 @@
+\SQUAREROOT{1.44}{\sol}
+$\sqrt{1.44}=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator26.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator26.tex
new file mode 100644
index 00000000000..41fd8b4ed82
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator26.tex
@@ -0,0 +1,2 @@
+\EXP{0.5}{\sol}
+$\exp(0.5)=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator27.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator27.tex
new file mode 100644
index 00000000000..0a8af280fa0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator27.tex
@@ -0,0 +1,6 @@
+\EXP[10]{1.3}{\sol}
+$10^{1.3}=\sol$
+
+\EXP[2]{0.33333}{\sol}
+$2^{1/3}=\sol$
+
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator28.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator28.tex
new file mode 100644
index 00000000000..82bf398f848
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator28.tex
@@ -0,0 +1,2 @@
+\LOG{0.5}{\sol}
+$\log 0.5=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator29.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator29.tex
new file mode 100644
index 00000000000..ed2bf1e00c5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator29.tex
@@ -0,0 +1,2 @@
+\LOG[10]{0.5}{\sol}
+$\log_{10} 0.5=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator3.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator3.tex
new file mode 100644
index 00000000000..11f7296ffe2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator3.tex
@@ -0,0 +1,2 @@
+\COPY{-1.256}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator30.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator30.tex
new file mode 100644
index 00000000000..e41832e74ce
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator30.tex
@@ -0,0 +1,11 @@
+\SIN{\numberTHIRDPI}{\sol}
+$\sin \pi/3=\sol$
+
+\COS{\numberTHIRDPI}{\sol}
+$\cos \pi/3=\sol$
+
+\TAN{\numberTHIRDPI}{\sol}
+$\tan \pi/3=\sol$
+
+\COT{\numberTHIRDPI}{\sol}
+$\cot \pi/3=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator31.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator31.tex
new file mode 100644
index 00000000000..cc5a388a759
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator31.tex
@@ -0,0 +1,11 @@
+\DEGREESSIN{60}{\sol}
+$\sin 60^{\textrm o}=\sol$
+
+\DEGREESCOS{60}{\sol}
+$\cos 60^{\textrm o}=\sol$
+
+\DEGREESTAN{60}{\sol}
+$\tan 60^{\textrm o}=\sol$
+
+\DEGREESCOT{60}{\sol}
+$\cot 60^{\textrm o}=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator32.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator32.tex
new file mode 100644
index 00000000000..9956ce25951
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator32.tex
@@ -0,0 +1,11 @@
+\DEGREESCOS[400]{50}{\sol}
+\sol
+
+\DEGREESCOS{45}{\sol}
+\sol
+
+\COS{\numberQUARTERPI}{\sol}
+\sol
+
+\DEGREESCOS[8]{1}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator33.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator33.tex
new file mode 100644
index 00000000000..dc73dd1a40d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator33.tex
@@ -0,0 +1,2 @@
+\DEGtoRAD{60}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator34.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator34.tex
new file mode 100644
index 00000000000..3125997f51a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator34.tex
@@ -0,0 +1,7 @@
+\MULTIPLY{\numberTWOPI}{10}{\TWENTYPI}
+\ADD{\numberPI}{\TWENTYPI}{\TWENTYONEPI}
+\REDUCERADIANSANGLE{\TWENTYONEPI}{\sol}
+\sol
+
+\REDUCEDEGREESANGLE{3690}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator35.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator35.tex
new file mode 100644
index 00000000000..cdd27aa2427
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator35.tex
@@ -0,0 +1,11 @@
+\SINH{1.256}{\sol}
+\sol
+
+\COSH{1.256}{\sol}
+\sol
+
+\TANH{1.256}{\sol}
+\sol
+
+\COTH{1.256}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator36.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator36.tex
new file mode 100644
index 00000000000..0616dd824b3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator36.tex
@@ -0,0 +1,11 @@
+\ARCSIN{0.5}{\sol}
+\sol
+
+\ARCCOS{0.5}{\sol}
+\sol
+
+\ARCTAN{\numberSQRTTHREE}{\sol}
+\sol
+
+\ARCCOT{-1}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator37.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator37.tex
new file mode 100644
index 00000000000..8e969be57ef
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator37.tex
@@ -0,0 +1,11 @@
+\ARSINH{1}{\sol}
+\sol
+
+\ARCOSH{1}{\sol}
+\sol
+
+\ARTANH{0.5}{\sol}
+\sol
+
+\ARCOTH{2}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator38.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator38.tex
new file mode 100644
index 00000000000..9f94dd02ada
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator38.tex
@@ -0,0 +1,2 @@
+\LENGTHDIVIDE{1in}{1cm}{\sol}
+One inch equals $\sol$ centimeters.
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator39.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator39.tex
new file mode 100644
index 00000000000..5673f857f2e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator39.tex
@@ -0,0 +1,6 @@
+\newlength{\mylength}
+\LENGTHADD{1in}{1cm}{\mylength}
+$1in+1cm=\the\mylength$.
+
+\LENGTHSUBTRACT{1in}{1cm}{\mylength}
+$1in-1cm=\the\mylength$.
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator4.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator4.tex
new file mode 100644
index 00000000000..123ab06a45a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator4.tex
@@ -0,0 +1,2 @@
+\MAX{1.256}{3.214}{\sol}
+\[\max(1.256,3.214)=\sol\]
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator40.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator40.tex
new file mode 100644
index 00000000000..848ea112443
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator40.tex
@@ -0,0 +1,5 @@
+\VECTORCOPY(1,-1)(\sola,\solb)
+$(\sola,\solb)$
+
+\VECTORCOPY(1,-1,2)(\sola,\solb,\solc)
+$(\sola,\solb,\solc)$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator41.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator41.tex
new file mode 100644
index 00000000000..e7d761a1306
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator41.tex
@@ -0,0 +1,5 @@
+\VECTORADD(1,-1,2)(3,5,-1)(\sola,\solb,\solc)
+$(1,-1,2)+(3,5,-1)=(\sola,\solb,\solc)$
+
+\VECTORSUB(1,-1,2)(3,5,-1)(\sola,\solb,\solc)
+$(1,-1,2)-(3,5,-1)=(\sola,\solb,\solc)$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator42.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator42.tex
new file mode 100644
index 00000000000..9af0c8329a1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator42.tex
@@ -0,0 +1,6 @@
+\SCALARVECTORPRODUCT{2}(3,5)(\sola,\solb)
+$2(3,5)=(\sola,\solb)$
+
+\SCALARVECTORPRODUCT{2}(3,5,-1)(%
+ \sola,\solb,\solc)
+$2(3,5,-1)=(\sola,\solb,\solc)$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator43.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator43.tex
new file mode 100644
index 00000000000..dc09a660bf7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator43.tex
@@ -0,0 +1,11 @@
+\SCALARPRODUCT(1,-1)(3,5){\sol}
+$(1,-1)\cdot(3,5)=\sol$
+
+\DOTPRODUCT(1,-1,2)(3,5,-1){\sol}
+$(1,-1,2)\cdot(3,5,-1)=\sol$
+
+\VECTORNORM(3,4)\sol
+$\left\|(3,4)\right\|=\sol$
+
+\VECTORNORM(1,2,-2)\sol
+$\left\|(1,2,-2)\right\|=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator44.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator44.tex
new file mode 100644
index 00000000000..e8414d41148
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator44.tex
@@ -0,0 +1,8 @@
+\CROSSPRODUCT(1,-1,2)(3,5,-1)%
+ (\sola,\solb,\solc)
+$(1,-1,2)\times(3,5,-1)=(\sola,\solb,\solc)$
+
+\VECTORPRODUCT(1,-1,2)(-3,3,-6)%
+ (\sola,\solb,\solc)
+$(1,-1,2)\times(-3,3,-6)=(\sola,\solb,\solc)$
+
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator45.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator45.tex
new file mode 100644
index 00000000000..045880987a1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator45.tex
@@ -0,0 +1,5 @@
+\UNITVECTOR(3,4)(\sola,\solb)
+$(\sola,\solb)$
+
+\UNITVECTOR(1,2,-2)(\sola,\solb,\solc)
+$(\sola,\solb,\solc)$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator46.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator46.tex
new file mode 100644
index 00000000000..c4df209d4ad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator46.tex
@@ -0,0 +1,5 @@
+\VECTORABSVALUE(3,-4)(\sola,\solb)
+$(\sola,\solb)$
+
+\VECTORABSVALUE(3,-4,-1)(\sola,\solb,\solc)
+$(\sola,\solb,\solc)$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator47.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator47.tex
new file mode 100644
index 00000000000..73498a1f1a1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator47.tex
@@ -0,0 +1,9 @@
+\TWOVECTORSANGLE(1,1)(0,1){\sol}
+$\sol$ radians
+\RADtoDEG{\sol}{\degsol}
+(or $\degsol$ degrees)
+
+\TWOVECTORSANGLE(1,0,0)(0,1,0){\sol}
+$\sol$
+\RADtoDEG{\sol}{\degsol}
+(or $\degsol$ degrees)
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator48.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator48.tex
new file mode 100644
index 00000000000..a0dd9f85cc5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator48.tex
@@ -0,0 +1,11 @@
+\MATRIXCOPY(1, -1, 2;
+ 3, 0, 5;
+ -1, 1, 4)%
+ (\sola,\solb,\solc;
+ \sold,\sole,\solf;
+ \solg,\solh,\soli)
+$\begin{bmatrix}
+ \sola & \solb & \solc \\
+ \sold & \sole & \solf \\
+ \solg & \solh & \soli
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator49.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator49.tex
new file mode 100644
index 00000000000..5ee6b5cfa5d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator49.tex
@@ -0,0 +1,7 @@
+\TRANSPOSEMATRIX(1,-1;3,0)%
+ (\sola,\solb;\solc,\sold)
+$\begin{bmatrix}
+ 1 & -1 \\ 3 & 0
+ \end{bmatrix}^T=\begin{bmatrix}
+ \sola & \solb \\ \solc & \sold
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator5.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator5.tex
new file mode 100644
index 00000000000..0f410c70277
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator5.tex
@@ -0,0 +1,2 @@
+\MIN{1.256}{3.214}{\sol}
+\sol
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator50.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator50.tex
new file mode 100644
index 00000000000..c1ed8fc0ac3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator50.tex
@@ -0,0 +1,21 @@
+\MATRIXADD(1,-1;3,0)(3,5;-3,2)%
+ (\sola,\solb;\solc,\sold)
+$\begin{bmatrix}
+ 1 & -1 \\ 3 & 0
+ \end{bmatrix}+
+\begin{bmatrix}
+ 3 & 5 \\ -3 & 2
+ \end{bmatrix}=\begin{bmatrix}
+ \sola & \solb \\ \solc & \sold
+ \end{bmatrix}$
+
+\MATRIXSUB(1,-1;3,0)(3,5;-3,2)%
+ (\sola,\solb;\solc,\sold)
+$\begin{bmatrix}
+ 1 & -1 \\ 3 & 0
+ \end{bmatrix}-
+\begin{bmatrix}
+ 3 & 5 \\ -3 & 2
+ \end{bmatrix}=\begin{bmatrix}
+ \sola & \solb \\ \solc & \sold
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator51.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator51.tex
new file mode 100644
index 00000000000..c5cf74d4753
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator51.tex
@@ -0,0 +1,14 @@
+\SCALARMATRIXPRODUCT{3}(1,-1,2;
+ 3, 0,5;
+ -1, 1,4)%
+ (\sola,\solb,\solc;
+ \sold,\sole,\solf;
+ \solg,\solh,\soli)
+$3\begin{bmatrix}
+ 1 & -1 & 2 \\ 3 & 0 & 5 \\ -1 & 1 & 4
+ \end{bmatrix}
+ =\begin{bmatrix}
+ \sola & \solb & \solc \\
+ \sold & \sole & \solf \\
+ \solg & \solh & \soli
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator52.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator52.tex
new file mode 100644
index 00000000000..6abe4e7a0b6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator52.tex
@@ -0,0 +1,11 @@
+\MATRIXVECTORPRODUCT(1,-1;
+ 0, 2)(3,5)(\sola,\solb)
+$\begin{bmatrix}
+ 1 & -1 \\ 0 & 2
+ \end{bmatrix}
+ \begin{bmatrix}
+ 3 \\ 5
+ \end{bmatrix}
+ =\begin{bmatrix}
+ \sola \\ \solb
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator53.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator53.tex
new file mode 100644
index 00000000000..c8e2cbeaba1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator53.tex
@@ -0,0 +1,18 @@
+\MATRIXPRODUCT(1,-1,2;3,0,5;-1,1,4)%
+ (3,5,-1;-3,2,-5;1,-2,3)%
+ (\sola,\solb,\solc;
+ \sold,\sole,\solf;
+ \solg,\solh,\soli)
+\begin{multline*}
+\begin{bmatrix}
+ 1 & -1 & 2 \\ 3 & 0 & 5 \\ -1 & 1 & 4
+ \end{bmatrix}
+\begin{bmatrix}
+ 3 & 5 & -1 \\ -3 & 2 & -5 \\ 1 & -2 & 3
+ \end{bmatrix}\\
+=\begin{bmatrix}
+ \sola & \solb & \solc \\
+ \sold & \sole & \solf \\
+ \solg & \solh & \soli
+\end{bmatrix}
+\end{multline*}
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator54.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator54.tex
new file mode 100644
index 00000000000..16c0b0a8c8b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator54.tex
@@ -0,0 +1,5 @@
+\DETERMINANT(1,-1,2;3,0,5;-1,1,4){\sol}
+\SpecialUsageIndex{\DETERMINANT}%
+$\begin{vmatrix}
+ 1 & -1 & 2 \\ 3 & 0 & 5 \\ -1 & 1 & 4
+ \end{vmatrix}=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator55.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator55.tex
new file mode 100644
index 00000000000..7ad03915b39
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator55.tex
@@ -0,0 +1,8 @@
+\INVERSEMATRIX(1,-1;3,5)(%
+ \sola,\solb;\solc,\sold)
+$\begin{bmatrix}
+ 1 & -1 \\ 3 & 5
+ \end{bmatrix}^{-1}=
+ \begin{bmatrix}
+ \sola & \solb \\ \solc & \sold
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator56.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator56.tex
new file mode 100644
index 00000000000..bd69eaf743b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator56.tex
@@ -0,0 +1,9 @@
+\MATRIXABSVALUE(1,-1,2;3,0,5;-1,1,4)%
+ (\sola,\solb,\solc;
+ \sold,\sole,\solf;
+ \solg,\solh,\soli)
+$\begin{bmatrix}
+ \sola & \solb & \solc \\
+ \sold & \sole & \solf \\
+ \solg & \solh & \soli
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator57.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator57.tex
new file mode 100644
index 00000000000..1ad53821cf8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator57.tex
@@ -0,0 +1,15 @@
+\SOLVELINEARSYSTEM(1,-1,2;3,0,5;-1,1,4)%
+ (-4,4,-2)%
+ (\sola,\solb,\solc)
+Solving the linear system
+\[
+\begin{bmatrix}
+ 1 & -1 & 2 \\ 3 & 0 & 5 \\ -1 & 1 & 4
+ \end{bmatrix}\mathsf{X}=\begin{bmatrix}
+ -4\\4\\-2
+ \end{bmatrix}
+\]
+we obtain
+$\mathsf{X}=\begin{bmatrix}
+ \sola \\ \solb\\ \solc
+ \end{bmatrix}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator58.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator58.tex
new file mode 100644
index 00000000000..2696c2df99c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator58.tex
@@ -0,0 +1,5 @@
+\SQUAREfunction{3}{\sol}{\Dsol}
+If $f(t)=t^2$, then
+\[
+ f(3)=\sol \mbox{ and } f'(3)=\Dsol
+\]
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator59.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator59.tex
new file mode 100644
index 00000000000..4a99aefa2ad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator59.tex
@@ -0,0 +1,15 @@
+$\begin{array}{cll}
+x & \log x & \log' x \\
+\LOGfunction{1}{\logx}{\Dlogx}
+1 &\logx & \Dlogx\\
+\LOGfunction{2}{\logx}{\Dlogx}
+2 &\logx & \Dlogx\\
+\LOGfunction{3}{\logx}{\Dlogx}
+3 &\logx & \Dlogx\\
+\LOGfunction{4}{\logx}{\Dlogx}
+4 &\logx & \Dlogx\\
+\LOGfunction{5}{\logx}{\Dlogx}
+5 &\logx & \Dlogx\\
+\LOGfunction{6}{\logx}{\Dlogx}
+6 &\logx & \Dlogx
+\end{array}$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator6.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator6.tex
new file mode 100644
index 00000000000..663c9a1bff9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator6.tex
@@ -0,0 +1,2 @@
+\ADD{1.256}{3.214}{\sol}
+$1.256+3.214=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator60.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator60.tex
new file mode 100644
index 00000000000..4a0ab779c75
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator60.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}
+\]
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator61.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator61.tex
new file mode 100644
index 00000000000..f5c10e29574
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator61.tex
@@ -0,0 +1,4 @@
+% \mypoly=1-x^2+x^3
+ \newcpoly{\mypoly}{1}{0}{-1}{1}
+ \mypoly{2}{\sol}{\Dsol}
+$p'(2)=\Dsol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator62.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator62.tex
new file mode 100644
index 00000000000..9caca3c8c7b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator62.tex
@@ -0,0 +1,9 @@
+For the $f(t)=(t^2,t^3)$ function we have
+\VECTORfunction
+ {\SQUAREfunction}{\CUBEfunction}{\F}
+
+\F{4}{\solx}{\Dsolx}{\soly}{\Dsoly}
+
+\[
+f(4)=(\solx,\soly), f'(4)=(\Dsolx,\Dsoly)
+\]
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator7.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator7.tex
new file mode 100644
index 00000000000..6f0d9c2fea7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator7.tex
@@ -0,0 +1,2 @@
+\SUBTRACT{1.256}{3.214}{\sol}
+$1.256-3.214=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator8.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator8.tex
new file mode 100644
index 00000000000..de60a332745
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator8.tex
@@ -0,0 +1,2 @@
+\MULTIPLY{1.256}{3.214}{\sol}
+$1.256\times3.214=\sol$
diff --git a/Master/texmf-dist/doc/latex/calculator/examples/calculator9.tex b/Master/texmf-dist/doc/latex/calculator/examples/calculator9.tex
new file mode 100644
index 00000000000..f3c94758d93
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/calculator/examples/calculator9.tex
@@ -0,0 +1,2 @@
+\DIVIDE{1.256}{3.214}{\sol}
+$1.256/3.214=\sol$