67 lines
1.0 KiB
Plaintext
67 lines
1.0 KiB
Plaintext
# test of formatting
|
|
|
|
```{julia}
|
|
using CalculusWithJulia
|
|
using CalculusWithJulia.WeaveSupport
|
|
using Plots
|
|
```
|
|
|
|
|
|
$$
|
|
f(x) = \frac{(x-1)^2 \cdot (x-2)}{(x+3) \cdot (x-3)}.
|
|
$$
|
|
|
|
|
|
```{julia}
|
|
f(x) = (x-1)^2 * (x-2) / ((x+3)*(x-3) )
|
|
plot(f, -10, 10)
|
|
```
|
|
|
|
|
|
These values are more commonly expressed using the exponential function as:
|
|
|
|
inline : ``\sin(x^2)``
|
|
|
|
display:
|
|
|
|
$$
|
|
\frac{\sin(x^2)}{x}
|
|
$$
|
|
|
|
align
|
|
|
|
|
|
$$
|
|
\begin{align*}
|
|
\sinh(x) &= \frac{e^x - e^{-x}}{2}\\
|
|
\cosh(x) &= \frac{e^x + e^{-x}}{2}.
|
|
\end{align*}
|
|
$$
|
|
|
|
These values are more commonly expressed using the exponential function as:
|
|
|
|
$$
|
|
\begin{align*}
|
|
\sinh(x) &= \frac{e^x - e^{-x}}{2}\\
|
|
\cosh(x) &= \frac{e^x + e^{-x}}{2}.
|
|
\end{align*}
|
|
$$
|
|
|
|
These values are more commonly expressed using the exponential function as:
|
|
|
|
$$
|
|
\begin{align*}
|
|
\sinh(x) &= \frac{e^x - e^{-x}}{2}\\
|
|
\cosh(x) &= \frac{e^x + e^{-x}}{2}.
|
|
\end{align*}
|
|
$$
|
|
|
|
These values are more commonly expressed using the exponential function as:
|
|
|
|
$$
|
|
\begin{align*}
|
|
\sinh(x) &= \frac{e^x - e^{-x}}{2}\\
|
|
\cosh(x) &= \frac{e^x + e^{-x}}{2}.
|
|
\end{align*}
|
|
$$
|