Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
6697 views
1
## -*- encoding: utf-8 -*-
2
# This file was *autogenerated* from the file presentation.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_184 = Integer(184); _sage_const_191 = Integer(191)## This file (presentation.sagetex.sage) was *autogenerated* from presentation.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
5
import sagetex
6
_st_ = sagetex.SageTeXProcessor('presentation', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
7
_st_.blockbegin()
8
try:
9
__tmp__=var("x"); f = symbolic_expression(cos(_sage_const_2 *x) / (_sage_const_1 +x**_sage_const_2 )).function(x)
10
except:
11
_st_.goboom(_sage_const_184 )
12
_st_.blockend()
13
try:
14
_st_.inline(_sage_const_0 , latex(f(x)))
15
except:
16
_st_.goboom(_sage_const_191 )
17
try:
18
_st_.inline(_sage_const_1 , latex(diff(f,x)(x)))
19
except:
20
_st_.goboom(_sage_const_191 )
21
_st_.endofdoc()
22
23