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

Mathematics: Difference between revisions

From MoodleDocs
No edit summary
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Main page}}
{{Update}}
==Equation Construction and Display==
==Equation Construction and Display==
Moodle offers in core basic TeX and Algebra filters. These are simple but not simplistic. An overview of using these tools can be found at the [[Using TeX Notation]] pages. Be aware that these default packages are subsets of complete TeX packages and the conventions used are designed more for ease of use within Moodle rather than as complete TeX packages.


===Tools===
===Tools===
Line 9: Line 9:


Some tools for creating and displaying equations on-line that may be of interest to those teaching mathematics are:
Some tools for creating and displaying equations on-line that may be of interest to those teaching mathematics are:
* The default [[TeX filter]], which allows Tex expressions to be inserted anywhere (e.g. quiz questions, discussion messages, text resources)
* Moodle offers in core a basic TeX filter and an Algebra filter. These are simple but not simplistic. An overview of using these tools can be found at the [[Using TeX Notation]] pages. Be aware that these packages are subsets of complete TeX packages and the conventions used are designed more for ease of use within Moodle rather than as complete TeX packages.  
* [[ASCIIMathML]],  which both converts equations into MathML on the fly and provides a text expression syntax more easily mastered than Tex, though the filter will convert TeX expressions as well. [http://sourceforge.net/project/showfiles.php?group_id=106148 The ASCIIMathML 2.0.2 zip] provides all the files necessary for setting ASCIIMathML up as  a Moodle filter as well creating run-time graphs with ASCIIsvg. An on-line calculator is also included. Just recently an  ASCIIMathML export format for DragMath was added to version 0.7.2, [https://docs.moodle.org/en/DragMath_equation_editor available here],  so that you have access to both a GUI and text expression syntax for creating and displaying equations. Quick and GIFless. [http://math.chapman.edu/~jipsen/asciencepad/asciencepad.html  ASciencePad is also available] and consists of htmlarea enhanced with the ASCIIMathML functionality.  
* [[ASCIIMathML]],  which both converts equations into MathML on the fly and provides a text expression syntax more easily mastered than Tex, though the filter will convert TeX expressions as well. [http://sourceforge.net/project/showfiles.php?group_id=106148 The ASCIIMathML 2.0.2 zip] provides all the files necessary for setting ASCIIMathML up as  a Moodle filter as well creating run-time graphs with ASCIIsvg. An on-line calculator is also included. Just recently an  ASCIIMathML export format for DragMath was added to version 0.7.2, [https://docs.moodle.org/en/DragMath_equation_editor available here],  so that you have access to both a GUI and text expression syntax for creating and displaying equations. Quick and GIFless. [http://math.chapman.edu/~jipsen/asciencepad/asciencepad.html  ASciencePad is also available] and consists of htmlarea enhanced with the ASCIIMathML functionality.  
* [http://moodle.org/mod/data/view.php?d=13&rid=916 Tim Hunt's Moodle MathTran Module] converts Tex into images on the fly. You can also use  [http://www.mathtran.org/wiki/index.php/TeX_image mathtran_img.js] on a page by page basis.
* [http://moodle.org/mod/data/view.php?d=13&rid=916 Tim Hunt's Moodle MathTran Module] converts Tex into images on the fly. You can also use  [http://www.mathtran.org/wiki/index.php/TeX_image mathtran_img.js] on a page by page basis.
* The [[jsMath]] filter, which does a similar job but using [[Javascript]] on the user's computer
* The [[jsMath]] filter, which does a similar job but using [[Javascript]] on the user's computer
* [[MathJax]], a next generation for jsMath from David Cervone et al that now includes MathML and web font features: [http://MathJax.org] A discussion regarding deploying the beta release can be found here: [http://moodle.org/mod/forum/discuss.php?d=142785]
* [[MathJax_filter]], a next generation for jsMath from David Cervone et al that now includes MathML and web font features: [http://MathJax.org] A discussion regarding deploying the beta release can be found here: [http://moodle.org/mod/forum/discuss.php?d=142785]
* [[Calculated question type]]
* [[Calculated question type]]
* [[DragMath equation editor]], a WYSIWYG equation editor that integrates easily with the Moodle HTML editor.
* [[DragMath equation editor]], a WYSIWYG equation editor that integrates easily with the Moodle HTML editor.
* [[WIRIS]], is a plugin that easily integrates with the HTML editor several math tools. Test them at [http://www.wiris.com/demo-moodle/ www.wiris.com/demo-moodle/]
* [[WIRIS]], is a suite of math and science tools. [http://www.wiris.com/moodle/ www.wiris.com/moodle/]
** WYSIWYG equation editor. Based on MathML
** MathType, an equation editor that allows you to type or handwritte math expressions. Based on MathML and a Javascript interface.
** Advanced calculator. Integrals, derivatives, limits, ploting in 2D and 3D,...
** Wiris Quizzes, a set of question types for math and science topics
** Advancaed math quizzes
* MathML polyfill support (for Chrome) implementation using custom elements [https://github.com/pshihn/math-ml] (can be added to Moodle via theme custom HTML)


* [http://www.dessci.com/en/products/mathtype MathType], a commercial product created by DSI (the folk who also offer MathPlayer, a plugin many IE users employ). Bob Mathews recently posted [http://moodle.org/mod/forum/discuss.php?d=93728&parent=549428] that info on how to use MathType with Moodle can be found at http://www.dessci.com/en/products/mathtype/works_with.htm?target=moodle. Beginning with MathType 6.7, MathType includes a "translator" to convert a MathType equation into the LaTeX code required by the Moodle TeX filter.
Mathematics teachers may also be interested to follow the work of [http://maths.york.ac.uk York University Maths department], who are working on [http://maths.york.ac.uk/serving_maths/ some projects] to augment Moodle, particularly its [[Quiz module]] for online assessment, for example by integrating a system which is able to mark algebraic and trigonometric answers to open-ended questions.
Mathematics teachers may also be interested to follow the work of [http://maths.york.ac.uk York University Maths department], who are working on [http://maths.york.ac.uk/serving_maths/ some projects] to augment Moodle, particularly its [[Quiz module]] for online assessment, for example by integrating a system which is able to mark algebraic and trigonometric answers to open-ended questions.


Line 31: Line 30:


{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
!Notation
|- style="vertical-align:top;"
!Tex/LaTex
!width="12%"|Notation
!ASCIIMath
!width="22%"|Tex/LaTex
!MathML
!width="22%"|ASCIIMath
|-
!width="22%"|MathML
!width="22%"|WIRIS
|- style="vertical-align:top;"
|Ease of Use
|Ease of Use
|Plain text system. Knowledge of LaTeX notation required. Being a plain text system, LaTeX notation is straightforward to create and edit.  
|Plain text system. Knowledge of LaTeX notation required. Being a plain text system, LaTeX notation is straightforward to create and edit.  
|Plain text system. Easy to learn. Notation simple. Being a plain text system, ASCIIMath is very easy to create and edit.
|Plain text system. Easy to learn. Notation simple. Being a plain text system, ASCIIMath is very easy to create and edit.
|XML-based. Not easy to create and edit: an editor is required.
|XML-based. Not easy to create and edit: an editor is required.
|-
|Visual interface for MathML.<br>Toolbar navigation is accessible.<br>LateX plain text notation is also available.
|- style="vertical-align:top;"
|Conversion to Braille
|Conversion to Braille
|Output directly to Braille display via screen reader (fn 2)
|Output directly to Braille display via screen reader (fn 2)
|ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details.
|ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details.
|Converted to suitable textual format and Brailled using screen reader (fn 3)
|Converted to suitable textual format and Brailled using screen reader (fn 3)
|-
|Image alternative text outputs directly to Braille display via screen reader (fn4)
|- style="vertical-align:top;"
|Transmission via TTS
|Transmission via TTS
|Notation spoken "as-is" via screen reader (fn 2)
|Notation spoken "as-is" via screen reader (fn 2)
|ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details.
|ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details.
|Converted to suitable textual format and spoken using screen reader. Note that MathPlayer add-on for IE has TTS functionality built-in (fn 3).
|Converted to suitable textual format and spoken using screen reader. Note that MathPlayer add-on for IE has TTS functionality built-in (fn 3).
|Image alternative text spoken via screen reader (fn 4)
|-
|-
|}
|}
Line 65: Line 69:
<span id="fn3">'''fn3. '''</span>
<span id="fn3">'''fn3. '''</span>
In the case of Internet Explorer, screen readers require the MathPlayer plugin to be installed before MathML is rendered (IE does not include native MathML support). By using MSAA, the screen reader can obtain a textual version of the math notation from MathPlayer, which it can then TTS and Braille. Note that MathPlayer also contains built-in TTS functionality (employing MS SAPI) which can be used to speak the math notation without having to employ a screen reader. See [http://www.dessci.com/en/products/mathplayer/tech/accessibility.htm] for further details. At time of writing, screen reader support for Firefox is via MSAA and a special custom, Firefox-specific IAccessible2 interface (to reveal text attributes and character positions). Math notation is spoken via a screen reader which interrogates these interfaces.
In the case of Internet Explorer, screen readers require the MathPlayer plugin to be installed before MathML is rendered (IE does not include native MathML support). By using MSAA, the screen reader can obtain a textual version of the math notation from MathPlayer, which it can then TTS and Braille. Note that MathPlayer also contains built-in TTS functionality (employing MS SAPI) which can be used to speak the math notation without having to employ a screen reader. See [http://www.dessci.com/en/products/mathplayer/tech/accessibility.htm] for further details. At time of writing, screen reader support for Firefox is via MSAA and a special custom, Firefox-specific IAccessible2 interface (to reveal text attributes and character positions). Math notation is spoken via a screen reader which interrogates these interfaces.
<span id="fn1">'''fn4.'''</span>
The alt attribute of the rendered image is filled with a textual version of the math notation. Screen readers can read the alternative text without additional plugins.


==Using Java for Curriculum==
==Using Java for Curriculum==
Line 85: Line 92:
*Euclid's Elements -  http://aleph0.clarku.edu/~djoyce/java/elements/elements.html
*Euclid's Elements -  http://aleph0.clarku.edu/~djoyce/java/elements/elements.html
*Tutorials employing applets (applets can be downloaded and used in Moodle) http://www.analyzemath.com/
*Tutorials employing applets (applets can be downloaded and used in Moodle) http://www.analyzemath.com/
*Ultrastudio.org - Applet-capable wiki with over 100 educational applets and explaining articles next to them, best covering mathematics (especially complex plane) but also physics and many other topics. CC-BY-SA texts, most of applets open source - http://ultrastudio.org/#Mathematics.


===Applet Tools===
===Applet Tools===
Line 114: Line 122:
* WebWork, see http://webwork.maa.org/wiki/Main_Page  http://webwork.math.rochester.edu/docs/docs/, and http://webwork.maa.org/moodle/ is an independent web application for assessing student Math progress, and there is a Moodle Module for interfacing WebWork to Moodle that can be found here: http://moodle.org/mod/data/view.php?d=13&rid=332, though the resources on the WeBWork wiki are probably more current as the code  in the Moodle CVS has not been updated for some time.
* WebWork, see http://webwork.maa.org/wiki/Main_Page  http://webwork.math.rochester.edu/docs/docs/, and http://webwork.maa.org/moodle/ is an independent web application for assessing student Math progress, and there is a Moodle Module for interfacing WebWork to Moodle that can be found here: http://moodle.org/mod/data/view.php?d=13&rid=332, though the resources on the WeBWork wiki are probably more current as the code  in the Moodle CVS has not been updated for some time.
* STACK provides very mathematical questions for the Moodle quiz module.  These are supported by the CAS Maxima.  The home page for STACK can be found on http://stack.bham.ac.uk/
* STACK provides very mathematical questions for the Moodle quiz module.  These are supported by the CAS Maxima.  The home page for STACK can be found on http://stack.bham.ac.uk/
* WIRIS quizzes [http://www.wiris.com/demo-moodle wiris.com/demo-moodle]
* WIRIS quizzes [http://www.wiris.com/quizzes wiris.com/quizzes]
**Random variables and graphics
**Random variables and graphics
**Automatic evaluation of oen answers
**Automatic evaluation of open answers
**Syntax checking of answers
**Syntax checking of answers


Line 131: Line 139:
[[Category:Mathematics]]
[[Category:Mathematics]]
[[Category:Teacher]]
[[Category:Teacher]]
[[es:Matemáticas]]
[[fr:Mathématiques]]

Revision as of 08:05, 6 May 2019

This page requires updating. Please do so and remove this template when finished.


Equation Construction and Display

Tools

There are a variety of tools that are available for the purpose of constructing equations, providing text expressions that can be converted to equations, and displaying equations.

The most common text expression syntax is LaTeX or a derivative with probably the most common form of display being a conversion of the equation to an image file. However, is demonstrated with ASCIIMathML simple text expressions can now be be converted to MathML on the fly.

Some tools for creating and displaying equations on-line that may be of interest to those teaching mathematics are:

  • Moodle offers in core a basic TeX filter and an Algebra filter. These are simple but not simplistic. An overview of using these tools can be found at the Using TeX Notation pages. Be aware that these packages are subsets of complete TeX packages and the conventions used are designed more for ease of use within Moodle rather than as complete TeX packages.
  • ASCIIMathML, which both converts equations into MathML on the fly and provides a text expression syntax more easily mastered than Tex, though the filter will convert TeX expressions as well. The ASCIIMathML 2.0.2 zip provides all the files necessary for setting ASCIIMathML up as a Moodle filter as well creating run-time graphs with ASCIIsvg. An on-line calculator is also included. Just recently an ASCIIMathML export format for DragMath was added to version 0.7.2, available here, so that you have access to both a GUI and text expression syntax for creating and displaying equations. Quick and GIFless. ASciencePad is also available and consists of htmlarea enhanced with the ASCIIMathML functionality.
  • Tim Hunt's Moodle MathTran Module converts Tex into images on the fly. You can also use mathtran_img.js on a page by page basis.
  • The jsMath filter, which does a similar job but using Javascript on the user's computer
  • MathJax_filter, a next generation for jsMath from David Cervone et al that now includes MathML and web font features: [1] A discussion regarding deploying the beta release can be found here: [2]
  • Calculated question type
  • DragMath equation editor, a WYSIWYG equation editor that integrates easily with the Moodle HTML editor.
  • WIRIS, is a suite of math and science tools. www.wiris.com/moodle/
    • MathType, an equation editor that allows you to type or handwritte math expressions. Based on MathML and a Javascript interface.
    • Wiris Quizzes, a set of question types for math and science topics
  • MathML polyfill support (for Chrome) implementation using custom elements [3] (can be added to Moodle via theme custom HTML)

Mathematics teachers may also be interested to follow the work of York University Maths department, who are working on some projects to augment Moodle, particularly its Quiz module for online assessment, for example by integrating a system which is able to mark algebraic and trigonometric answers to open-ended questions.

Accessibility Display Matrix

Note: This section is a work in progress. Please use the page comments for any recommendations/suggestions for improvement. (August 2008)


■ Feature Key appears below the matrix.

Notation Tex/LaTex ASCIIMath MathML WIRIS
Ease of Use Plain text system. Knowledge of LaTeX notation required. Being a plain text system, LaTeX notation is straightforward to create and edit. Plain text system. Easy to learn. Notation simple. Being a plain text system, ASCIIMath is very easy to create and edit. XML-based. Not easy to create and edit: an editor is required. Visual interface for MathML.
Toolbar navigation is accessible.
LateX plain text notation is also available.
Conversion to Braille Output directly to Braille display via screen reader (fn 2) ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details. Converted to suitable textual format and Brailled using screen reader (fn 3) Image alternative text outputs directly to Braille display via screen reader (fn4)
Transmission via TTS Notation spoken "as-is" via screen reader (fn 2) ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details. Converted to suitable textual format and spoken using screen reader. Note that MathPlayer add-on for IE has TTS functionality built-in (fn 3). Image alternative text spoken via screen reader (fn 4)

fn1. MathPlayer claims to do math-to-speech by parsing the MathML, not by parsing TeX. See http://www.dessci.com/en/products/mathplayer/tech/accessibility.htm where it is stated:

All of these examples were written in Microsoft Word and MathType and exported to MathML using MathType’s “MathPage” technology. MathPage technology was added to MathType in version 5.0. No special work is needed to author the expressions to make them accessible. Any product that exports MathML will produce pages that MathPlayer can speak.

For a larger real life example, see this page. Also, MSN Encarta uses MathML on many of their web pages that contain math, so much of their Math should be accessible using MathPlayer.

fn2. The alt attribute of the rendered graphic is spoken and/or Braillled. As LaTeX is a plain text notation, the notation can be spoken and Brailled by the screen reader directly. This does, of course, assume an understanding of LaTeX notation on the part of the screen reader user.

fn3. In the case of Internet Explorer, screen readers require the MathPlayer plugin to be installed before MathML is rendered (IE does not include native MathML support). By using MSAA, the screen reader can obtain a textual version of the math notation from MathPlayer, which it can then TTS and Braille. Note that MathPlayer also contains built-in TTS functionality (employing MS SAPI) which can be used to speak the math notation without having to employ a screen reader. See [4] for further details. At time of writing, screen reader support for Firefox is via MSAA and a special custom, Firefox-specific IAccessible2 interface (to reveal text attributes and character positions). Math notation is spoken via a screen reader which interrogates these interfaces.

fn4. The alt attribute of the rendered image is filled with a textual version of the math notation. Screen readers can read the alternative text without additional plugins.

Using Java for Curriculum

Java Tools for Building Applets for Interactive Demonstration

These tools can be integrated in or used with Moodle Resources

Java Sketchpad

http://www.dynamicgeometry.com/JavaSketchpad/About_JavaSketchpad.html, is an applet developed by Key Curriculum Press. The applet has been the focus of quite a bit of discussion and demonstrations and discussions are widely available. An introductory article from the Journal of Online Mathematics can be found here: http://mathdl.maa.org/mathDL/4/?nodeId=508&pa=content&sa=viewDocument. Usage focuses largely on Geometry

CabriJava

http://www-cabri.imag.fr/cabrijava/, an applet offered by the University of Cabri, also focuses on interactive geometry. Quite a number of examples employing CabriJava can be found here: http://www.mathsnet.net/cabri/index.html.

Descartes

http://descartes.cnice.mec.es/, is an applet developed under the auspices of the Spanish Ministerio de Educacion Politica Social y Diporte. An English introduction can be found here at http://descartes.cnice.mec.es/ingles/index.html. The Ministery has produced an extensive Mathematics curriculum using Descartes, which is available in English and can be freely downloaded and used. Much of what is available is still only in Spanish so anyone interested in doing translation work please post to the Moodle Math Tools forum.

Sympl

http://www.sympl.org/, an open source Java application/applet for creating interactive graphs.

Additional Curricular Use of Applets

Applet Tools

Java Applet Collections

Mathematics Assessment

Assessment is a key driver for mathematics. There are a number of ways of getting students to answer mathematical questions through Moodle.

See also

Using Moodle forum discussions: