Sharedsupport / 2016-04-18-exam / example.sagetex.sageOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
1
## -*- encoding: utf-8 -*-
2
## This file (example.sagetex.sage) was *autogenerated* from example.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
3
import sagetex
4
_st_ = sagetex.SageTeXProcessor('example', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
5
try:
6
_st_.inline(0, latex(ZZ.random_element(10,600)))
7
except:
8
_st_.goboom(22)
9
try:
10
_st_.inline(1, latex(QQ['x'].random_element(3)))
11
except:
12
_st_.goboom(26)
13
try:
14
_st_.inline(2, latex(random_matrix(ZZ, 3)))
15
except:
16
_st_.goboom(29)
17
_st_.endofdoc()
18