Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 29897
1
## -*- encoding: utf-8 -*-
2
## This file (master.sagetex.sage) was *autogenerated* from master.tex with sagetex.sty version 2020/08/12 v3.5.
3
import sagetex
4
_st_ = sagetex.SageTeXProcessor('master', version='2020/08/12 v3.5', version_check=True)
5
try:
6
_st_.current_tex_line = 37
7
_st_.inline(0, latex(1+1))
8
except:
9
_st_.goboom(37)
10
_st_.current_tex_line = 40
11
_st_.blockbegin()
12
try:
13
x = var('x')
14
ex = (1 + x)^5
15
exe = ex.expand()
16
except:
17
_st_.goboom(44)
18
_st_.blockend()
19
try:
20
_st_.current_tex_line = 46
21
_st_.inline(1, latex(ex))
22
except:
23
_st_.goboom(46)
24
try:
25
_st_.current_tex_line = 46
26
_st_.inline(2, latex(exe))
27
except:
28
_st_.goboom(46)
29
_st_.current_tex_line = 54
30
_st_.blockbegin()
31
try:
32
a = 2
33
b = 3
34
x = var('x')
35
g = a * sin(b * x) + sqrt(x)
36
except:
37
_st_.goboom(59)
38
_st_.blockend()
39
try:
40
_st_.current_tex_line = 61
41
_st_.inline(3, latex(g))
42
except:
43
_st_.goboom(61)
44
try:
45
_st_.current_tex_line = 63
46
_st_.plot(0, format='notprovided', _p_=plot(g, 0, 10))
47
except:
48
_st_.goboom(63)
49
_st_.endofdoc()
50
51