from sage.all_cmdline import *
_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)
import sagetex
_st_ = sagetex.SageTeXProcessor('minimal', version='2019/01/09 v3.2', version_check=True)
try:
_st_.current_tex_line = _sage_const_22
_st_.inline(_sage_const_0 , latex(n(_sage_const_1 /_sage_const_178 )))
except:
_st_.goboom(_sage_const_22 )
try:
_st_.current_tex_line = _sage_const_28
_st_.plot(_sage_const_0 , format='notprovided', _p_=plot(x * (_sage_const_1 + sin(x)), (x,-_sage_const_10 ,_sage_const_10 )))
except:
_st_.goboom(_sage_const_28 )
try:
_st_.current_tex_line = _sage_const_32
_st_.inline(_sage_const_1 , latex(((_sage_const_1 -x**_sage_const_2 )**_sage_const_2 ).expand()))
except:
_st_.goboom(_sage_const_32 )
try:
_st_.current_tex_line = _sage_const_36
_st_.inline(_sage_const_2 , latex(number_of_partitions(_sage_const_1269 )))
except:
_st_.goboom(_sage_const_36 )
_st_.current_tex_line = _sage_const_42
_st_.blockbegin()
try:
__tmp__=var("x"); f = symbolic_expression(cos(_sage_const_2 *x)**_sage_const_2 / (_sage_const_2 +x)).function(x)
except:
_st_.goboom(_sage_const_44 )
_st_.blockend()
try:
_st_.current_tex_line = _sage_const_46
_st_.inline(_sage_const_3 , latex(diff(f,x)))
except:
_st_.goboom(_sage_const_46 )
try:
_st_.current_tex_line = _sage_const_51
_st_.inline(_sage_const_4 , latex(f(x)))
except:
_st_.goboom(_sage_const_51 )
try:
_st_.current_tex_line = _sage_const_52
_st_.inline(_sage_const_5 , latex(diff(f, x, _sage_const_2 )(x)))
except:
_st_.goboom(_sage_const_52 )
try:
_st_.current_tex_line = _sage_const_57
_st_.plot(_sage_const_1 , format='notprovided', _p_=plot(f, -_sage_const_1 , _sage_const_10 ))
except:
_st_.goboom(_sage_const_57 )
_st_.current_tex_line = _sage_const_83
_st_.blockbegin()
try:
u = _sage_const_1 + _sage_const_1
except:
_st_.goboom(_sage_const_85 )
_st_.blockend()
try:
_st_.current_tex_line = _sage_const_87
_st_.inline(_sage_const_6 , str(u))
except:
_st_.goboom(_sage_const_87 )
_st_.endofdoc()