summaryrefslogtreecommitdiff
path: root/using_sage_for_calculus/quickref.tex
diff options
context:
space:
mode:
authorhardythe12015-03-10 11:58:22 +0530
committerhardythe12015-03-10 11:58:22 +0530
commit4f190be89aaf9413c2dc93910cd09991e230b6b7 (patch)
treef0750811d65adb7705ba5cd6067fe8e25f1120f9 /using_sage_for_calculus/quickref.tex
parent86d4d1e402c52ae5a8e92dbb12fda7d996a4dd49 (diff)
downloadst-scripts-4f190be89aaf9413c2dc93910cd09991e230b6b7.tar.gz
st-scripts-4f190be89aaf9413c2dc93910cd09991e230b6b7.tar.bz2
st-scripts-4f190be89aaf9413c2dc93910cd09991e230b6b7.zip
modified 'using_sage' script cut it to 2
Diffstat (limited to 'using_sage_for_calculus/quickref.tex')
-rw-r--r--using_sage_for_calculus/quickref.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/using_sage_for_calculus/quickref.tex b/using_sage_for_calculus/quickref.tex
new file mode 100644
index 0000000..b26d168
--- /dev/null
+++ b/using_sage_for_calculus/quickref.tex
@@ -0,0 +1,8 @@
+Creating a linear array:\\
+{\ex \lstinline| x = linspace(0, 2*pi, 50)|}
+
+Plotting two variables:\\
+{\ex \lstinline| plot(x, sin(x))|}
+
+Plotting two lists of equal length x, y:\\
+{\ex \lstinline| plot(x, y)|}