Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 1949
1
## -*- encoding: utf-8 -*-
2
3
# This file was *autogenerated* from the file minimal.sagetex.sage
4
from sage.all_cmdline import * # import sage library
5
6
_sage_const_3 = Integer(3); _sage_const_2 = Integer(2); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_6 = Integer(6); _sage_const_5 = Integer(5); _sage_const_4 = Integer(4); _sage_const_28 = Integer(28); _sage_const_22 = Integer(22); _sage_const_42 = Integer(42); _sage_const_44 = Integer(44); _sage_const_46 = Integer(46); _sage_const_1269 = Integer(1269); _sage_const_85 = Integer(85); _sage_const_87 = Integer(87); _sage_const_83 = Integer(83); _sage_const_178 = Integer(178); _sage_const_10 = Integer(10); _sage_const_57 = Integer(57); _sage_const_32 = Integer(32); _sage_const_52 = Integer(52); _sage_const_51 = Integer(51); _sage_const_36 = Integer(36)## This file (minimal.sagetex.sage) was *autogenerated* from minimal.tex with sagetex.sty version 2019/01/09 v3.2.
7
import sagetex
8
_st_ = sagetex.SageTeXProcessor('minimal', version='2019/01/09 v3.2', version_check=True)
9
try:
10
_st_.current_tex_line = _sage_const_22
11
_st_.inline(_sage_const_0 , latex(n(_sage_const_1 /_sage_const_178 )))
12
except:
13
_st_.goboom(_sage_const_22 )
14
try:
15
_st_.current_tex_line = _sage_const_28
16
_st_.plot(_sage_const_0 , format='notprovided', _p_=plot(x * (_sage_const_1 + sin(x)), (x,-_sage_const_10 ,_sage_const_10 )))
17
except:
18
_st_.goboom(_sage_const_28 )
19
try:
20
_st_.current_tex_line = _sage_const_32
21
_st_.inline(_sage_const_1 , latex(((_sage_const_1 -x**_sage_const_2 )**_sage_const_2 ).expand()))
22
except:
23
_st_.goboom(_sage_const_32 )
24
try:
25
_st_.current_tex_line = _sage_const_36
26
_st_.inline(_sage_const_2 , latex(number_of_partitions(_sage_const_1269 )))
27
except:
28
_st_.goboom(_sage_const_36 )
29
_st_.current_tex_line = _sage_const_42
30
_st_.blockbegin()
31
try:
32
__tmp__=var("x"); f = symbolic_expression(cos(_sage_const_2 *x)**_sage_const_2 / (_sage_const_2 +x)).function(x)
33
except:
34
_st_.goboom(_sage_const_44 )
35
_st_.blockend()
36
try:
37
_st_.current_tex_line = _sage_const_46
38
_st_.inline(_sage_const_3 , latex(diff(f,x)))
39
except:
40
_st_.goboom(_sage_const_46 )
41
try:
42
_st_.current_tex_line = _sage_const_51
43
_st_.inline(_sage_const_4 , latex(f(x)))
44
except:
45
_st_.goboom(_sage_const_51 )
46
try:
47
_st_.current_tex_line = _sage_const_52
48
_st_.inline(_sage_const_5 , latex(diff(f, x, _sage_const_2 )(x)))
49
except:
50
_st_.goboom(_sage_const_52 )
51
try:
52
_st_.current_tex_line = _sage_const_57
53
_st_.plot(_sage_const_1 , format='notprovided', _p_=plot(f, -_sage_const_1 , _sage_const_10 ))
54
except:
55
_st_.goboom(_sage_const_57 )
56
_st_.current_tex_line = _sage_const_83
57
_st_.blockbegin()
58
try:
59
u = _sage_const_1 + _sage_const_1
60
except:
61
_st_.goboom(_sage_const_85 )
62
_st_.blockend()
63
try:
64
_st_.current_tex_line = _sage_const_87
65
_st_.inline(_sage_const_6 , str(u))
66
except:
67
_st_.goboom(_sage_const_87 )
68
_st_.endofdoc()
69
70
71