MathQuill fields support a LaTeX-like syntax that is converted into JavaScript expressions for evaluation. Here’s what works:
\sin, \cos, \tan\ln, \log → Math.log\sqrt{...}, \sqrt(...), \sqrt x → Math.sqrt(...)e^{...}, \exp{...} → Math.exp(...)\sec(...), \csc(...), \cot(...) → 1/Math.cos|sin|tan(...)|...| or \left|...\right| → Math.abs(...)\pi → Math.PI, bare e → Math.E^ or ^{...} → **, \frac{a}{b} → (a)/(b), \cdot/\times → *Math.sin, Math.cos, Math.tanMath.log → \lnMath.sqrt(...) → \sqrt{...}Math.exp(...) → e^{...}Math.abs(...) → \left|...\right|Math.floor, Math.ceil → \lfloor \cdot \rfloor, \lceil \cdot \rceilMath.PI → \pi, Math.E → e** → ^, * → \cdot\asin/\acos/\atan, hyperbolic and inverse hyperbolic functions, \lfloor/\lceil (as LaTeX input), \max/\min, piecewise.\frac and deeply nested expressions may not convert perfectly.* if something doesn’t evaluate.If an expression fails to apply, share the exact input to me so I can try to extend support for it.