Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2 years ago

Cyrille gravatar image

A strange error with ϕ as a variable

I have encountered a strange error. Look at this code

var('π c ϕ')
C(q) = c*q
π(q) = ϕ*q-C(q)
show(LatexExpr(r"C(q) = "),C(q))
show(LatexExpr(r"π(q) = "),π(q))

It generates an error because ϕ is interpreted as φ. If I replace the first by the second there is no error.