Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 1949
1
## -*- encoding: utf-8 -*-
2
## This file (minimal.sagetex.sage) was *autogenerated* from minimal.tex with sagetex.sty version 2019/01/09 v3.2.
3
import sagetex
4
_st_ = sagetex.SageTeXProcessor('minimal', version='2019/01/09 v3.2', version_check=True)
5
try:
6
_st_.current_tex_line = 22
7
_st_.inline(0, latex(n(1/178)))
8
except:
9
_st_.goboom(22)
10
try:
11
_st_.current_tex_line = 28
12
_st_.plot(0, format='notprovided', _p_=plot(x * (1+ sin(x)), (x,-10,10)))
13
except:
14
_st_.goboom(28)
15
try:
16
_st_.current_tex_line = 32
17
_st_.inline(1, latex(((1-x^2)^2).expand()))
18
except:
19
_st_.goboom(32)
20
try:
21
_st_.current_tex_line = 36
22
_st_.inline(2, latex(number_of_partitions(1269)))
23
except:
24
_st_.goboom(36)
25
_st_.current_tex_line = 42
26
_st_.blockbegin()
27
try:
28
f(x) = cos(2*x)^2 / (2+x)
29
except:
30
_st_.goboom(44)
31
_st_.blockend()
32
try:
33
_st_.current_tex_line = 46
34
_st_.inline(3, latex(diff(f,x)))
35
except:
36
_st_.goboom(46)
37
try:
38
_st_.current_tex_line = 51
39
_st_.inline(4, latex(f(x)))
40
except:
41
_st_.goboom(51)
42
try:
43
_st_.current_tex_line = 52
44
_st_.inline(5, latex(diff(f, x, 2)(x)))
45
except:
46
_st_.goboom(52)
47
try:
48
_st_.current_tex_line = 57
49
_st_.plot(1, format='notprovided', _p_=plot(f, -1, 10))
50
except:
51
_st_.goboom(57)
52
_st_.current_tex_line = 83
53
_st_.blockbegin()
54
try:
55
u = 1 + 1
56
except:
57
_st_.goboom(85)
58
_st_.blockend()
59
try:
60
_st_.current_tex_line = 87
61
_st_.inline(6, str(u))
62
except:
63
_st_.goboom(87)
64
_st_.endofdoc()
65
66