CoCalc Public Filestmp / 2015-02-02-101823.sagetex.sageOpen in with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
1
## -*- encoding: utf-8 -*-
2
## This file (2015-02-02-101823.sagetex.sage) was *autogenerated* from 2015-02-02-101823.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
3
import sagetex
4
_st_ = sagetex.SageTeXProcessor('2015-02-02-101823', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
5
try:
6
_st_.inline(0, latex(number_of_partitions(1269)))
7
except:
8
_st_.goboom(8)
9
_st_.blockbegin()
10
try:
11
f(x) = exp(x) * sin(2*x)
12
except:
13
_st_.goboom(16)
14
_st_.blockend()
15
try:
16
_st_.inline(1, latex(f(x)))
17
except:
18
_st_.goboom(21)
19
try:
20
_st_.inline(2, latex(diff(f, x, 2)(x)))
21
except:
22
_st_.goboom(22)
23
try:
24
_st_.plot(0, format='notprovided', _p_=plot(f, -1, 1))
25
except:
26
_st_.goboom(27)
27
_st_.endofdoc()
28