Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
6697 views
1
## -*- encoding: utf-8 -*-
2
# This file was *autogenerated* from the file minimal.sagetex.sage
3
from sage.all_cmdline import * # import sage library
4
_sage_const_3 = Integer(3); _sage_const_2 = Integer(2); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_44 = Integer(44); _sage_const_5 = Integer(5); _sage_const_46 = Integer(46); _sage_const_4 = Integer(4); _sage_const_1269 = Integer(1269); _sage_const_85 = Integer(85); _sage_const_87 = Integer(87); _sage_const_57 = Integer(57); _sage_const_28 = Integer(28); _sage_const_10 = Integer(10); _sage_const_6 = Integer(6); _sage_const_22 = Integer(22); _sage_const_178 = Integer(178); _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 2012/01/16 v2.3.3-69dcb0eb93de.
5
import sagetex
6
_st_ = sagetex.SageTeXProcessor('minimal', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
7
try:
8
_st_.inline(_sage_const_0 , latex(n(_sage_const_1 /_sage_const_178 )))
9
except:
10
_st_.goboom(_sage_const_22 )
11
try:
12
_st_.plot(_sage_const_0 , format='notprovided', _p_=plot(x * (_sage_const_1 + sin(x)), (x,-_sage_const_10 ,_sage_const_10 )))
13
except:
14
_st_.goboom(_sage_const_28 )
15
try:
16
_st_.inline(_sage_const_1 , latex(((_sage_const_1 -x**_sage_const_2 )**_sage_const_2 ).expand()))
17
except:
18
_st_.goboom(_sage_const_32 )
19
try:
20
_st_.inline(_sage_const_2 , latex(number_of_partitions(_sage_const_1269 )))
21
except:
22
_st_.goboom(_sage_const_36 )
23
_st_.blockbegin()
24
try:
25
__tmp__=var("x"); f = symbolic_expression(cos(_sage_const_2 *x)**_sage_const_2 / (_sage_const_2 +x)).function(x)
26
except:
27
_st_.goboom(_sage_const_44 )
28
_st_.blockend()
29
try:
30
_st_.inline(_sage_const_3 , latex(diff(f,x)))
31
except:
32
_st_.goboom(_sage_const_46 )
33
try:
34
_st_.inline(_sage_const_4 , latex(f(x)))
35
except:
36
_st_.goboom(_sage_const_51 )
37
try:
38
_st_.inline(_sage_const_5 , latex(diff(f, x, _sage_const_2 )(x)))
39
except:
40
_st_.goboom(_sage_const_52 )
41
try:
42
_st_.plot(_sage_const_1 , format='notprovided', _p_=plot(f, -_sage_const_1 , _sage_const_10 ))
43
except:
44
_st_.goboom(_sage_const_57 )
45
_st_.blockbegin()
46
try:
47
u = _sage_const_1 + _sage_const_1
48
except:
49
_st_.goboom(_sage_const_85 )
50
_st_.blockend()
51
try:
52
_st_.inline(_sage_const_6 , str(u))
53
except:
54
_st_.goboom(_sage_const_87 )
55
_st_.endofdoc()
56
57