Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Algebra filter.

Algebra filter: Difference between revisions

From MoodleDocs
m (oops standard code)
(Changed to another reference about TeX. The one given was more about how to write in a Wiki.)
Line 11: Line 11:
Unfortunately this Moodle Docs Site doesn't have the algebra filter so you can't see here how nice they look. (There is a LaTeX math formula button in the wiki editor, but it doesn't recognize TeX or Algebra filter expressions, and I don't find any docs for THAT either!)
Unfortunately this Moodle Docs Site doesn't have the algebra filter so you can't see here how nice they look. (There is a LaTeX math formula button in the wiki editor, but it doesn't recognize TeX or Algebra filter expressions, and I don't find any docs for THAT either!)


For more advanced expressions that the algebra filter doesn't cope with there is the TeX filter that can basically do any math expression. The syntax there is more complicated. and the expressions are surrounded (in Moodle) by double $. Here is a good wiki about TeX notation: http://meta.wikimedia.org/wiki/Help:Formula
For more advanced expressions that the algebra filter doesn't cope with there is the TeX filter that can basically do any math expression. The syntax there is more complicated. and the expressions are surrounded (in Moodle) by double $. Here is a good reference about TeX notation: http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuideSym.php


(The algebra filter is actually a simplified front end for a TeX engine)
(The algebra filter is actually a simplified front end for a TeX engine)

Revision as of 20:17, 29 October 2008

Moodle has a wonderful "algebra filter" which can easily make mathematical expressions in classic layout. The filter is included in the standard Moodle packages. The administrator must activate it though before you can use it.

I personally think that students should be taught to recognize and use expressions that can be written in one line just the same as one enters them in a spreadsheet or when entering on a calculator. Having that ability also increases the ease of making interactive math problems.

The algebra filter can take expressions written in that way (like you would enter them in a spreadsheet cell) and display them the way we usually write them by hand or in math books. You simply surround the expression with double @:

@@y=(x+2)^2/(3x)@@
@@cosh(x,2)-sinh(x,2)=1@@

Unfortunately this Moodle Docs Site doesn't have the algebra filter so you can't see here how nice they look. (There is a LaTeX math formula button in the wiki editor, but it doesn't recognize TeX or Algebra filter expressions, and I don't find any docs for THAT either!)

For more advanced expressions that the algebra filter doesn't cope with there is the TeX filter that can basically do any math expression. The syntax there is more complicated. and the expressions are surrounded (in Moodle) by double $. Here is a good reference about TeX notation: http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuideSym.php

(The algebra filter is actually a simplified front end for a TeX engine)

There are some Moodle Glossaries: one with algebra and TeX and several with only TeX examples (in several languages) here: http://moodle.org/mod/glossary/view.php?id=2739&mode=letter&hook=M&sortkey=CREATION&sortorder=asc

See also