Sharedsupport / 2016-05-17-latex.sagewsOpen in CoCalc
Author: William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
%var x y z g = golden_ratio p = 2 - (cos(x + g*y) + cos(x - g*y) + cos(y + g*z) + cos(y - g*z) + cos(z - g*x) + cos(z + g*x)) show(p)
cos(ϕx+z)cos(ϕx+z)cos(ϕy+x)cos(ϕy+x)cos(ϕz+y)cos(ϕz+y)+2\displaystyle -\cos\left(\phi x + z\right) - \cos\left(-\phi x + z\right) - \cos\left(\phi y + x\right) - \cos\left(-\phi y + x\right) - \cos\left(\phi z + y\right) - \cos\left(-\phi z + y\right) + 2
latex(p)
-\cos\left(\phi x + z\right) - \cos\left(-\phi x + z\right) - \cos\left(\phi y + x\right) - \cos\left(-\phi y + x\right) - \cos\left(\phi z + y\right) - \cos\left(-\phi z + y\right) + 2
%md(hide=False) Consider $\cos(x + \phi y)$...

Consider cos(x+ϕy)\cos(x + \phi y)...

%latex Consider $\cos(x + \phi y)$...