Moodle has both an Algebra and a TeX filter. With them one can imput just about any kind of mathematical expression. Just see to it that the administrator turns them on.
Mathematics tools
Equation editor
This discussion has been locked so you can no longer reply to it.