Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
6697 views
1
## -*- encoding: utf-8 -*-
2
## This file (minimal.sagetex.sage) was *autogenerated* from minimal.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
3
import sagetex
4
_st_ = sagetex.SageTeXProcessor('minimal', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
5
try:
6
_st_.inline(0, latex(n(1/178)))
7
except:
8
_st_.goboom(22)
9
try:
10
_st_.plot(0, format='notprovided', _p_=plot(x * (1+ sin(x)), (x,-10,10)))
11
except:
12
_st_.goboom(28)
13
try:
14
_st_.inline(1, latex(((1-x^2)^2).expand()))
15
except:
16
_st_.goboom(32)
17
try:
18
_st_.inline(2, latex(number_of_partitions(1269)))
19
except:
20
_st_.goboom(36)
21
_st_.blockbegin()
22
try:
23
f(x) = cos(2*x)^2 / (2+x)
24
except:
25
_st_.goboom(44)
26
_st_.blockend()
27
try:
28
_st_.inline(3, latex(diff(f,x)))
29
except:
30
_st_.goboom(46)
31
try:
32
_st_.inline(4, latex(f(x)))
33
except:
34
_st_.goboom(51)
35
try:
36
_st_.inline(5, latex(diff(f, x, 2)(x)))
37
except:
38
_st_.goboom(52)
39
try:
40
_st_.plot(1, format='notprovided', _p_=plot(f, -1, 10))
41
except:
42
_st_.goboom(57)
43
_st_.blockbegin()
44
try:
45
u = 1 + 1
46
except:
47
_st_.goboom(85)
48
_st_.blockend()
49
try:
50
_st_.inline(6, str(u))
51
except:
52
_st_.goboom(87)
53
_st_.endofdoc()
54
55