Open in CoCalc with one click!
p = plot(sin, (0,10),ticks=pi/2, tick_formatter=pi, axes_labels=['$x$','$\\sin(x)$'], fontsize=14, color='red',gridlines=True); p.show()
x = var('x') solve(x^2 + 6*x + 8, x)
[x == -2, x == -4]