CoCalc Public Filestmp / 2015-02-02-101823.sagetex.sage.pyOpen in with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
1
## -*- encoding: utf-8 -*-
2
# This file was *autogenerated* from the file 2015-02-02-101823.sagetex.sage
3
from sage.all_cmdline import * # import sage library
4
_sage_const_2 = Integer(2); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_1269 = Integer(1269); _sage_const_8 = Integer(8); _sage_const_16 = Integer(16); _sage_const_22 = Integer(22); _sage_const_21 = Integer(21); _sage_const_27 = Integer(27)## This file (2015-02-02-101823.sagetex.sage) was *autogenerated* from 2015-02-02-101823.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
5
import sagetex
6
_st_ = sagetex.SageTeXProcessor('2015-02-02-101823', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
7
try:
8
_st_.inline(_sage_const_0 , latex(number_of_partitions(_sage_const_1269 )))
9
except:
10
_st_.goboom(_sage_const_8 )
11
_st_.blockbegin()
12
try:
13
__tmp__=var("x"); f = symbolic_expression(exp(x) * sin(_sage_const_2 *x)).function(x)
14
except:
15
_st_.goboom(_sage_const_16 )
16
_st_.blockend()
17
try:
18
_st_.inline(_sage_const_1 , latex(f(x)))
19
except:
20
_st_.goboom(_sage_const_21 )
21
try:
22
_st_.inline(_sage_const_2 , latex(diff(f, x, _sage_const_2 )(x)))
23
except:
24
_st_.goboom(_sage_const_22 )
25
try:
26
_st_.plot(_sage_const_0 , format='notprovided', _p_=plot(f, -_sage_const_1 , _sage_const_1 ))
27
except:
28
_st_.goboom(_sage_const_27 )
29
_st_.endofdoc()
30