A markdown cell:
version()
solving equations
x, y = var('x y') solve(2*x^2 + 1, x) # second example, two equations: ex1 = (x + y)^2 - 1 ex2 = x - y == 1 solve([ex1, ex2], [x, y])
some plotting
x = SR.var("x") sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in sxrange(0,1,.2)] show(sum(sines))