import sagetex
_st_ = sagetex.SageTeXProcessor('minimal', version='2019/01/09 v3.2', version_check=True)
try:
_st_.current_tex_line = 22
_st_.inline(0, latex(n(1/178)))
except:
_st_.goboom(22)
try:
_st_.current_tex_line = 28
_st_.plot(0, format='notprovided', _p_=plot(x * (1+ sin(x)), (x,-10,10)))
except:
_st_.goboom(28)
try:
_st_.current_tex_line = 32
_st_.inline(1, latex(((1-x^2)^2).expand()))
except:
_st_.goboom(32)
try:
_st_.current_tex_line = 36
_st_.inline(2, latex(number_of_partitions(1269)))
except:
_st_.goboom(36)
_st_.current_tex_line = 42
_st_.blockbegin()
try:
f(x) = cos(2*x)^2 / (2+x)
except:
_st_.goboom(44)
_st_.blockend()
try:
_st_.current_tex_line = 46
_st_.inline(3, latex(diff(f,x)))
except:
_st_.goboom(46)
try:
_st_.current_tex_line = 51
_st_.inline(4, latex(f(x)))
except:
_st_.goboom(51)
try:
_st_.current_tex_line = 52
_st_.inline(5, latex(diff(f, x, 2)(x)))
except:
_st_.goboom(52)
try:
_st_.current_tex_line = 57
_st_.plot(1, format='notprovided', _p_=plot(f, -1, 10))
except:
_st_.goboom(57)
_st_.current_tex_line = 83
_st_.blockbegin()
try:
u = 1 + 1
except:
_st_.goboom(85)
_st_.blockend()
try:
_st_.current_tex_line = 87
_st_.inline(6, str(u))
except:
_st_.goboom(87)
_st_.endofdoc()