Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Project: 335_16
Views: 105
1
\documentclass{article}
2
3
\usepackage{sagetex}
4
\usepackage{url, hyperref}
5
6
\title{Test Graph}
7
\author{Jim}
8
9
\begin{document}
10
\maketitle
11
12
13
\begin{center}
14
\sageplot[width=.7\textwidth]{plot(graphs.IcosahedralGraph())}
15
\end{center}
16
17
\begin{sageblock}
18
var('x')
19
f(x) = sin(x) - 1
20
g(x) = log(x)
21
h(x) = diff(f(x) * g(x), x)
22
\end{sageblock}
23
24
25
We have $h(2) = \sage{h(2)}$, where $h$ is the derivative of
26
the product of $f$ and $g$.
27
28
29
\end{document}
30
31