The Algorithic (WeBWorK) part is an extremely flexible and powerful tool for writing complex math-based problems. Problems are written using MathObjects to easily express mathematical formulae and validate student answers. Edfinity fully supports the PG and PGML languages used by WeBWork.

Authoring problems is beyond the scope of this article. See Learning How to Author Problems on the WeBWork wiki for more information. The best way to get started is to read and customize existing problems. Additionally, Edfinity offers a number of pre-built templates for common algorithmic questions.

To add an Algorithmic (WeBWorK) part to a problem:

- Go to the problem.
- Select
**Add part**and then selec**t Algorithmic (WeBWorK)**. - Write your problem logic an edit the settings as desired.
- Preview the problem by selecting the
**Preview**tab.

Field |
Description |
---|---|

Source code | PG or PGML source code |

Use equation editor | By default, the graphical equation editor is turned on for WeBWorK problem parts. The editor lets students type in complex equations using a graphical editor. For more information, see Using the graphic equation editor. |