-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdesmos.tex
45 lines (30 loc) · 1.7 KB
/
desmos.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\documentclass[handout]{ximera}
\input{preamble}
\title{Desmos sample activity}
\begin{document}
\begin{abstract} Graphing calculator demonstration
\end{abstract}
\maketitle
Use \verb! \graph{y=x^2} ! to graph a parabola:
\[ \graph{y=x^2} \]
You can include multiple graphs, as in \verb! \graph{ y=x^{1/3}, y = \sqrt{x} } !
\[\graph{ y=x^{1/3}, y = \sqrt{x} } \]
You can include options to specify the behavior of desmos, as in
\verb! \graph[height=250,panel,xmin=-5,xmax=5,ymin=-1,ymax=10,hideXAxis,yAxisLabel=y] {y=x^2,m=2,y=mx+3 } !
\[ \graph[height=250,panel,xmin=-5,xmax=5,ymin=-1,ymax=10,hideXAxis,yAxisLabel=y] {y=x^2,m=2,y=mx+3 } \]
or a more polar example: \verb! \graph[polar,height=250,panel,xmin=-12,xmax=12,ymin=-1,ymax=10] {r=\theta} !
\[ \graph[polar,height=250,panel,xmin=-12,xmax=12,ymin=-1,ymax=10] {r=\theta} \]
Here are the supported options in the first revision:
\begin{enumerate}
\item \texttt{panel} - display the expression panel expanded by default
\item \texttt{polar} - display the polar grid (constant values of $r$ and $\theta$), instead of rectangular ($x$- and $y$- axes)
\item \texttt{xmin=, xmax=, ymin=, ymax= } - set the viewing window
\item \texttt{height} - set the height of the graph in pixels
\item \texttt{xAxisLabel=} - place a label near the left of the screen, by the $x$-axis
\item \texttt{yAxisLabel=} - place a label near the top of the screen, by the $y$-axis
\item \texttt{hideXAxis} - hide the x-axis, the x-axis label, and the x-axis numbers
\item \texttt{hideYAxis} - hide the y-axis, the y-axis label, and the y-axis numbers
\item \texttt{hideXAxisNumbers} - hide the x-axis numbers
\item \texttt{hideYAxisNumbers} - hide the y-axis numbers
\end{enumerate}
\end{document}