CoCalc Public Files2017-12-05-134253.ipynbOpen with one click!
Authors: John Jeng, Locke Patton, William A. Stein, Callin Switzer, Jake Vanderplas
Views : 59
Description: a demo notebook
Compute Environment: Ubuntu 18.04 (Deprecated)
In [ ]:
In [ ]:
In [ ]:
In [6]:
for i in range(10): print(i) sleep(1)
0 1 2 3 4 5 6 7 8 9
In [1]:
2 + 3
5

foo

  • a
  • α\alpha
In [ ]:
In [2]:
2/3
2/3

Problem number one

  1. Integrate sin(x2)sin(x^2) with respect to xx
In [2]:
show(integrate(sin(x^2),x))
116π((i+1)2erf((12i+12)2x)+(i1)2erf((12i12)2x)(i1)2erf(ix)+(i+1)2erf((1)14x))\frac{1}{16} \, \sqrt{\pi} {\left(\left(i + 1\right) \, \sqrt{2} \operatorname{erf}\left(\left(\frac{1}{2} i + \frac{1}{2}\right) \, \sqrt{2} x\right) + \left(i - 1\right) \, \sqrt{2} \operatorname{erf}\left(\left(\frac{1}{2} i - \frac{1}{2}\right) \, \sqrt{2} x\right) - \left(i - 1\right) \, \sqrt{2} \operatorname{erf}\left(\sqrt{-i} x\right) + \left(i + 1\right) \, \sqrt{2} \operatorname{erf}\left(\left(-1\right)^{\frac{1}{4}} x\right)\right)}
In [5]:
import astropy
In [ ]:
In [ ]:
In [ ]: