from sage.all_cmdline import *
_sage_const_40 = Integer(40); _sage_const_2 = Integer(2); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_44 = Integer(44); _sage_const_46 = Integer(46); _sage_const_5 = Integer(5); _sage_const_61 = Integer(61); _sage_const_3 = Integer(3); _sage_const_4 = Integer(4); _sage_const_10 = Integer(10); _sage_const_59 = Integer(59); _sage_const_54 = Integer(54); _sage_const_63 = Integer(63); _sage_const_37 = Integer(37); _sage_const_50 = Integer(50)
import sagetex
_st_ = sagetex.SageTeXProcessor('master', version='2015/08/26 v3.0-92d9f7a', version_check=True)
try:
_st_.current_tex_line = _sage_const_37
_st_.inline(_sage_const_0 , latex(_sage_const_1 +_sage_const_1 ))
except:
_st_.goboom(_sage_const_37 )
_st_.current_tex_line = _sage_const_40
_st_.blockbegin()
try:
x = var('x')
ex = (_sage_const_1 + x)**_sage_const_5
exe = ex.expand()
except:
_st_.goboom(_sage_const_44 )
_st_.blockend()
try:
_st_.current_tex_line = _sage_const_46
_st_.inline(_sage_const_1 , latex(ex))
except:
_st_.goboom(_sage_const_46 )
try:
_st_.current_tex_line = _sage_const_46
_st_.inline(_sage_const_2 , latex(exe))
except:
_st_.goboom(_sage_const_46 )
try:
_st_.current_tex_line = _sage_const_50
_st_.inline(_sage_const_3 , str(CartesianProduct(['a', 'b'], [_sage_const_1 , _sage_const_2 , _sage_const_3 ]).list()))
except:
_st_.goboom(_sage_const_50 )
_st_.current_tex_line = _sage_const_54
_st_.blockbegin()
try:
a = _sage_const_2
b = _sage_const_3
x = var('x')
g = a * sin(b * x) + sqrt(x)
except:
_st_.goboom(_sage_const_59 )
_st_.blockend()
try:
_st_.current_tex_line = _sage_const_61
_st_.inline(_sage_const_4 , latex(g))
except:
_st_.goboom(_sage_const_61 )
try:
_st_.current_tex_line = _sage_const_63
_st_.plot(_sage_const_0 , format='notprovided', _p_=plot(g, _sage_const_0 , _sage_const_10 ))
except:
_st_.goboom(_sage_const_63 )
_st_.endofdoc()