CoCalc Public Filestmp / 2015-02-02-101823.sagetex.sage.py
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
3from 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.
5import sagetex
6_st_ = sagetex.SageTeXProcessor('2015-02-02-101823', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
7try:
8 _st_.inline(_sage_const_0 , latex(number_of_partitions(_sage_const_1269 )))
9except:
10 _st_.goboom(_sage_const_8 )
11_st_.blockbegin()
12try:
13     __tmp__=var("x"); f = symbolic_expression(exp(x) * sin(_sage_const_2 *x)).function(x)
14except:
15 _st_.goboom(_sage_const_16 )
16_st_.blockend()
17try:
18 _st_.inline(_sage_const_1 , latex(f(x)))
19except:
20 _st_.goboom(_sage_const_21 )
21try:
22 _st_.inline(_sage_const_2 , latex(diff(f, x, _sage_const_2 )(x)))
23except:
24 _st_.goboom(_sage_const_22 )
25try:
26 _st_.plot(_sage_const_0 , format='notprovided', _p_=plot(f, -_sage_const_1 , _sage_const_1 ))
27except:
28 _st_.goboom(_sage_const_27 )
29_st_.endofdoc()
30