1 | initial version |
Try the following examples:
expression = r"\displaystyle\int_0^{\pi/4}\tan(x)\,dx ="
result = integrate(tan(x), (x,0,pi/4))
show(html("$" + expression + f"{latex(result)}" + "$"))
expression = r"\displaystyle\lim_{x\to 0}\frac{\sin^2(\pi x)}{x^2}="
result = limit(sin(pi*x)^2/x^2, x=0)
show(html("$" + expression + f"{latex(result)}" + "$"))
They are shown in this SageMath Cell