Some simple explanations about Sage

The first paragraph starts of with some simple #example text about the SageMath.

Simple Example

The second paragraph is a bit more complex and powerful, explaining #plotting and more.

x = var('x') diff(x^2/(1-x^3), x) for i in range(10): print ((1+x^2)^i).expand()

should display

3*x^4/(x^3 - 1)^2 - 2*x/(x^3 - 1)

quick plot

f(x) = x + 1/(1+x-x^2) - 1/(x+1)^2 show(latex(f)) plot(f, (x, -5, 5), ymin=-8, ymax=8)

Another Example

This is another paragraph, below a code without doctest

(2+3+4)^5
Source
Mentioned in
Example Knowls, Testing Knowls