---
title: "Mathematical question"
slug: "mathematical-question-2"
tags: ["admin", "integration", "billing", "SOWISO"]
updated: 2026-05-28T10:24:31Z
published: 2026-05-28T10:24:31Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.cirrusassessment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mathematical question

***Advanced mathematical question type, powered by SOWISO.***

The SOWISO question type for the exact sciences is an open ended item that allows the answers to be in the form of formulas.

The answers can be scored and checked automatically and can be accompanied with targeted feedback.

Moreover, questions can be created with random parameters, that make every question unique. Read more about 'What types of questions Sowiso items can be used for?"

This manual describes the different options for the Sowiso maths question in Cirrus:

### What types of questions can Sowiso items be used for?

Sowiso questions are useful for questions requiring assessment of the answer within one of the domains listed below. Also read our note on some differences between Sowiso questions in Cirrus and Sowiso stand-alone usage.

- (decimal) numbers (using ranges)
- complex numbers
- expressions/formulas using variable(s), constants (e, i, pi) en subscript
- sum en product calculations
- comparisons en inequality / odds
- trigonometric functions
- system of linear equations
- mathematical logic
- algebra: vectors and matrices
- intervals
- Latin and Greek characters
- lists and collections
- limits
- differential and integral calculus

### Enabling Sowiso maths item

To start using the Sowiso Maths Item contact your Cirrus representative for commercial details before we can fully enable this.

When using the SOWISO (Maths) Item in Cirrus note that the decimal delimiter will be a point (.) no matter your environment's or user's Regional Settings.

SOWISO will train you and can help you develop questions. Alternatively you can import your SOWISO questions into Cirrus or buy large sets of pre-developed content, just sent us a mail.

### Important differences between Sowiso questions in Cirrus and Sowiso stand-alone usage

The Sowiso 'maths' question is a unique collaboration with our partners at sowiso. Note that the integration has some limitations because of usage and (technical) setup:

- Sowiso questions are not meant to be used for questions requiring the candidate to draw an answer.
- This question type in Cirrus is based on what Sowiso calls the exercise type 'open':

![image.png](https://cdn.document360.io/cdfc20c8-6721-4154-b0a1-9f49f139d107/Images/Documentation/image%2817%29.png)

- If you are familiar with Sowiso note this and do not use other Sowiso excercise types to import in Cirrus.
- Also Sowiso has elaborate table layout opportunities. Be aware that this does not translate 1:1 to the table editor in Cirrus. When you want to import questions made in Sowiso keep it simple or have your question fully finished before importing them into Cirrus.

### Formative versus summative mathematical questions and their delivery

There is an important difference between sowiso questions that are set to formative instead of summative:

A formative sowiso question like any formative question in Cirrus will only be available when creating an assessment of type 'formative' or 'mixed'. When taking their assessment candidates can (have to) press a 'Check' button. They are allowed to practice the singular (formative) question an unlimited amount of times - thought this will of course lead to less time for the other question in the assessment. Only the last given answer will be stored as the given answer in Cirrus.

### Question tab of your Sowiso maths item

The 'Question' tab allows you to edit different placeholders in an exercise: ![Screenshot 2021-09-03 at 15.39.37.png](https://cdn.document360.io/cdfc20c8-6721-4154-b0a1-9f49f139d107/Images/Documentation/Screenshot%202021-09-03%20at%2015.39.37.png) The following fields/options are available under ‘**Question**’:

1. **Question** is the text the user gets to see during the assessment
2. **Settings** - is where you set the maximum score for this question
3. **Solution** (text) this solution text is shown to the candidate if setup by the author of an assessment to:
  1. Show directly after the exam on detailed results report
  2. On the Candidate's Dashboard > Completed > detailed tab
4. **Pre and post input** are the texts before and after the answer field (for example for x= ... , or for a unit, like …. meters).
5. **Solutions** - The Solutions area is where you define what the correct answer is.
  1. Choose an **'Evaluation type'** for the mathematical area from the dropdown-list. Evaluation types are used to interpret the answer and give appropriate feedback. on evaluation types below, including a list of evalutation types.
  2. Evaluation type in combination with the **Definition** field is used to define the correct answer.
  3. You can add multiple solution rules via‘**'Add solution'** to score multiple answers as correct.  

![Screenshot 2021-09-03 at 16.23.28.png](https://cdn.document360.io/cdfc20c8-6721-4154-b0a1-9f49f139d107/Images/Documentation/Screenshot%202021-09-03%20at%2016.23.28.png)

### Input of formulas in a Sowiso maths question

### 

When you enter the formulas in a sowiso maths question, you need to use the appropriate LaTex and Tex or asciimathml delimiters:

#### LaTex and TeX delimiter:

- inline math opens and closes with #, or opens with ( and closes with ). Use the delimiters [ ] or ## ## for display math with centred alignment on a separate line. If you want inline math to be centred, you can use the html *Align centre* option () of the editor. If you want inline math to be printed as displaymath, you can use the \displaystyle command before the TeX
- e.g. for #\frac{1}{2}=0.5#, use #\frac{1}{2}=0.5#

#### asciimathml delimiter:

- open and close with @. e.g. *@1/2=0.5@*
- For more information on asciimathml, see: [http://www1.chapman.edu/~jipsen/asciimath.html](http://www1.chapman.edu/~jipsen/asciimath.html)  

[http://www1.chapman.edu/~jipsen/mathml/asciimathsyntax.html](http://www1.chapman.edu/~jipsen/mathml/asciimathsyntax.html)

## Variables tab

In the Variables tab you can define variables that can be use to randomise your question content.

To create a new variable go to the Variables tab and click the Add variable button. Variables are named alphabetically and a new variable will be created with the name next in line of the alphabet. i.e. when variables $a, and $b already exist variable $c will be created.

Variables have an id and four fields to maintain:

1. id: is a letter from the alphabet. Whenever you want to reference this variable, use the id of the variable with a *$* as a prefix: e.g. reference variable a as *$a*. After *$v*, the variable list continues with *wa*, *wb*, etc. The maximum number of variables per exercise is 126.
2. definition:: here you define the value of the variable by using valid **php syntax**. You can use php (math) functions, as described here:

- e.g. to create a random variable between 1 and 10, use the function *rand(1,10)*.
- Existing variables can be used in the definition. e.g. if variable
- *$a = rand(1,10)*, then $b can be
- *$b = rand($a,10).*
- Extra functions created by SOWISO are available via the prefix *sw_*. A list of extra functions can be found at the end of this document.

1. decimals: In case the result of the variable is a float, this field sets the number of decimals. Note that when a variable is used in another variable, the variable is not rounded. Only when the variable is used outside other variables (in texts and definition fields of rules) it will be rounded. e.g.  

*$a = 1/7 with 2 decimals, so 0.14*  

*$b = 7*$a = 1.00 with 2 decimals*
2. If you want an **explicit rounding**, use the php [round($value, $precision, $roundmode)](http://php.net/round) function.
3. **trailing zeros checkbox**: when checked and the number of decimals is larger than 0, trailing zeros are removed from the end of any float value. e.g. *1.200 => 1.2*

## Feedback rules tabs

When answers are evaluated, the answers goes through the following flow: ![image.png](https://cdn.document360.io/cdfc20c8-6721-4154-b0a1-9f49f139d107/Images/Documentation/image%2818%29.png)

1. The user inserts a formula using the keyboard and optionally, also the virtual keyboard. When the answer contains a syntax error, this is immediately show on screen.
2. a. based on the selected  evaluation type, sometimes feedback can be given for an incorrect form. For example. for some evaluation types it is always necessary to get the answer in the form of an equation.  

If this is not the case, default feedback will be given.  

b. the solution rules are checked for mathematical equivalence.
3. If a positive feedback rule is hit, the corresponding feedback is presented and the user is not ´finished´ with the exercise in a formative assessment, or in a summative assessment he will only get a partial score (or 0).
4. If a negative feedback rule is hit, the corresponding feedback is presented and the user is not ´finished´ with the exercise, or in a summative assessment he will get a score of 0.
5. Finally, if the answer is correct according to the solution(s) and no positive feedback rules are hit, the answer is marked correct, the student is ´finished´ with the exercise and can progress, or receives the full score in a summative assessment.

### Evaluation types

Feedback rules are used to interpret the answer and give appropriate feedback. You can maintain the following fields to define a feedback rule:

- **Definition:** this is an input field, where the required input depends on the chosen evaluation type. See the table below. A feedback rule can be skipped during the evaluation by letting the definition begin with the keyword ignore. This can be useful when you need to apply a rule based on your variables.
- **Feedback Category**: this is the Feedback Category the rule belongs to. It is used in reporting, but you can also use it to inject predefined feedback texts, see Custom feedback text underneath.
- **Priority**: is some cases, multiple rules can apply to an answer, but only one rule per time can be hit. In those cases, you can set the priority to determine what rule has precedence: the lower the number in the Priority field, the higher the priority.
- **Answer field:** in case you have more than 1 answer field in the exercise, you can choose the field to apply the rule to here.
- **Evaluation type**: See the table below.
- **Opposite evaluation**: This negates the working of the rule. For instance, if you select evaluation type "is not a number", the rule is hot when the answer is not a number. However, when you select "Opposite evaluation", the rule is hit when the answer is a number.
- **Test usage**: Select this option to apply this rule when the exercise is used in tests. When selected, you can choose a desired partial score when the answer hits this rule.

## Evaluation types

For mathematical answers the evaluation types are listed in the table underneath. In case of relations like equations or inequalities, you can specify a rule to only apply to a side of the relations using *rhs:* for right hand side or *lhs:* for left hand side, before the definition. e.g. contains_var with Definition *rhs:x *checks for the variable x in only the right hand side.

| name | description | automated feedback |
| --- | --- | --- |
| contains_brackets | Checks whether the user input contains brackets. Note that brackets for function arguments like `ln()` also count as brackets. With no arguments at least one occurrence triggers the rule. With one argument, the argument defines the number of bracket pairs that occur, optionally specified by one of `le, lt, ge, gt, ne, eq, &lt;=, &gt;=, &lt;&gt;, ==, !=, &lt;, &gt;, =` | ** |
| contains_float | Checks whether the user input contains floats. With no arguments at least one occurrence triggers the rule. With one argument, the argument defines the number of occurrences, optionally specified by one of `le, lt, ge, gt, ne, eq, &lt;=, &gt;=, &lt;&gt;, ==, !=, &lt;, &gt;, =` | ** |
| contains_integer | Checks whether the user input contains integers. With no arguments at least one occurrence triggers the rule. With one argument, the argument defines the number of occurrences, optionally specified by one of `le, lt, ge, gt, ne, eq, &lt;=, &gt;=, &lt;&gt;, ==, !=, &lt;, &gt;, =` | ** |
| contains_number | Checks whether the number in the Definition field is present in the user input. Works for both positive and negative floats and integers. Without argument (Definition field is empty), at least one occurrence of a number in the answer triggers the rule. With two arguments (; separated) , the second argument defines the number of occurrences. e.g. 2;2 optionally specified by one of `le, lt, ge, gt, ne, eq, &lt;=, &gt;=, &lt;&gt;, ==, !=, &lt;, &gt;, =`. eg. `2; le 2` | ** |
| contains_one_base_power | Answer contains exactly one power at the base. | ** |
| contains_symbol | Checks whether the user input contains the symbol from the Definition field. With one argument, at least one occurrence triggers the rule. e.g. `minus` With two arguments (; separated) , the second argument defines the number of occurrences. e.g. `minus;2`, optionally specified by one of `le, lt, ge, gt, ne, eq, &lt;=, &gt;=, &lt;&gt;, ==, !=, &lt;, &gt;, =`. eg. `minus; le 2`. With a list in the Definition field like `[arg1,arg2]`, each element will be treated as an argument like above, where the arguments will be treated as an OR. i.e. `[cos;lt2,sin;lt2]` is whether either sin or cos occur less than two times. Alternatively, the occurrence can be placed after the list, like so `[arg1,arg2];lt2`. e.g. `[sin,cos];lt2` checks whether sin or cos together occur less than two times. The symbol is one of operators: `abs, divide, minus, plus, power, root, times, unary_minus, factorial` relations: `approx, eq, geq, gt, leq, lt, neq` trigonometry: `arccos, arcsec, arcsin, arctan, cos, cot, sec, sin, tan` logarithms: `ln, log` numbers: `e, i, infinity, pi` linear algebra: `matrix,vector` logic: `and, equivalent, false, implies, not, or, true, xor` sets: `N, Q, R, Z, cartesian_product, in, intersect, notin, notsubset, set, setdiff, size, subset, union, emptyset, suchthat, list` limits: `limit, null, lambda` permutations: `permutation, cycle` units: `degree` You kind find the symbols in a student answer using the [editor](/author/editor). | ** |
| contains_symbol_other_than | The user answer does not contain any other symbol than the one in the list in the Definition field, separated by ;, e.g. `plus;minus` means that only the symbols plus or minus may be present in the user`s answer. The symbol is one the list as specified in the contains_symbol evaluation type. | ** |
| contains_symbol_within | Checks if the second operator in the definition field is present in the first operator of the answer. i.e. `times,plus` checks whether there is a multiplication that has a plus as a descendant. The second argument can be a list, where multiple symbols can be searched with an OR. The third argument optionally specifies the position of the child. i.e. `times,[plus,minus]` checks whether there is a multiplication that has a plus or a minus as a descendant. `divide,[plus,minus],2` checks whether the denominator of a fraction is a plus or minus or has one in it. | ** |
| contains_variable | Checks whether the user input contains the variable from the Definition field. Without argument (Definition field is empty), at least one occurrence of a variable in the answer triggers the rule. With one argument, at least one occurrence triggers the rule. e.g. `x` With two arguments (; separated) , the second argument defines the number of occurrences. e.g. `x;2`, optionally specified by one of `le, lt, ge, gt, ne, eq, &lt;=, &gt;=, &lt;&gt;, ==, !=, &lt;, &gt;, =`. eg. `x;gt 2` With a list in the Definition field like `[arg1,arg2]`, each element will be treated as an argument like above, where the arguments will be treated as an OR. i.e. `[x;lt2,y;lt2]` is whether either x or y occur less than two times. Alternatively, the occurrence can be placed after the list, like so `[arg1,arg2];lt2`. e.g. `[x,y];lt2` checks whether x or y together occur less than two times. | ** |
| contains_variable_in_symbol | Checks if the variable in the definition field is present in the first operator/symbol of the answer. i.e `times,x` checks whether there is a multiplication that has a variable x as a descendant. The second argument can be a list, where multiple symbols can be searched with an OR. The third argument optionally specifies the position of the child. i.e. `times,[x,y]` checks whether there is a multiplication that has a variable x or a variable y as a descendant. `divide,[x,y],2` checks whether the denominator of a fraction has a variable x or a variable y in it. | ** |
| contains_variable_other_than | The user answer does not contain any other variable than the one in the list in the Definition field, separated by ;, e.g. `x;y` means that only the variables x or y may be present in the user answer. | ** |
| default_incorrect | Always reacts on wrong answers and has a predefined priority of 99. | ** |
| eq_one_side | One side of the equation must be equal to the variable in the Definition. e.g. `x` means the the answer must be either something like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-682" style="width: 3.401em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 2.824em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1002.76em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-683" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-684" data-tomark-pass=""><span class="mrow" id="MathJax-Span-685" data-tomark-pass=""><span class="mi" id="MathJax-Span-686" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span><span class="mo" id="MathJax-Span-687" style="font-family: MathJax_Main; padding-left: 0.26em;" data-tomark-pass="">=</span><span class="mo" id="MathJax-Span-688" style="font-family: MathJax_Main;" data-tomark-pass="">.</span><span class="mo" id="MathJax-Span-689" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">.</span><span class="mo" id="MathJax-Span-690" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">.</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mi data-tomark-pass="">x</mi><mo data-tomark-pass="">=</mo><mo data-tomark-pass="">.</mo><mo data-tomark-pass="">.</mo><mo data-tomark-pass="">.</mo></mstyle></math> or <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-691" style="width: 3.657em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 3.016em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1002.95em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-692" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-693" data-tomark-pass=""><span class="mrow" id="MathJax-Span-694" data-tomark-pass=""><span class="mo" id="MathJax-Span-695" style="font-family: MathJax_Main;" data-tomark-pass="">.</span><span class="mo" id="MathJax-Span-696" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">.</span><span class="mo" id="MathJax-Span-697" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">.</span><span class="mo" id="MathJax-Span-698" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">=</span><span class="mi" id="MathJax-Span-699" style="font-family: MathJax_Math-italic; padding-left: 0.26em;" data-tomark-pass="">x</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mo data-tomark-pass="">.</mo><mo data-tomark-pass="">.</mo><mo data-tomark-pass="">.</mo><mo data-tomark-pass="">=</mo><mi data-tomark-pass="">x</mi></mstyle></math> | ** |
| eval_domain | Checks whether the user input is equal to the domain in Definition field where both should be in the form of a simplified equation in the disjunctive normal form with only one variable, e.g. `x=3 or x=-3`. | ** |
| eval_eq_exact | Check whether solutions indicated in the Definition field are solutions to the equation in the user input, using substitution. Define a list of equations in the Definition field that should be substituted in the equation the user input. | ** |
| eval_eq_numeric | Numerical check whether solutions indicated in the Definition field are solutions to the equation in the user input. The Precision field indicates the accepted margin of error. Define a list of variables in the Definition field that should be substituted in the equation the student answers. e.g. `[x=3,y=4]` when correct answer: <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-700" style="width: 6.029em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 5.003em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.221em, 1004.94em, 2.696em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-701" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-702" data-tomark-pass=""><span class="mrow" id="MathJax-Span-703" data-tomark-pass=""><span class="msubsup" id="MathJax-Span-704" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.029em; height: 0px;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1000.52em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mi" id="MathJax-Span-705" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; top: -2.689em; left: 0.58em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-706" style="font-size: 70.7%; font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-707" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">+</span><span class="mi" id="MathJax-Span-708" style="font-family: MathJax_Math-italic; padding-left: 0.196em;" data-tomark-pass="">y<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.003em;" data-tomark-pass=""></span></span><span class="mo" id="MathJax-Span-709" style="font-family: MathJax_Main; padding-left: 0.26em;" data-tomark-pass="">=</span><span class="mn" id="MathJax-Span-710" style="font-family: MathJax_Main; padding-left: 0.26em;" data-tomark-pass="">13</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 1.465em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><msup data-tomark-pass=""><mi data-tomark-pass="">x</mi><mn data-tomark-pass="">2</mn></msup><mo data-tomark-pass="">+</mo><mi data-tomark-pass="">y</mi><mo data-tomark-pass="">=</mo><mn data-tomark-pass="">13</mn></mstyle></math>. | ** |
| eval_exact | Exact mathematical comparison of expression in the Definition field with user input. No simplification rules are applied to the student answer. | ** |
| eval_graphs | **Lines:** Checks whether each pair of points from the user input is on a line defined in the Definition field and whether each line in the Definition fields has two points in the user input. e.g. `x=y+1` **Points**: Checks whether each point from the user input is defined once in the Definition field. e.g. `[2,1]` **Vector**: Checks whether the start and end point of the vector from the user input is defined in the Definition field via a 2x2 matrix. Define the vector via a matrix e.g. `matrix([0,0],[2,1])` | ** |
| eval_interval | Checks whether the interval provided by the student is equal to that in the Definition field, where the Definition is specified as a 1st or 2nd degree (in)equality. The variable you use is free, as long you do not use more than one. e.g. `x^2+3*x &gt;= 0` for <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-711" style="width: 9.49em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 7.888em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.349em, 1007.76em, 2.76em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-712" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-713" data-tomark-pass=""><span class="mrow" id="MathJax-Span-714" data-tomark-pass=""><span class="mrow interval_co" id="MathJax-Span-715" data-tomark-pass=""><span class="mo" id="MathJax-Span-716" style="font-family: MathJax_Main;" data-tomark-pass="">[</span><span class="mn" id="MathJax-Span-717" style="font-family: MathJax_Main;" data-tomark-pass="">0</span><span class="mo" id="MathJax-Span-718" style="font-family: MathJax_Main;" data-tomark-pass="">,</span><span class="mi" id="MathJax-Span-719" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">&#x221E;</span><span class="mo" id="MathJax-Span-720" style="font-family: MathJax_Main;" data-tomark-pass="">)</span></span><span class="mo" id="MathJax-Span-721" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">&#x222A;</span><span class="mrow interval_oc" id="MathJax-Span-722" style="padding-left: 0.196em;" data-tomark-pass=""><span class="mo" id="MathJax-Span-723" style="font-family: MathJax_Main;" data-tomark-pass="">(</span><span class="mo" id="MathJax-Span-724" style="font-family: MathJax_Main;" data-tomark-pass="">&#x2212;</span><span class="mi" id="MathJax-Span-725" style="font-family: MathJax_Main;" data-tomark-pass="">&#x221E;</span><span class="mo" id="MathJax-Span-726" style="font-family: MathJax_Main;" data-tomark-pass="">,</span><span class="mo" id="MathJax-Span-727" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">&#x2212;</span><span class="mn" id="MathJax-Span-728" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span class="mo" id="MathJax-Span-729" style="font-family: MathJax_Main;" data-tomark-pass="">]</span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.381em; border-left: 0px solid; width: 0px; height: 1.388em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="interval_co" data-tomark-pass=""><mo data-tomark-pass="">[</mo><mn data-tomark-pass="">0</mn><mo data-tomark-pass="">,</mo><mi mathvariant="normal" data-tomark-pass="">&#x221E;</mi><mo data-tomark-pass="">)</mo></mrow><mo data-tomark-pass="">&#x222A;</mo><mrow class="interval_oc" data-tomark-pass=""><mo data-tomark-pass="">(</mo><mo data-tomark-pass="">&#x2212;</mo><mi mathvariant="normal" data-tomark-pass="">&#x221E;</mi><mo data-tomark-pass="">,</mo><mo data-tomark-pass="">&#x2212;</mo><mn data-tomark-pass="">3</mn><mo data-tomark-pass="">]</mo></mrow></mstyle></math> Note that automatic feedback is given for answers that have <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-730" style="width: 2.503em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 2.054em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.349em, 1001.99em, 2.76em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-731" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-732" data-tomark-pass=""><span class="mrow" id="MathJax-Span-733" data-tomark-pass=""><span class="mo" id="MathJax-Span-734" style="font-family: MathJax_Main;" data-tomark-pass="">[</span><span class="mo" id="MathJax-Span-735" style="font-family: MathJax_Main;" data-tomark-pass="">&#x2212;</span><span class="mi" id="MathJax-Span-736" style="font-family: MathJax_Main;" data-tomark-pass="">&#x221E;</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.381em; border-left: 0px solid; width: 0px; height: 1.388em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mo stretchy="false" data-tomark-pass="">[</mo><mo data-tomark-pass="">&#x2212;</mo><mi mathvariant="normal" data-tomark-pass="">&#x221E;</mi></mstyle></math> or <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-737" style="width: 1.542em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.285em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.349em, 1001.16em, 2.76em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-738" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-739" data-tomark-pass=""><span class="mrow" id="MathJax-Span-740" data-tomark-pass=""><span class="mi" id="MathJax-Span-741" style="font-family: MathJax_Main;" data-tomark-pass="">&#x221E;</span><span class="mo" id="MathJax-Span-742" style="font-family: MathJax_Main;" data-tomark-pass="">]</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.381em; border-left: 0px solid; width: 0px; height: 1.388em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">&#x221E;</mi><mo stretchy="false" data-tomark-pass="">]</mo></mstyle></math>. | ** |
| eval_lin_eqs | Evaluate a system of linear equations. As a Definition, write the maxima equations in disjunctive normal form, and after that write a ";" with a list of variables in "[]" and separated with a comma ",". e.g. `(2*x=2) and (3*y=2) and (2*z=5) ; [x,y,z]` Optionally, use a third argument and set it to `1` to escape the mandatory final form of the answer. | ** |
| eval_list | Checks if the answer is a list and if each expression is equal to the expression at the same index in the list of the Definition field, using eval normal. The list in the Definition field should be comma "," separated. e.g. [2,3,1]. Note that this evaluation types automatically checks for the right input form (list or vector) and the length of the list and gives appropriate feedback accordingly. | ** |
| eval_logic_equiv | Comparison of logical form in the Definition field with normal form of user input. | ** |
| eval_matrix | Check if the matrix from the Definition field is equal to the answer. Can be used with fb_matrix for feedback. It accepts input of matrix or a list of lists. e.g. `matrix([1,2,3],[4,5,6])` or `[[1,2,3],[4,5,6]]` | ** |
| eval_matrix_element | Numerically compares the [row,column] entry of the matrix from the user input [row,col]=...with the number represented by the expression in the Definition field. E.g. `[1,1]=2` means that the value 2 must be equal to the matrix element on dimension [1,1] | ** |
| eval_normal | Exact mathematical comparison of normal form of expression in the Definition field with normal form of user input. e.g. `x^2`. | ** |
| eval_numeric | Numeric comparison of expression in the Definition field with user input, e.g. `2*3`. The **Precision** field defines the accepted absolute value of the margin of error for numerical answers, e.g. if the correct answer is 1, you can use 0.1 to accept all answers between 0.9 and 1.1. If any of the **Range** fields are used (not 0 or empty), the system checks whether the answer is within the range. | ** |
| eval_openmath | Comparison between the OpenMath xml object in the Definition field and the result object of the student input in the formula editor. To create a solution, get the Transformed OpenMath from the [editor here](/author/editor). | ** |
| eval_param_rep | Evaluate a parameter representation of the solution set of a list of linear equations. In the Definition field, use 2 arguments (separated with a ;), where the first is the list of linear equations [eq1,eq2,...] and the second is a list of the coordinates [x,y,...]. Optionally, you can add a third argument to prescribe the parameters that may be used, like [lambda,mu]. e.g. `[z-y+2*x-1=0,3*z+11*y-4*u+9=0];[x,y,z,u]` or with a third argument `[z-y+2*x-1=0,3*z+11*y-4*u+9=0];[x,y,z,u];[lambda,mu]` | ** |
| eval_polynomial | Automated polynomial checker that can be used together with fb_polynomial. In the Definition field a (multivariate) polynomial is entered to specify the correct answer. Then you can create just one positive and one negative feedback rule in with evaluation type fb_polynomial that will provide automated feedback. Feedback works for `basic`, `free` (any polynomial), `expanded` and `factored` form. See `fb_polynomial` for more information about these form types. | ** |
| eval_rational_function | Automated checker for rational functions that can be used together with `fb_rational_function`. In the Definition field a rational function is entered to specify the correct answer, e.g. `(x^2+1)/(x+6)`. Then you can create just one positive and one negative feedback rule in with evaluation type `fb_rational_function` that will provide automated feedback. Feedback works for `basic`, `combined` , `split` and `quotient` form. See [fb_rational_function](/docs/mathematical-question-2#fb_rational_function) for more information about these form types. | ** |
| eval_statement | Evaluate the maxima statement in the Definition field, where the user input can be referenced using `answer` for the answer that belongs to the rule, or `answers` for alist of the answers in all answer fields like `[1,2,3]`. In case an answer value is empty, the answer value to maxima gets replaced with `%null` in the answers list. A simple example of the usage of `answer` is e.g. `elementp(answer,{sin(1),sin(2),sin(3)})`. Or you can write your own maxma block function. For instance, you can differentiate the answer to check if it is a valid integral by automatically differentiation away the constants. e.g. for the integral of <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-743" style="width: 3.08em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 2.567em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.349em, 1002.5em, 2.76em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-744" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-745" data-tomark-pass=""><span class="mrow" id="MathJax-Span-746" data-tomark-pass=""><span class="mi" id="MathJax-Span-747" style="font-family: MathJax_Main;" data-tomark-pass="">sin</span><span class="mo" id="MathJax-Span-748" data-tomark-pass=""></span><span class="mo" id="MathJax-Span-749" style="font-family: MathJax_Main;" data-tomark-pass="">(</span><span class="mi" id="MathJax-Span-750" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span><span class="mo" id="MathJax-Span-751" style="font-family: MathJax_Main;" data-tomark-pass="">)</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.381em; border-left: 0px solid; width: 0px; height: 1.388em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mi data-tomark-pass="">sin</mi><mo data-tomark-pass="">&#x2061;</mo><mo stretchy="false" data-tomark-pass="">(</mo><mi data-tomark-pass="">x</mi><mo stretchy="false" data-tomark-pass="">)</mo></mstyle></math> you could use ``` block(adiff:diff(answer,x),is(radcan(adiff-(sin(x)))=0)) ``` to allow for all answer that are correct after differentiating them, like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-752" style="width: 6.349em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 5.26em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.349em, 1005.26em, 2.76em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-753" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-754" data-tomark-pass=""><span class="mrow" id="MathJax-Span-755" data-tomark-pass=""><span class="mo" id="MathJax-Span-756" style="font-family: MathJax_Main;" data-tomark-pass="">&#x2212;</span><span class="mi" id="MathJax-Span-757" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">cos</span><span class="mo" id="MathJax-Span-758" data-tomark-pass=""></span><span class="mo" id="MathJax-Span-759" style="font-family: MathJax_Main;" data-tomark-pass="">(</span><span class="mi" id="MathJax-Span-760" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span><span class="mo" id="MathJax-Span-761" style="font-family: MathJax_Main;" data-tomark-pass="">)</span><span class="mo" id="MathJax-Span-762" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">+</span><span class="mi" id="MathJax-Span-763" style="font-family: MathJax_Math-italic; padding-left: 0.196em;" data-tomark-pass="">c</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.381em; border-left: 0px solid; width: 0px; height: 1.388em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mo data-tomark-pass="">&#x2212;</mo><mi data-tomark-pass="">cos</mi><mo data-tomark-pass="">&#x2061;</mo><mo stretchy="false" data-tomark-pass="">(</mo><mi data-tomark-pass="">x</mi><mo stretchy="false" data-tomark-pass="">)</mo><mo data-tomark-pass="">+</mo><mi data-tomark-pass="">c</mi></mstyle></math>, but also <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-764" style="width: 6.798em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 5.644em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.349em, 1005.64em, 2.76em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-765" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-766" data-tomark-pass=""><span class="mrow" id="MathJax-Span-767" data-tomark-pass=""><span class="mo" id="MathJax-Span-768" style="font-family: MathJax_Main;" data-tomark-pass="">&#x2212;</span><span class="mi" id="MathJax-Span-769" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">cos</span><span class="mo" id="MathJax-Span-770" data-tomark-pass=""></span><span class="mo" id="MathJax-Span-771" style="font-family: MathJax_Main;" data-tomark-pass="">(</span><span class="mi" id="MathJax-Span-772" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span><span class="mo" id="MathJax-Span-773" style="font-family: MathJax_Main;" data-tomark-pass="">)</span><span class="mo" id="MathJax-Span-774" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">+</span><span class="mi" id="MathJax-Span-775" style="font-family: MathJax_Math-italic; padding-left: 0.196em;" data-tomark-pass="">C<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.067em;" data-tomark-pass=""></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.381em; border-left: 0px solid; width: 0px; height: 1.388em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mo data-tomark-pass="">&#x2212;</mo><mi data-tomark-pass="">cos</mi><mo data-tomark-pass="">&#x2061;</mo><mo stretchy="false" data-tomark-pass="">(</mo><mi data-tomark-pass="">x</mi><mo stretchy="false" data-tomark-pass="">)</mo><mo data-tomark-pass="">+</mo><mi data-tomark-pass="">C</mi></mstyle></math> Normally the answer field specifies the answer. For input graphs all answers are checked against the statement and the answer form is **Lines:** `[[x_1,y_1],[x_2,y_2]]` **Points**: `[x,y]` **Vector**: `[[x_1,y_1],[x_2,y_2]]` | ** |
| eval_units | Converts the answer to base units and the compares the value and unit. For units support, maxima's ezunits package is used. In the **Definition** field you can specify the solution with a backtick ``` between the value and the unit, like `1`g`. The **Precision** field defines the accepted absolute value of the margin of error in terms of the base unit specified in the Definition field, e.g. **Definition** `10`g` with Precision `0.1` accepts all answers between and including 9.9 and 10.1 grams. If any of the **Range** fields are used (not 0 or empty), the system checks whether the answer is within the range. e.g. **Low** `0.9`m` and **High** `1.2`m` accepts all answers between 0.9 and 1.2 meter. For supported units and their notation, have a look at the [Units table](/docs/mathematical-question-2#units). |
| eval_vector_rep | Checks whether the vector representation of the user input corresponds to the line defined by the linear equation in x and y in the Definition field. e.g. `y+3*x=1` | ** |
| eval_vector_lin | Checks whether the two dimensional vector of the user input and the two dimensional vector in the Definition field are linearly dependant. e.g. `[2,1]` | ** |
| fb_generic | Provides automatic negative feedback on the student answer. The student answer will be compared with the expression in the Definition field of this feedback rule. This feedback type is particularly good at pointing out minor mistakes in the student answer. Use the Precision field to indicate a minimum percentage of similarity between the Defintion and the answer at which the feedback kicks in (0 is the default). | ** |
| fb_lin_eqs | Use only with a solution rule that uses evaluation type eval_lin_eqs to give feedback the following specified cases. Use one of the following in the Definition field. - `1` or `nonlinear`: the answer contains a nonlinear equation - `2` or `toobig`: each solution of the original system of equations occurs in the answer, but at least one solution of the answer is not a solution of the original system - `3` or `toosmall`: each solution of the answer is correct, but at least one solution of the original system does not appear in the answer - `4` or `incomparable`: the answer is incomparable - `5` or `strangevar`: the answer contains a variable that is not an unknown - `6` or `noequation`: at least one of the expressions separated by the logic symbols is not an equation - `7` or `andornestingtoodeep`: the nesting of the logic symbols is too complicated. We only accept answers in which the or symbol never appears in an expression that consists of two or more parts separated by an and symbol | ** |
| fb_matrix | Use only with a solution rule that uses evaluation type eval_matrix to give feedback the following specified cases. Use one of the following in the Definition field. - `2` or `wrong_length`: answer does not have the same dimensions as the matrix in the Definition field of the solution - `3` or `wrong_matrix`: answer does have the right dimensions but is wrong - `4` or `no_matrix`: The answer does not evaluate to a matrix. | ** |
| fb_param_rep | Use only with a solution rule that uses evaluation type eval_param_rep to give feedback the following specified cases. Use one of the following in the Definition field. - `2` or `no_vector`: answer is not a vector - `3` or `wrong_length`: answer does not have the right length - `4` or `wrong_basevec`: the base vector of the answer is not a solution of the equations - `5` or `too_few_params`: answer does not have enough parameters - `6` or `too_many_params`: answer has too many parameters - `7` or `wrong_params`: the parameters in the answer are not as required - `8` or `non_linear`: answer is non-linear on one of the parameters - `9` or `wrong_vector`: answer has at least one vector that is not a solution of the equations - `10` or `lin_dep`: the direction vectors in the answer are linearly dependent | ** |
| fb_polynomial | Provides automated feedback coming from eval polynomial in the solution. The value in the Definition specifies what type of polynomial form is desired. The value in the Definition van be `free`: Polynomial in free form. Performs no form checks. `basic`: Polynomial in basic form. Positive/Negative feedback checks are the same: - Invalid variables - Missing variables - Invalid operations - Non-constant exponents - Dividing by non-constants - Non-integer exponents - Negative exponents `expanded`: Polynomial in expanded form. Positive feedback checks: - All basic checks - Check for non-atoms under exponents, i.e. (x *y)^3* - *Check for multiplication by non-constant non-atoms, i.e. (x + 1)* 2 - Check for variables appearing twice in multiplication, i.e. x^2 *y* x^3 - Check for monomials appearing multiple times, i.e. x + x + x Negative feedback checks: - All basic checks - Check if degrees match - Check if there are superfluous monomials - Check if there are monomials missing - Check for wrong coefficients `factored_basic`: Polynomial in factored form. Postive feedback checks: - All basic checks - Check if polynomial is factorized more then the authors answer. - Performs positive feedback checks for expanded polynomial against each factor. Negative feedback checks: - All basic checks - Check if all factors divide the authors answer. - Check if there are factors missing. - Check if the constant is right. `factored_basic_count`: Sames as `factored_basic`, but with an extra positive feedback check if the number of factors are correct. `factored_expanded`: Polynomial in factored form. Postive feedback checks: - All basic checks - Check if polynomial is factorized more then the authors answer. Negative feedback checks: - All basic checks - Check if all factors divide the authors answer. - Check if there are factors missing. - Check if the constant is right. `factored_expanded_count`: Sames as `factored_expanded`, but with an extra positive feedback check if the number of factors are correct. | ** |
| fb_rational_function | Use only with a solution rule that uses evaluation type [eval rational function](/docs/mathematical-question-2#eval_rational_function) to give feedback on the following specified cases. Use one of the following in the Definition field: - `basic`: Answer should be constructed using standard operations [+, -, *, /] and raising to integral exponents - `combined`: Answer should be given as P / Q with P, Q coprime polynomials. - `split`: Answer should be given as a sum P + sum P_{ij} / Q_i^j, with the Q_i irreducible and deg(P_{ij}) <= deg(Q_i). - `quotient`: Answer is p/q with p and q polynomials. Not necessarily coprime. | ** |
| fb_solve_in(eq) <small data-tomark-pass="">previously called domain_dependence</small> | Use only with a solution rule that uses evaluation type solve_inequality or solve_equality to give feedback on how the domain of the answer compares to the domain of the solution. Use one of the following in the Definition field. - `0` or `none`: the answer domain is neither in nor around the solution domain - `2` or `inside`: The answer is in the solution domain, but it does not contain it; it is too small. - `3` or `contains`: The answer contains the solution domain, but is not contained in it; it is too big. | ** |
| fraction_denominator | Checks whether the user input contains a fraction with another denominator as defined in the Definition field. e.g. `4` | ** |
| fraction_diff_denominators | When the user input has more than one fraction, it checks whether all fractions have the same denominator. | ** |
| fraction_is_improper | Checks whether the absolute value of all fractions in user input is greater than or equal to one | ** |
| fraction_lcm_not_used | Checks for each fraction in user input if the denominators are not equal to or greater than the number in the Definition field. | ** |
| fraction_not_simplified | Checks whether all fractions in the user input are simplified. In the Definition field you can use the same values as for is_not_simplified_fraction to control what type of fractions are considered simplified. | ** |
| is_decimal_length | Checks whether the user input is a float with the same number of decimals as specified in the Definition field, optionally specified by one of le, lt, ge, gt, ne, eq, <=, >=, <>, ==, !=, <, >, = E.g. gt2 checks whether the answer contains a float with more than two decimals. | ** |
| is_length | Checks whether the user input is a float or integer with the same length as specified in the Definition field, optionally specified by one of le, lt, ge, gt, ne, eq, <=, >=, <>, ==, !=, <, >, =. eg. gt 2 | ** |
| is_not_factorized | Comparison of the factors in the Definition with the factors of the answer. e.g. Definition `(x-3)*(x+2)` can be used when it is asked to factorize <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-776" style="width: 5.324em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 4.426em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.221em, 1004.36em, 2.567em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-777" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-778" data-tomark-pass=""><span class="mrow" id="MathJax-Span-779" data-tomark-pass=""><span class="msubsup" id="MathJax-Span-780" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.029em; height: 0px;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1000.52em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mi" id="MathJax-Span-781" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; top: -2.689em; left: 0.58em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-782" style="font-size: 70.7%; font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-783" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">&#x2212;</span><span class="mi" id="MathJax-Span-784" style="font-family: MathJax_Math-italic; padding-left: 0.196em;" data-tomark-pass="">x</span><span class="mo" id="MathJax-Span-785" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">&#x2212;</span><span class="mn" id="MathJax-Span-786" style="font-family: MathJax_Main; padding-left: 0.196em;" data-tomark-pass="">6</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.15em; border-left: 0px solid; width: 0px; height: 1.312em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><msup data-tomark-pass=""><mi data-tomark-pass="">x</mi><mn data-tomark-pass="">2</mn></msup><mo data-tomark-pass="">&#x2212;</mo><mi data-tomark-pass="">x</mi><mo data-tomark-pass="">&#x2212;</mo><mn data-tomark-pass="">6</mn></mstyle></math> | ** |
| is_not_float | Check whether the user input is not a float. | ** |
| is_not_fraction | Check whether the user input is not a fraction. | ** |
| is_not_ifactorized | Checks if the answer is decomposed into prime factors. No Definition is needed. | ** |
| is_not_integer | Checks whether the user input is not an integer. | ** |
| is_not_number | Checks whether the user input is not an integer and not a float. | ** |
| is_not_polynomial | Checks if the answer is a polynomial in the variables in the list from the Definition field. With two arguments, the second is a test for the grade. e.g. `x;le6` checks if the answer is a polynomial in x of degree at most 6. | ** |
| is_not_rational | Check whether the user input is either an integer or a fraction with the denominator unequal to zero. | ** |
| is_not_simplified_fraction | Checks whether the user input is a simplified fraction. Also works for equations, where it checks whether at least one side is a simplified fraction. With Definition set to - `1` the final form must be a proper fraction or integer like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-787" style="width: 1.734em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.413em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1001.41em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-788" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-789" data-tomark-pass=""><span class="mrow" id="MathJax-Span-790" data-tomark-pass=""><span class="mn" id="MathJax-Span-791" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mfrac" id="MathJax-Span-792" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-793" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-794" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">1</mn><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math>, <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-795" style="width: 0.644em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.516em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-796" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-797" data-tomark-pass=""><span class="mrow" id="MathJax-Span-798" data-tomark-pass=""><span class="mn" id="MathJax-Span-799" style="font-family: MathJax_Main;" data-tomark-pass="">1</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">1</mn></mstyle></math> or <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-800" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-801" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-802" data-tomark-pass=""><span class="mrow" id="MathJax-Span-803" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-804" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-805" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-806" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> but not <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-807" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-808" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-809" data-tomark-pass=""><span class="mrow" id="MathJax-Span-810" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-811" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-812" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-813" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">3</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> or <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-814" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-815" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-816" data-tomark-pass=""><span class="mrow" id="MathJax-Span-817" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-818" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.52em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-819" style="font-family: MathJax_Main;" data-tomark-pass="">4</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-820" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">4</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math>. The minus must be in front of the fraction. - `2` allows for both proper and improper fractions and integers like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-821" style="width: 1.734em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.413em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1001.41em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-822" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-823" data-tomark-pass=""><span class="mrow" id="MathJax-Span-824" data-tomark-pass=""><span class="mn" id="MathJax-Span-825" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mfrac" id="MathJax-Span-826" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-827" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-828" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">1</mn><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> and <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-829" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-830" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-831" data-tomark-pass=""><span class="mrow" id="MathJax-Span-832" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-833" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-834" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-835" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">3</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> but not <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-836" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-837" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-838" data-tomark-pass=""><span class="mrow" id="MathJax-Span-839" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-840" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.52em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-841" style="font-family: MathJax_Main;" data-tomark-pass="">4</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-842" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">4</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math>. The minus is not allowed in the denominator. - `3` same as 1, only also float values will be accepted. - `4` same as 2, only also float values will be accepted. - otherwise it only allows improper fractions and integers like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-843" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-844" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-845" data-tomark-pass=""><span class="mrow" id="MathJax-Span-846" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-847" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-848" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-849" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> or <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-850" style="width: 1.093em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1000.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-851" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-852" data-tomark-pass=""><span class="mrow" id="MathJax-Span-853" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-854" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-855" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-856" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">3</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> but not <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-857" style="width: 1.734em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.413em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1001.41em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-858" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-859" data-tomark-pass=""><span class="mrow" id="MathJax-Span-860" data-tomark-pass=""><span class="mn" id="MathJax-Span-861" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mfrac" id="MathJax-Span-862" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-863" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-864" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">1</mn><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math>. The minus is not allowed in the denominator. | ** |
| is_not_simplified_root | Checks whether the answer (which is assumed to be an expression involving integers, multiplications, divisions, and higher roots) is in the normal form (a/b) * (c-th root of d), where b,c,d are positive integers and a is an integer. | ** |
| is_not_simplified_complex | Checks whether the answer is not in the form `a+b*i`, `b*i`, `i` or `c` where `a`,`b` and `c` are either simplified fractions, floats or integers and `a` and `b` are not `0` and, in the case of `a+b*i`, there is no minus in `b*i`. Examples of allowed forms are <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-865" style="width: 32.183em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 26.798em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1026.8em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-866" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-867" data-tomark-pass=""><span class="mrow" id="MathJax-Span-868" data-tomark-pass=""><span class="mn" id="MathJax-Span-869" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span class="mo" id="MathJax-Span-870" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mn" id="MathJax-Span-871" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mi" id="MathJax-Span-872" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-873" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-874" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span class="mo" id="MathJax-Span-875" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mi" id="MathJax-Span-876" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-877" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mo" id="MathJax-Span-878" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">&#x2212;</span><span class="mn" id="MathJax-Span-879" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span class="mo" id="MathJax-Span-880" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">&#x2212;</span><span class="mn" id="MathJax-Span-881" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mi" id="MathJax-Span-882" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-883" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-884" style="font-family: MathJax_Main;" data-tomark-pass="">0</span><span class="mo" id="MathJax-Span-885" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-886" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mo" id="MathJax-Span-887" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mfrac" id="MathJax-Span-888" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-889" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-890" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-891" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mfrac" id="MathJax-Span-892" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-893" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-894" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span><span class="mi" id="MathJax-Span-895" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-896" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-897" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mi" id="MathJax-Span-898" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-899" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-900" style="font-family: MathJax_Main;" data-tomark-pass="">2.2</span><span class="mi" id="MathJax-Span-901" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-902" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-903" style="font-family: MathJax_Main;" data-tomark-pass="">1.5</span><span class="mo" id="MathJax-Span-904" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mn" id="MathJax-Span-905" style="font-family: MathJax_Main;" data-tomark-pass="">0.5</span><span class="mi" id="MathJax-Span-906" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-907" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-908" style="font-family: MathJax_Main;" data-tomark-pass="">0.5</span><span class="mo" id="MathJax-Span-909" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mfrac" id="MathJax-Span-910" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-911" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.413em, 1000.52em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-912" style="font-family: MathJax_Main;" data-tomark-pass="">4</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">3</mn><mo data-tomark-pass="">+</mo><mn data-tomark-pass="">2</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">3</mn><mo data-tomark-pass="">+</mo><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mo data-tomark-pass="">-</mo><mn data-tomark-pass="">3</mn><mo data-tomark-pass="">-</mo><mn data-tomark-pass="">2</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">0</mn><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">2</mn><mo data-tomark-pass="">,</mo><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac><mo data-tomark-pass="">+</mo><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">2</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">2.2</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1.5</mn><mo data-tomark-pass="">+</mo><mn data-tomark-pass="">0.5</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">0.5</mn><mo data-tomark-pass="">,</mo><mfrac data-tomark-pass=""><mn data-tomark-pass="">3</mn><mn data-tomark-pass="">4</mn></mfrac></mstyle></math> Examples of disallowed forms are <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-913" style="width: 37.119em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 30.901em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.772em, 1030.9em, 3.208em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-914" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-915" data-tomark-pass=""><span class="mrow" id="MathJax-Span-916" data-tomark-pass=""><span class="mn" id="MathJax-Span-917" style="font-family: MathJax_Main;" data-tomark-pass="">0</span><span class="mo" id="MathJax-Span-918" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mi" id="MathJax-Span-919" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-920" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-921" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-922" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mn" id="MathJax-Span-923" style="font-family: MathJax_Main;" data-tomark-pass="">0</span><span class="mi" id="MathJax-Span-924" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-925" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-926" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-927" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mfrac" id="MathJax-Span-928" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.52em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-929" style="font-family: MathJax_Main;" data-tomark-pass="">4</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-930" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span><span class="mi" id="MathJax-Span-931" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-932" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mfrac" id="MathJax-Span-933" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-934" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-935" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-936" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mn" id="MathJax-Span-937" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mo" id="MathJax-Span-938" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">&#x22C5;</span><span class="mi" id="MathJax-Span-939" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-940" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-941" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-942" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mn" id="MathJax-Span-943" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-944" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mi" id="MathJax-Span-945" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-946" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-947" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-948" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mfrac" id="MathJax-Span-949" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.478em, 1000.26em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.125em;" data-tomark-pass=""><span class="mi" id="MathJax-Span-950" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-951" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-952" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-953" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-954" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">+</span><span class="mo" id="MathJax-Span-955" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">&#x2212;</span><span class="mn" id="MathJax-Span-956" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mi" id="MathJax-Span-957" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-958" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-959" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-960" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">&#x2212;</span><span class="mo" id="MathJax-Span-961" style="font-family: MathJax_Main; padding-left: 0.26em; padding-right: 0.26em;" data-tomark-pass="">&#x2212;</span><span class="mn" id="MathJax-Span-962" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span class="mi" id="MathJax-Span-963" style="font-family: MathJax_Math-italic;" data-tomark-pass="">i</span><span class="mo" id="MathJax-Span-964" style="font-family: MathJax_Main; padding-right: 0.196em;" data-tomark-pass="">,</span><span class="mfrac" id="MathJax-Span-965" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.644em; height: 0px; margin-right: 0.131em; margin-left: 0.131em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.52em, 2.503em, -999.997em); top: -3.01em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-966" style="font-family: MathJax_Main;" data-tomark-pass="">4</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.478em, 1000.45em, 2.503em, -999.997em); top: -1.599em; left: 50%; margin-left: -0.253em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-967" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.837em, 1000.64em, 1.285em, -999.997em); top: -1.279em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.644em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.093em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">0</mn><mo data-tomark-pass="">+</mo><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">+</mo><mn data-tomark-pass="">0</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">+</mo><mfrac data-tomark-pass=""><mn data-tomark-pass="">4</mn><mn data-tomark-pass="">2</mn></mfrac><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mfrac data-tomark-pass=""><mn data-tomark-pass="">2</mn><mn data-tomark-pass="">2</mn></mfrac><mo data-tomark-pass="">+</mo><mn data-tomark-pass="">2</mn><mo data-tomark-pass="">&#x22C5;</mo><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">+</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">+</mo><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">+</mo><mfrac data-tomark-pass=""><mi data-tomark-pass="">i</mi><mn data-tomark-pass="">2</mn></mfrac><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">+</mo><mo data-tomark-pass="">-</mo><mn data-tomark-pass="">2</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">-</mo><mo data-tomark-pass="">-</mo><mn data-tomark-pass="">2</mn><mi data-tomark-pass="">i</mi><mo data-tomark-pass="">,</mo><mfrac data-tomark-pass=""><mn data-tomark-pass="">4</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> | ** |
| is_not_top_symbol | Checks whether the symbol with the highest precedence in the answer is not equal to one of the symbols in the Definition field. Define a list of one or more symbols in the Definition field. e.g. times;root means the highest symbol is either a times or a root symbol. | ** |
| is_not_vector_length | Check whether the user input has all vectors of the same length. Optionally, use an integer in the Definition field to expect a vector with the prescribe the length, optionally specified by one of le, lt, ge, gt, ne, eq, <=, >=, <>, ==, !=, <, >, = E.g. gt2 checks whether the answer is a vector with more than two elements. | **. |
| is_not_unit | Check whether the student answer is a unit. With no Definition specified (empty), a check will be done whether the student answer is a unit. The Definition can be used to specify the unit(s) that must be used in the answer, like `gram`. When multiple units are needed, you can use a list (separated with a comma) of units that must be used in the answer, like `gram,liter` for g/l. By default, all prefixes are allowed to be used. However, per unit, you can specify which prefixes are allowed by specifying a preceding list of prefixes between square brackets, like `gram[centi,milli]`. If you want to allow for a unit to be used without a prefix, like `m`, then use the prefix `one`, like `[one,kilo;centi]meter,[one,kilo;centi]gramme`. |
| same_form | Checks the answer and the definition for having exactly the same form after maxima translation | ** |
| solve_equation | Automatically solve and give feedback on 1st or 2nd degree equation. This type is limited to one variable equations. e.g. `x^2=9` | ** |
| solve_inequality | Evaluate the inequality in the Definition field and evaluate the student answer accordingly. This type is limited to one variable inequalities. e.g. `x^2&lt;9` | ** |

For text based answer fields the evaluation types are listed in the table underneath. If you would want to use a dollar (`$`) in your solution followed by a character, which is not a SOWISO variable like `$a`, you can do use by writing `$/`. So `$a` would then become `$/a` for the author, but the student would still need to answer `$a`.

| name | description |
| --- | --- |
| contains_word | Checks whether the user input contains all the words from the Definition field (not in the same order). The words must be separated by semicolon ';'. Variations of the same word (e.g. contractions) can also be added by placing them between square brackets `[ ]` and separating them by comma ','. e.g. `[is not,is not];and;tree` then the user input must include the words 'and', 'tree' and one of the words 'is not' or 'is not' in order to be considered correct. |
| contains_text | Checks whether the user input contains all the texts from the Definition field (not in the same order). The texts must be separated by semicolon ';'. Variations of the same text (e.g. contractions) can also be added by placing them between square brackets '[ ]' and separating them by comma ','. For example if Definition: [is not,is not];and;tree; then the user input must include the texts 'and', 'tree' and one of the words 'is not' or 'is not' in order to be considered correct. **Caution!** The texts 'band' and 'trees' will also be correct because both 'and' and 'tree' are included in the two texts respectively. |
| text_case_insensitive | Checks whether the user input is equal to the text in the Definition field with a case insensitive check. |
| text_case_sensitive | Checks whether the user input is equal to the text in the Definition field with a case sensitive check. |
| text_combination | Checks whether the user input is unique across the answer fields out of the list of answer fields supplied in the Definition field as a list with square brackets `[ ]` and separating them by comma `,`. e.g. `apple[1,2]` means 'apple' must be in either answer field 1 or 2, but cannot be in both. Optionally, you can add a `i` at the end to make it case insensitive, like `apple[1,2]i`. Note spaces before and after the definition and answer are both removed before evaluation. **Caution!** Currently only works in question type open free. |
| text_regex | Checks whether the user input matches the regex pattern entered in the Definition field. The delimiter used for regular expressions in our system is the forward slash (`/`). If you need to include a forward slash in a regular expression, then you will need to escape it with a backslash (`\/`). For example, if you wanted to write a regular expression to match a date format such as dd/mm/yyyy then you would need to escape the forward slashes in the date as follow: `^(0?[1-9]\|[12][0-9]\|3[01])[\/\-](0?[1-9]\|1[012])[\/\-]\d{4}$` Note that html-tags are stripped from the student answer, so usage of bold tags like `The answer is &lt;strong&gt;apple&lt;/strong&gt;` will become `The answer is apple`. To match exactly a word or a number, you need to include `^` to match the beginning of the line and `$` to match the end of the line. For example, to match any of the numbers 1 through 5, the pattern would be as follows: `^[1-5]$` |
| similar_text | Use the php function [similar_text](https://www.php.net/manual/en/function.similar-text.php) to determine a percentage of similarity between the student answer and the solution Definition. Optionally, specify a Precision to set the tolerated percentage deviation between the student answer and the Definition, e.g. Precisions = `10` would mean there needs to be a 90% similarity. |

### Units

This are the supported base units from the metric system:

| name | author input | user input |
| --- | --- | --- |
| amp | A | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-968" style="width: 0.965em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.772em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.71em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-969" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-970" data-tomark-pass=""><span class="mrow" id="MathJax-Span-971" data-tomark-pass=""><span class="texatom" id="MathJax-Span-972" data-tomark-pass=""><span class="mrow" id="MathJax-Span-973" data-tomark-pass=""><span class="mi" id="MathJax-Span-974" style="font-family: MathJax_Main;" data-tomark-pass="">A</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">A</mi></mrow></mstyle></math> |
| Coulomb | C | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-975" style="width: 0.901em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.708em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.64em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-976" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-977" data-tomark-pass=""><span class="mrow" id="MathJax-Span-978" data-tomark-pass=""><span class="texatom" id="MathJax-Span-979" data-tomark-pass=""><span class="mrow" id="MathJax-Span-980" data-tomark-pass=""><span class="mi" id="MathJax-Span-981" style="font-family: MathJax_Main;" data-tomark-pass="">C</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">C</mi></mrow></mstyle></math> |
| degree Celsius | degC | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-982" style="width: 1.478em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.221em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1001.16em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-983" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-984" data-tomark-pass=""><span class="mrow" id="MathJax-Span-985" data-tomark-pass=""><span class="texatom" id="MathJax-Span-986" data-tomark-pass=""><span class="mrow" id="MathJax-Span-987" data-tomark-pass=""><span class="texatom" id="MathJax-Span-988" data-tomark-pass=""><span class="mrow" id="MathJax-Span-989" data-tomark-pass=""><span class="mo" id="MathJax-Span-990" style="font-family: MathJax_Main;" data-tomark-pass="">&#xB0;</span></span></span><span class="mi" id="MathJax-Span-991" style="font-family: MathJax_Main;" data-tomark-pass="">C</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mo data-tomark-pass="">&#xB0;</mo></mrow><mi mathvariant="normal" data-tomark-pass="">C</mi></mrow></mstyle></math> |
| gramme | g | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-992" style="width: 0.644em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.516em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1000.52em, 2.696em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-993" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-994" data-tomark-pass=""><span class="mrow" id="MathJax-Span-995" data-tomark-pass=""><span class="texatom" id="MathJax-Span-996" data-tomark-pass=""><span class="mrow" id="MathJax-Span-997" data-tomark-pass=""><span class="mi" id="MathJax-Span-998" style="font-family: MathJax_Main;" data-tomark-pass="">g</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">g</mi></mrow></mstyle></math> |
| Joule | J | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-999" style="width: 0.644em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.516em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.45em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1000" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1001" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1002" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1003" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1004" data-tomark-pass=""><span class="mi" id="MathJax-Span-1005" style="font-family: MathJax_Main;" data-tomark-pass="">J</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">J</mi></mrow></mstyle></math> |
| Kelvin | K | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1006" style="width: 0.965em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.772em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.71em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1007" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1008" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1009" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1010" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1011" data-tomark-pass=""><span class="mi" id="MathJax-Span-1012" style="font-family: MathJax_Main;" data-tomark-pass="">K</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">K</mi></mrow></mstyle></math> |
| litre | l | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1013" style="width: 0.324em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.26em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.26em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1014" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1015" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1016" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1017" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1018" data-tomark-pass=""><span class="mi" id="MathJax-Span-1019" style="font-family: MathJax_Main;" data-tomark-pass="">l</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">l</mi></mrow></mstyle></math> |
| meter | m | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1020" style="width: 1.029em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.837em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1000.84em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1021" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1022" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1023" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1024" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1025" data-tomark-pass=""><span class="mi" id="MathJax-Span-1026" style="font-family: MathJax_Main;" data-tomark-pass="">m</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">m</mi></mrow></mstyle></math> |
| mole | mol | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1027" style="width: 1.926em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.606em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1001.61em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1028" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1029" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1030" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1031" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1032" data-tomark-pass=""><span class="mi" id="MathJax-Span-1033" style="font-family: MathJax_Main;" data-tomark-pass="">m</span><span class="mi" id="MathJax-Span-1034" style="font-family: MathJax_Main;" data-tomark-pass="">o</span><span class="mi" id="MathJax-Span-1035" style="font-family: MathJax_Main;" data-tomark-pass="">l</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">m</mi><mi mathvariant="normal" data-tomark-pass="">o</mi><mi mathvariant="normal" data-tomark-pass="">l</mi></mrow></mstyle></math> |
| Newton | N | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1036" style="width: 0.965em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.772em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.77em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1037" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1038" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1039" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1040" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1041" data-tomark-pass=""><span class="mi" id="MathJax-Span-1042" style="font-family: MathJax_Main;" data-tomark-pass="">N</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">N</mi></mrow></mstyle></math> |
| Pascal | Pa | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1043" style="width: 1.413em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.157em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1001.16em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1044" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1045" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1046" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1047" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1048" data-tomark-pass=""><span class="mi" id="MathJax-Span-1049" style="font-family: MathJax_Main;" data-tomark-pass="">P</span><span class="mi" id="MathJax-Span-1050" style="font-family: MathJax_Main;" data-tomark-pass="">a</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">P</mi><mi mathvariant="normal" data-tomark-pass="">a</mi></mrow></mstyle></math> |
| second | s | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1051" style="width: 0.516em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.388em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.67em, 1000.32em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1052" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1053" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1054" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1055" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1056" data-tomark-pass=""><span class="mi" id="MathJax-Span-1057" style="font-family: MathJax_Main;" data-tomark-pass="">s</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">s</mi></mrow></mstyle></math> |
| volt | V | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1058" style="width: 0.965em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.772em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1000.77em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1059" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1060" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1061" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1062" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1063" data-tomark-pass=""><span class="mi" id="MathJax-Span-1064" style="font-family: MathJax_Main;" data-tomark-pass="">V</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">V</mi></mrow></mstyle></math> |
| Watt | W | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1065" style="width: 1.285em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.029em; height: 0px; font-size: 120%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.413em, 1001.03em, 2.503em, -999.997em); top: -2.304em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1066" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1067" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1068" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1069" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1070" data-tomark-pass=""><span class="mi" id="MathJax-Span-1071" style="font-family: MathJax_Main;" data-tomark-pass="">W</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.311em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">W</mi></mrow></mstyle></math> |

This are the supported metric prefixes:

| name | author input | user input |
| --- | --- | --- |
| atto | a | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1072" style="width: 0.65em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.52em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.52em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1073" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1074" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1075" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1076" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1077" data-tomark-pass=""><span class="mi" id="MathJax-Span-1078" style="font-family: MathJax_Main;" data-tomark-pass="">a</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">a</mi></mrow></mstyle></math> |
| centi | c | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1079" style="width: 0.585em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.456em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.46em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1080" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1081" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1082" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1083" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1084" data-tomark-pass=""><span class="mi" id="MathJax-Span-1085" style="font-family: MathJax_Main;" data-tomark-pass="">c</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">c</mi></mrow></mstyle></math> |
| deka | da | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1086" style="width: 1.231em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.037em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1001.04em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1087" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1088" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1089" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1090" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1091" data-tomark-pass=""><span class="mi" id="MathJax-Span-1092" style="font-family: MathJax_Main;" data-tomark-pass="">d</span><span class="mi" id="MathJax-Span-1093" style="font-family: MathJax_Main;" data-tomark-pass="">a</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">d</mi><mi mathvariant="normal" data-tomark-pass="">a</mi></mrow></mstyle></math> |
| exa | E | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1094" style="width: 0.844em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.714em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.71em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1095" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1096" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1097" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1098" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1099" data-tomark-pass=""><span class="mi" id="MathJax-Span-1100" style="font-family: MathJax_Main;" data-tomark-pass="">E</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">E</mi></mrow></mstyle></math> |
| femto | f | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1101" style="width: 0.456em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.391em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.39em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1102" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1103" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1104" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1105" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1106" data-tomark-pass=""><span class="mi" id="MathJax-Span-1107" style="font-family: MathJax_Main;" data-tomark-pass="">f<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.068em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">f</mi></mrow></mstyle></math> |
| giga | G | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1108" style="width: 0.973em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.779em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.71em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1109" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1110" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1111" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1112" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1113" data-tomark-pass=""><span class="mi" id="MathJax-Span-1114" style="font-family: MathJax_Main;" data-tomark-pass="">G</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">G</mi></mrow></mstyle></math> |
| hecto | h | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1115" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.59em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1116" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1117" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1118" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1119" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1120" data-tomark-pass=""><span class="mi" id="MathJax-Span-1121" style="font-family: MathJax_Main;" data-tomark-pass="">h</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">h</mi></mrow></mstyle></math> |
| kilo | k | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1122" style="width: 0.65em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.52em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.52em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1123" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1124" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1125" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1126" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1127" data-tomark-pass=""><span class="mi" id="MathJax-Span-1128" style="font-family: MathJax_Main;" data-tomark-pass="">k</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">k</mi></mrow></mstyle></math> |
| mega | M | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1129" style="width: 1.102em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.908em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.91em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1130" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1131" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1132" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1133" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1134" data-tomark-pass=""><span class="mi" id="MathJax-Span-1135" style="font-family: MathJax_Main;" data-tomark-pass="">M</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">M</mi></mrow></mstyle></math> |
| micro | micro | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1136" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.59em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1137" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1138" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1139" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1140" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1141" data-tomark-pass=""><span class="mi" id="MathJax-Span-1142" style="font-family: MathJax_Main;" data-tomark-pass="">u</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">u</mi></mrow></mstyle></math> or <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1143" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.59em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1144" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1145" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1146" data-tomark-pass=""><span class="mi" id="MathJax-Span-1147" style="font-family: MathJax_Math-italic;" data-tomark-pass="">&#x3BC;</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mi data-tomark-pass="">&#x3BC;</mi></mstyle></math> |
| milli | m | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1148" style="width: 1.037em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.844em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.84em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1149" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1150" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1151" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1152" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1153" data-tomark-pass=""><span class="mi" id="MathJax-Span-1154" style="font-family: MathJax_Main;" data-tomark-pass="">m</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">m</mi></mrow></mstyle></math> |
| nano | n | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1155" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.59em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1156" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1157" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1158" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1159" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1160" data-tomark-pass=""><span class="mi" id="MathJax-Span-1161" style="font-family: MathJax_Main;" data-tomark-pass="">n</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">n</mi></mrow></mstyle></math> |
| peta | P | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1162" style="width: 0.844em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.714em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.65em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1163" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1164" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1165" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1166" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1167" data-tomark-pass=""><span class="mi" id="MathJax-Span-1168" style="font-family: MathJax_Main;" data-tomark-pass="">P</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">P</mi></mrow></mstyle></math> |
| pico | p | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1169" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.52em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1170" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1171" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1172" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1173" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1174" data-tomark-pass=""><span class="mi" id="MathJax-Span-1175" style="font-family: MathJax_Main;" data-tomark-pass="">p</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">p</mi></mrow></mstyle></math> |
| tera | T | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1176" style="width: 0.844em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.714em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1000.65em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1177" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1178" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1179" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1180" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1181" data-tomark-pass=""><span class="mi" id="MathJax-Span-1182" style="font-family: MathJax_Main;" data-tomark-pass="">T</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">T</mi></mrow></mstyle></math> |
| yocto | y | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1183" style="width: 0.65em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.52em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.52em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1184" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1185" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1186" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1187" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1188" data-tomark-pass=""><span class="mi" id="MathJax-Span-1189" style="font-family: MathJax_Main;" data-tomark-pass="">y</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">y</mi></mrow></mstyle></math> |
| yotta | Y | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1190" style="width: 0.973em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.779em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.78em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1191" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1192" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1193" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1194" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1195" data-tomark-pass=""><span class="mi" id="MathJax-Span-1196" style="font-family: MathJax_Main;" data-tomark-pass="">Y</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">Y</mi></mrow></mstyle></math> |
| zepto | z | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1197" style="width: 0.585em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.456em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.39em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1198" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1199" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1200" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1201" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1202" data-tomark-pass=""><span class="mi" id="MathJax-Span-1203" style="font-family: MathJax_Main;" data-tomark-pass="">z</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">z</mi></mrow></mstyle></math> |
| zetta | Z | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1204" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.52em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1205" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1206" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1207" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1208" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1209" data-tomark-pass=""><span class="mi" id="MathJax-Span-1210" style="font-family: MathJax_Main;" data-tomark-pass="">Z</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">Z</mi></mrow></mstyle></math> |

This are the supported time units:

| name | author input | user input |
| --- | --- | --- |
| second | s | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1211" style="width: 0.456em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.391em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.33em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1212" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1213" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1214" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1215" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1216" data-tomark-pass=""><span class="mi" id="MathJax-Span-1217" style="font-family: MathJax_Main;" data-tomark-pass="">s</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">s</mi></mrow></mstyle></math> |
| minute | minute | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1218" style="width: 2.007em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.684em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1001.68em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1219" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1220" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1221" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1222" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1223" data-tomark-pass=""><span class="mi" id="MathJax-Span-1224" style="font-family: MathJax_Main;" data-tomark-pass="">m</span><span class="mi" id="MathJax-Span-1225" style="font-family: MathJax_Main;" data-tomark-pass="">i</span><span class="mi" id="MathJax-Span-1226" style="font-family: MathJax_Main;" data-tomark-pass="">n</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">m</mi><mi mathvariant="normal" data-tomark-pass="">i</mi><mi mathvariant="normal" data-tomark-pass="">n</mi></mrow></mstyle></math> |
| hour | hour | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1227" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.59em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1228" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1229" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1230" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1231" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1232" data-tomark-pass=""><span class="mi" id="MathJax-Span-1233" style="font-family: MathJax_Main;" data-tomark-pass="">h</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">h</mi></mrow></mstyle></math> |
| day | day | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1234" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.59em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1235" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1236" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1237" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1238" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1239" data-tomark-pass=""><span class="mi" id="MathJax-Span-1240" style="font-family: MathJax_Main;" data-tomark-pass="">d</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">d</mi></mrow></mstyle></math> |
| week | week | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1241" style="width: 0.844em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.714em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.71em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1242" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1243" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1244" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1245" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1246" data-tomark-pass=""><span class="mi" id="MathJax-Span-1247" style="font-family: MathJax_Main;" data-tomark-pass="">w</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">w</mi></mrow></mstyle></math> |
| month | month | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1248" style="width: 1.619em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.361em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1001.36em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1249" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1250" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1251" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1252" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1253" data-tomark-pass=""><span class="mi" id="MathJax-Span-1254" style="font-family: MathJax_Main;" data-tomark-pass="">m</span><span class="mi" id="MathJax-Span-1255" style="font-family: MathJax_Main;" data-tomark-pass="">o</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">m</mi><mi mathvariant="normal" data-tomark-pass="">o</mi></mrow></mstyle></math> |
| year | year | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1256" style="width: 0.65em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.52em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.52em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1257" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1258" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1259" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1260" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1261" data-tomark-pass=""><span class="mi" id="MathJax-Span-1262" style="font-family: MathJax_Main;" data-tomark-pass="">y</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 0.927em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">y</mi></mrow></mstyle></math> |

This are the supported imperial units:

| name | author input | user input |
| --- | --- | --- |
| acre | acre | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1263" style="width: 2.201em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.813em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1001.81em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1264" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1265" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1266" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1267" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1268" data-tomark-pass=""><span class="mi" id="MathJax-Span-1269" style="font-family: MathJax_Main;" data-tomark-pass="">a</span><span class="mi" id="MathJax-Span-1270" style="font-family: MathJax_Main;" data-tomark-pass="">c</span><span class="mi" id="MathJax-Span-1271" style="font-family: MathJax_Main;" data-tomark-pass="">r</span><span class="mi" id="MathJax-Span-1272" style="font-family: MathJax_Main;" data-tomark-pass="">e</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">a</mi><mi mathvariant="normal" data-tomark-pass="">c</mi><mi mathvariant="normal" data-tomark-pass="">r</mi><mi mathvariant="normal" data-tomark-pass="">e</mi></mrow></mstyle></math> |
| bar | bar | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1273" style="width: 1.684em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.425em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1001.42em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1274" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1275" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1276" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1277" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1278" data-tomark-pass=""><span class="mi" id="MathJax-Span-1279" style="font-family: MathJax_Main;" data-tomark-pass="">b</span><span class="mi" id="MathJax-Span-1280" style="font-family: MathJax_Main;" data-tomark-pass="">a</span><span class="mi" id="MathJax-Span-1281" style="font-family: MathJax_Main;" data-tomark-pass="">r</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">b</mi><mi mathvariant="normal" data-tomark-pass="">a</mi><mi mathvariant="normal" data-tomark-pass="">r</mi></mrow></mstyle></math> |
| foot | foot | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1282" style="width: 0.973em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.779em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1000.71em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1283" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1284" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1285" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1286" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1287" data-tomark-pass=""><span class="mi" id="MathJax-Span-1288" style="font-family: MathJax_Main;" data-tomark-pass="">f<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.068em;" data-tomark-pass=""></span></span><span class="mi" id="MathJax-Span-1289" style="font-family: MathJax_Main;" data-tomark-pass="">t</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">f</mi><mi mathvariant="normal" data-tomark-pass="">t</mi></mrow></mstyle></math> |
| mile | mile | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1290" style="width: 2.201em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.813em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1001.81em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1291" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1292" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1293" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1294" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1295" data-tomark-pass=""><span class="mi" id="MathJax-Span-1296" style="font-family: MathJax_Main;" data-tomark-pass="">m</span><span class="mi" id="MathJax-Span-1297" style="font-family: MathJax_Main;" data-tomark-pass="">i</span><span class="mi" id="MathJax-Span-1298" style="font-family: MathJax_Main;" data-tomark-pass="">l</span><span class="mi" id="MathJax-Span-1299" style="font-family: MathJax_Main;" data-tomark-pass="">e</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 1.004em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">m</mi><mi mathvariant="normal" data-tomark-pass="">i</mi><mi mathvariant="normal" data-tomark-pass="">l</mi><mi mathvariant="normal" data-tomark-pass="">e</mi></mrow></mstyle></math> |
| pint | pint | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1300" style="width: 2.201em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.813em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1001.75em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1301" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1302" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1303" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1304" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1305" data-tomark-pass=""><span class="mi" id="MathJax-Span-1306" style="font-family: MathJax_Main;" data-tomark-pass="">p</span><span class="mi" id="MathJax-Span-1307" style="font-family: MathJax_Main;" data-tomark-pass="">i</span><span class="mi" id="MathJax-Span-1308" style="font-family: MathJax_Main;" data-tomark-pass="">n</span><span class="mi" id="MathJax-Span-1309" style="font-family: MathJax_Main;" data-tomark-pass="">t</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 1.158em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">p</mi><mi mathvariant="normal" data-tomark-pass="">i</mi><mi mathvariant="normal" data-tomark-pass="">n</mi><mi mathvariant="normal" data-tomark-pass="">t</mi></mrow></mstyle></math> |
| yard | yard | <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1310" style="width: 2.395em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 2.007em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.296em, 1002.01em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1311" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1312" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1313" data-tomark-pass=""><span class="texatom" id="MathJax-Span-1314" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1315" data-tomark-pass=""><span class="mi" id="MathJax-Span-1316" style="font-family: MathJax_Main;" data-tomark-pass="">y</span><span class="mi" id="MathJax-Span-1317" style="font-family: MathJax_Main;" data-tomark-pass="">a</span><span class="mi" id="MathJax-Span-1318" style="font-family: MathJax_Main;" data-tomark-pass="">r</span><span class="mi" id="MathJax-Span-1319" style="font-family: MathJax_Main;" data-tomark-pass="">d</span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 1.235em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mi mathvariant="normal" data-tomark-pass="">y</mi><mi mathvariant="normal" data-tomark-pass="">a</mi><mi mathvariant="normal" data-tomark-pass="">r</mi><mi mathvariant="normal" data-tomark-pass="">d</mi></mrow></mstyle></math> |

### Subscript notation

Subscript notation is possible in SOWISO. Just make sure that in the Definition fields, you use the syntax as `a_(b)` for <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1320" style="width: 1.102em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.908em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.91em, 2.524em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1321" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1322" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1323" data-tomark-pass=""><span class="msubsup" id="MathJax-Span-1324" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.908em; height: 0px;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.52em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mi" id="MathJax-Span-1325" style="font-family: MathJax_Math-italic;" data-tomark-pass="">a</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; top: -2.065em; left: 0.52em;" data-tomark-pass=""><span class="mi" id="MathJax-Span-1326" style="font-size: 70.7%; font-family: MathJax_Math-italic;" data-tomark-pass="">b</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.227em; border-left: 0px solid; width: 0px; height: 0.85em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><msub data-tomark-pass=""><mi data-tomark-pass="">a</mi><mi data-tomark-pass="">b</mi></msub></mstyle></math>, where *a* is the variable and *b* is the subscript.

## Sowiso question sets: using variables over multiple questions

Upon opening a Sowiso question in Cirrus you can also find a tab 'Question set'. Using this tab unlocks the power of sowiso question sets:

1. Using the question set tab you can:
  1. Add several questions to create a set of sowiso questions which use shared parameters.
  2. These will  show as one set 1a, 1b etc. on one page in preview, Candidate Delivery and when Marking.
2. You can click on the item on the Sowiso tab to directly edit it. You can move the order of the items in a set
3. Properties like Taxonomy, Learning Objective, Purpose are applied to the set as a whole. If you edit these you will get a warning explaining this.
4. The max score for a question set is determined by the points per question.

#### Tips when using sowiso question sets:

- On the Library overview page listing items in a collection you cannot see if the question is used as a part of a set. Tip: use labels if you want this marked as such.
- Only single Sowiso items can be used in Sections.
- If a Sowiso question uses a question set it cannot be used in Sections and also will not be available for Blueprint question selection.
- It is not possible to copy/import the set to another collection
- It is not possible to delete sowiso question from a set. Like for sections in Cirrus: you can only delete the set (section) as a whole.

## PHP functions

The following functions can be used in a Definition field of a variable:

[abs](http://php.net/manual/en/function.abs.php), [acos](http://php.net/manual/en/function.acos.php), [acosh](http://php.net/manual/en/function.acosh.php), [addcslashes](http://php.net/manual/en/function.addcslashes.php), [addslashes](http://php.net/manual/en/function.addslashes.php), [array](http://php.net/manual/en/function.array.php), [array_change_key_case](http://php.net/manual/en/function.array-change-key-case.php), [array_chunk](http://php.net/manual/en/function.array-chunk.php), [array_column](http://php.net/manual/en/function.array-column.php), [array_combine](http://php.net/manual/en/function.array-combine.php), [array_count_values](http://php.net/manual/en/function.array-count-values.php), [array_diff](http://php.net/manual/en/function.array-diff.php), [array_diff_assoc](http://php.net/manual/en/function.array-diff-assoc.php), [array_diff_key](http://php.net/manual/en/function.array-diff-key.php), [array_diff_uassoc](http://php.net/manual/en/function.array-diff-uassoc.php), [array_diff_ukey](http://php.net/manual/en/function.array-diff-ukey.php), [array_fill](http://php.net/manual/en/function.array-fill.php), [array_fill_keys](http://php.net/manual/en/function.array-fill-keys.php), [array_filter](http://php.net/manual/en/function.array-filter.php), [array_flip](http://php.net/manual/en/function.array-flip.php), [array_intersect](http://php.net/manual/en/function.array-intersect.php), [array_intersect_assoc](http://php.net/manual/en/function.array-intersect-assoc.php), [array_intersect_key](http://php.net/manual/en/function.array-intersect-key.php), [array_intersect_uassoc](http://php.net/manual/en/function.array-intersect-uassoc.php), [array_intersect_ukey](http://php.net/manual/en/function.array-intersect-ukey.php), [array_key_exists](http://php.net/manual/en/function.array-key-exists.php), [array_keys](http://php.net/manual/en/function.array-keys.php), [array_map](http://php.net/manual/en/function.array-map.php), [array_merge](http://php.net/manual/en/function.array-merge.php), [array_merge_recursive](http://php.net/manual/en/function.array-merge-recursive.php), [array_multisort](http://php.net/manual/en/function.array-multisort.php), [array_pad](http://php.net/manual/en/function.array-pad.php), [array_pop](http://php.net/manual/en/function.array-pop.php), [array_product](http://php.net/manual/en/function.array-product.php), [array_push](http://php.net/manual/en/function.array-push.php), [array_rand](http://php.net/manual/en/function.array-rand.php), [array_reduce](http://php.net/manual/en/function.array-reduce.php), [array_replace](http://php.net/manual/en/function.array-replace.php), [array_replace_recursive](http://php.net/manual/en/function.array-replace-recursive.php), [array_reverse](http://php.net/manual/en/function.array-reverse.php), [array_search](http://php.net/manual/en/function.array-search.php), [array_shift](http://php.net/manual/en/function.array-shift.php), [array_slice](http://php.net/manual/en/function.array-slice.php), [array_splice](http://php.net/manual/en/function.array-splice.php), [array_sum](http://php.net/manual/en/function.array-sum.php), [array_udiff](http://php.net/manual/en/function.array-udiff.php), [array_udiff_assoc](http://php.net/manual/en/function.array-udiff-assoc.php), [array_udiff_uassoc](http://php.net/manual/en/function.array-udiff-uassoc.php), [array_uintersect](http://php.net/manual/en/function.array-uintersect.php), [array_uintersect_assoc](http://php.net/manual/en/function.array-uintersect-assoc.php), [array_uintersect_uassoc](http://php.net/manual/en/function.array-uintersect-uassoc.php), [array_unique](http://php.net/manual/en/function.array-unique.php), [array_unshift](http://php.net/manual/en/function.array-unshift.php), [array_values](http://php.net/manual/en/function.array-values.php), [array_walk](http://php.net/manual/en/function.array-walk.php), [array_walk_recursive](http://php.net/manual/en/function.array-walk-recursive.php), [arsort](http://php.net/manual/en/function.arsort.php), [asin](http://php.net/manual/en/function.asin.php), [asinh](http://php.net/manual/en/function.asinh.php), [asort](http://php.net/manual/en/function.asort.php), [atan](http://php.net/manual/en/function.atan.php), [atan2](http://php.net/manual/en/function.atan2.php), [atanh](http://php.net/manual/en/function.atanh.php), [base_convert](http://php.net/manual/en/function.base-convert.php), [bcadd](http://php.net/manual/en/function.bcadd.php), [bccomp](http://php.net/manual/en/function.bccomp.php), [bcdiv](http://php.net/manual/en/function.bcdiv.php), [bcmod](http://php.net/manual/en/function.bcmod.php), [bcmul](http://php.net/manual/en/function.bcmul.php), [bcpow](http://php.net/manual/en/function.bcpow.php), [bcpowmod](http://php.net/manual/en/function.bcpowmod.php), [bcscale](http://php.net/manual/en/function.bcscale.php), [bcsqrt](http://php.net/manual/en/function.bcsqrt.php), [bcsub](http://php.net/manual/en/function.bcsub.php), [bin2hex](http://php.net/manual/en/function.bin2hex.php), [bindec](http://php.net/manual/en/function.bindec.php), [ceil](http://php.net/manual/en/function.ceil.php), [chop](http://php.net/manual/en/function.chop.php), [chr](http://php.net/manual/en/function.chr.php), [chunk_split](http://php.net/manual/en/function.chunk-split.php), [cos](http://php.net/manual/en/function.cos.php), [cosh](http://php.net/manual/en/function.cosh.php), [count](http://php.net/manual/en/function.count.php), [count_chars](http://php.net/manual/en/function.count-chars.php), [current](http://php.net/manual/en/function.current.php), [decbin](http://php.net/manual/en/function.decbin.php), [dechex](http://php.net/manual/en/function.dechex.php), [decoct](http://php.net/manual/en/function.decoct.php), [deg2rad](http://php.net/manual/en/function.deg2rad.php), [each](http://php.net/manual/en/function.each.php), [end](http://php.net/manual/en/function.end.php), [exp](http://php.net/manual/en/function.exp.php), [explode](http://php.net/manual/en/function.explode.php), [expm1](http://php.net/manual/en/function.expm1.php), [extract](http://php.net/manual/en/function.extract.php), [floor](http://php.net/manual/en/function.floor.php), [fmod](http://php.net/manual/en/function.fmod.php), [getrandmax](http://php.net/manual/en/function.getrandmax.php), [hex2bin](http://php.net/manual/en/function.hex2bin.php), [hexdec](http://php.net/manual/en/function.hexdec.php), [html_entity_decode](http://php.net/manual/en/function.html-entity-decode.php), [htmlentities](http://php.net/manual/en/function.htmlentities.php), [htmlspecialchars](http://php.net/manual/en/function.htmlspecialchars.php), [htmlspecialchars_decode](http://php.net/manual/en/function.htmlspecialchars-decode.php), [hypot](http://php.net/manual/en/function.hypot.php), [implode](http://php.net/manual/en/function.implode.php), [in_array](http://php.net/manual/en/function.in-array.php), [intdiv](http://php.net/manual/en/function.intdiv.php), [is_finite](http://php.net/manual/en/function.is-finite.php), [is_infinite](http://php.net/manual/en/function.is-infinite.php), [is_nan](http://php.net/manual/en/function.is-nan.php), [join](http://php.net/manual/en/function.join.php), [key](http://php.net/manual/en/function.key.php), [key_exists](http://php.net/manual/en/function.key-exists.php), [krsort](http://php.net/manual/en/function.krsort.php), [ksort](http://php.net/manual/en/function.ksort.php), [lcfirst](http://php.net/manual/en/function.lcfirst.php), [lcg_value](http://php.net/manual/en/function.lcg-value.php), [levenshtein](http://php.net/manual/en/function.levenshtein.php), [list](http://php.net/manual/en/function.list.php), [localeconv](http://php.net/manual/en/function.localeconv.php), [log](http://php.net/manual/en/function.log.php), [log10](http://php.net/manual/en/function.log10.php), [log1p](http://php.net/manual/en/function.log1p.php), [ltrim](http://php.net/manual/en/function.ltrim.php), [max](http://php.net/manual/en/function.max.php), [metaphone](http://php.net/manual/en/function.metaphone.php), [min](http://php.net/manual/en/function.min.php), [money_format](http://php.net/manual/en/function.money-format.php), [mt_getrandmax](http://php.net/manual/en/function.mt-getrandmax.php), [mt_rand](http://php.net/manual/en/function.mt-rand.php), [mt_srand](http://php.net/manual/en/function.mt-srand.php), [natcasesort](http://php.net/manual/en/function.natcasesort.php), [natsort](http://php.net/manual/en/function.natsort.php), [next](http://php.net/manual/en/function.next.php), [nl2br](http://php.net/manual/en/function.nl2br.php), [number_format](http://php.net/manual/en/function.number-format.php), [octdec](http://php.net/manual/en/function.octdec.php), [ord](http://php.net/manual/en/function.ord.php), [pi](http://php.net/manual/en/function.pi.php), [pos](http://php.net/manual/en/function.pos.php), [pow](http://php.net/manual/en/function.pow.php), [prev](http://php.net/manual/en/function.prev.php), [preg-replace](http://php.net/manual/en/function.preg-replace.php), [rad2deg](http://php.net/manual/en/function.rad2deg.php), [rand](http://php.net/manual/en/function.rand.php), [range](http://php.net/manual/en/function.range.php), [reset](http://php.net/manual/en/function.reset.php), [round](http://php.net/manual/en/function.round.php), [rsort](http://php.net/manual/en/function.rsort.php), [rtrim](http://php.net/manual/en/function.rtrim.php), [shuffle](http://php.net/manual/en/function.shuffle.php), [similar_text](http://php.net/manual/en/function.similar-text.php), [sin](http://php.net/manual/en/function.sin.php), [sinh](http://php.net/manual/en/function.sinh.php), [sizeof](http://php.net/manual/en/function.sizeof.php), [sort](http://php.net/manual/en/function.sort.php), [soundex](http://php.net/manual/en/function.soundex.php), [sqrt](http://php.net/manual/en/function.sqrt.php), [srand](http://php.net/manual/en/function.srand.php), [str_getcsv](http://php.net/manual/en/function.str-getcsv.php), [str_ireplace](http://php.net/manual/en/function.str-ireplace.php), [str_pad](http://php.net/manual/en/function.str-pad.php), [str_repeat](http://php.net/manual/en/function.str-repeat.php), [str_replace](http://php.net/manual/en/function.str-replace.php), [str_rot13](http://php.net/manual/en/function.str-rot13.php), [str_shuffle](http://php.net/manual/en/function.str-shuffle.php), [str_split](http://php.net/manual/en/function.str-split.php), [str_word_count](http://php.net/manual/en/function.str-word-count.php), [strcasecmp](http://php.net/manual/en/function.strcasecmp.php), [strchr](http://php.net/manual/en/function.strchr.php), [strcmp](http://php.net/manual/en/function.strcmp.php), [strcoll](http://php.net/manual/en/function.strcoll.php), [strcspn](http://php.net/manual/en/function.strcspn.php), [strftime](http://php.net/manual/en/function.strftime.php), [strip_tags](http://php.net/manual/en/function.strip-tags.php), [stripcslashes](http://php.net/manual/en/function.stripcslashes.php), [stripos](http://php.net/manual/en/function.stripos.php), [stripslashes](http://php.net/manual/en/function.stripslashes.php), [stristr](http://php.net/manual/en/function.stristr.php), [strlen](http://php.net/manual/en/function.strlen.php), [strnatcasecmp](http://php.net/manual/en/function.strnatcasecmp.php), [strncasecmp](http://php.net/manual/en/function.strncasecmp.php), [strnmp](http://php.net/manual/en/function.strnmp.php), [strpbrk](http://php.net/manual/en/function.strpbrk.php), [strpos](http://php.net/manual/en/function.strpos.php), [strrchr](http://php.net/manual/en/function.strrchr.php), [strre](http://php.net/manual/en/function.strre.php), [strripos](http://php.net/manual/en/function.strripos.php), [strrpos](http://php.net/manual/en/function.strrpos.php), [strspn](http://php.net/manual/en/function.strspn.php), [strstr](http://php.net/manual/en/function.strstr.php), [strtok](http://php.net/manual/en/function.strtok.php), [strtolower](http://php.net/manual/en/function.strtolower.php), [strtoupper](http://php.net/manual/en/function.strtoupper.php), [strtr](http://php.net/manual/en/function.strtr.php), [strval](http://php.net/manual/en/function.strval.php), [substr](http://php.net/manual/en/function.substr.php), [substr_compare](http://php.net/manual/en/function.substr-compare.php), [substr_count](http://php.net/manual/en/function.substr-count.php), [substr_replace](http://php.net/manual/en/function.substr-replace.php), [tan](http://php.net/manual/en/function.tan.php), [tanh](http://php.net/manual/en/function.tanh.php), [time](http://php.net/manual/en/function.time.php), [trim](http://php.net/manual/en/function.trim.php), [uasort](http://php.net/manual/en/function.uasort.php), [ucfirst](http://php.net/manual/en/function.ucfirst.php), [ucwords](http://php.net/manual/en/function.ucwords.php), [uksort](http://php.net/manual/en/function.uksort.php), [usort](http://php.net/manual/en/function.usort.php), [wordwrap](http://php.net/manual/en/function.wordwrap.php),

### SOWISO PHP functions

Extra functions created by SOWISO are available via the prefix `sw_`

**Warning:** loading Maxima packages can make an exercise extremely slow and performance intensive. When used in a single exercise it works fine, but when a test must be generated, it is a lot of calls and it asks too much of the system. Subsequently, Maxima calls timeout and students see zeros or errors at the place of the variables, or in the worst cases the whole test creation fails. Maxima packages affected:

- 'descriptive' -> use sw_R instead
- 'distrib' -> use sw_R instead

| function | returns |
| --- | --- |
| [0,"a",2,3] | returns a random item from the list. The list can be a mixed list of strings and numbers. |
| [[0,"a",2,3]] | use double squared brackets to return an [(php) array](https://www.php.net/manual/en/language.types.array.php). The array can be a mixed list of strings and numbers. If no keys are provided, you can access value with a zero-based index key, like `$var[0]` for the first value and so on. Alternatively you can give keys names with an arrow like `[[&apos;one&apos;=&gt;1,&apos;two&apos;=&gt;2,&apos;three&apos;=&gt;3,&apos;ten&apos;=&gt;10]]` in which case you can acces them by the name of the key like `$var[&apos;two&apos;]`. |
| sw_answer(*a, opt1, opt2*) | gives access to a last given answer from the current or a previous exercise in the set. You can use the answer both in text and in the definitions of solutions and feedback for evaluation, where *a* is the reference to the number of the answer field. *opt1*: is the order of the exercise you want to reference in its set, starting at 1. You can use this argument to get the answers of another (prior) exercise from the same set. If you skip this argument, the answer is taken from the current exercise. *opt2*: Optionally, you can specify a fallback answer in maxima syntax for when the previous exercise was unanswered. When the variable is used in text it will be converted to TeX. When this option is not used an the variable is used in a definition and there is no answer, the value will default to `%null`. **Note:** do not use this function together with other functions in a definition of a variable, but always create a separate variable that only consists of the sw_answer() function. Also, do not use inline in text (between `~`), but always via a variable. Finally, do not use the variable in text when the exercise is used in a test, since the answer of the previous exercise in a test is not sent in yet. e.g. `sw_answer(2)` represents the answer to the second answer field of the current exercise. `sw_answer(1,1,&quot;2*x&quot;)` represents the answer to the first answer field of the first exercise in the set. If there is no answer given, the value will fall back to `x^2`. This function is enabled for the following exercise types: Open, Radio_button, Dropdown, Multiple_choice, Radio_button_random, Open_free, Text, Multiple_choice_random, Strategy, Essay, Input_line_graph, Input_vector_graph, Input_point_graph |
| sw_answer_correct(*a, opt*) | gives access to the evaluation of a last given answer from the current or a previous exercise in the set. You can use the outcome both in text and in the definitions of solutions and feedback for evaluation. In text it returns a string that is either `&quot;true&quot;` or `&quot;false&quot;` based on the evaluation of the answer. In Definitions of solutions and feedback it will be `true` or `false` (without double quotes). Argument: *a* is the reference to the number of the answer field. *opt1*: is the order of the exercise you want to reference in its set, starting at 1. You can use this argument to get the answers of another (prior) exercise from the same set. If you skip this argument, the answer is taken from the current exercise. In solution texts this can be used to adjust your text based on the evaluatino of an answer in a previous exercise. e.g. `$a` = `sw_answer_correct(1,2)` takes the first answer field from the second exercise in a set. In the third exercise you can then use `$a` in an inline php statement using a ternary operator like this: `~$a == &quot;true&quot; ? &quot;Text when previous answer was correct&quot; : &quot;Text when previous answer was incorrect&quot;~`. **Note:** do not use this function together with other functions in a definition of a variable, but always create a separate variable that only consists of the sw_answer_correct() function. Also, do not use inline in text (between `~`), but always via a variable. This function is enabled for the following exercise types: Open, Radio_button, Dropdown, Multiple_choice, Radio_button_random, Open_free, Text, Multiple_choice_random, Strategy, Essay, Input_line_graph, Input_vector_graph, Input_point_graph |
| sw_answer_maxima(*a, opt1, opt2*) | gives access to a last given answer from a previous exercise in the set in maxima syntax. You can use the answer in text (and sent it to maxima for further calculations when used in text between tildes `~`, for example you can use it in text to differentiate the student answer to <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1327" style="width: 0.714em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.585em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.555em, 1000.52em, 2.395em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1328" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1329" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1330" data-tomark-pass=""><span class="mi" id="MathJax-Span-1331" style="font-family: MathJax_Math-italic;" data-tomark-pass="">x</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.073em; border-left: 0px solid; width: 0px; height: 0.696em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mi data-tomark-pass="">x</mi></mstyle></math>, when $a is the variable, via: `#~sw_maxima(&quot;diff($a,x)&quot;)~#` ) and in the definitions of solutions and feedback for evaluation, where *a* is the reference to the number of the answer field. *opt1*: is the order of the exercise you want to reference in its set, starting at 1. You can use this argument to get the answers of another (prior) exercise from the same set. If you skip this argument, the answer is taken from the current exercise. *opt2*: Optionally, you can specify a fallback answer in maxima syntax for when the previous exercise was unanswered. When the variable is used in text it will be converted to TeX. When this option is not used an the variable is used in a definition and there is no answer, the value will default to `%null`. **Note:** do not use this function together with other functions in a definition of a variable, but always create a separate variable that only consists of the sw_answer_maxima() function. Also, do not use inline in text (between `~`), but always via a variable. Finally, do not use the variable in text when the exercise is used in a test, since the answer of the previous exercise in a test is not sent in yet. e.g. `sw_answer_maxima(2)` represents the answer to the second answer field of the current exercise. `sw_answer(1,1,&quot;2*x&quot;)` represents the answer to the first answer field of the first exercise in the set. If there is no answer given, the value will fall back to `x^2`. This function is enabled for the following exercise types: Open, Radio_button, Dropdown, Multiple_choice, Radio_button_random, Open_free, Text, Multiple_choice_random, Strategy, Essay, Input_line_graph, Input_vector_graph, Input_point_graph |
| sw_alist(*a,b*) | returns an item from the list in the first argument *a* at position *b* from the second argument. Note that the first position is at index 0. e.g. `sw_alist([1,2,3],2)` returns `3` |
| sw_comma(*a*) | returns the input string *a* with all commas replaced by \comma for TeX presentation, e.g. `sw_comma(&quot;1,2&quot;)` returns `1\comma 2`. Useful when presenting decimals with the comma as decimal sign because 1,2 is displayed as <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1332" style="width: 1.813em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.49em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1001.42em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1333" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1334" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1335" data-tomark-pass=""><span class="mn" id="MathJax-Span-1336" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mo" id="MathJax-Span-1337" style="font-family: MathJax_Main;" data-tomark-pass="">,</span><span class="mn" id="MathJax-Span-1338" style="font-family: MathJax_Main; padding-left: 0.197em;" data-tomark-pass="">2</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 1.158em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mn data-tomark-pass="">1</mn><mo data-tomark-pass="">,</mo><mn data-tomark-pass="">2</mn></mstyle></math>, where 1\comma 2 is displayed as <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1339" style="width: 1.555em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.296em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1001.23em, 2.589em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1340" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1341" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1342" data-tomark-pass=""><span class="mn" id="MathJax-Span-1343" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="texatom" id="MathJax-Span-1344" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1345" data-tomark-pass=""><span class="mo" id="MathJax-Span-1346" style="font-family: MathJax_Main;" data-tomark-pass="">,</span></span></span><span class="mn" id="MathJax-Span-1347" style="font-family: MathJax_Main;" data-tomark-pass="">2</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.304em; border-left: 0px solid; width: 0px; height: 1.158em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mn data-tomark-pass="">1</mn><mrow class="MJX-TeXAtom-ORD" data-tomark-pass=""><mo data-tomark-pass="">,</mo></mrow><mn data-tomark-pass="">2</mn></mstyle></math> |
| sw_concat(["a","b","c"]) | returns the concatenation of the strings in the argument, e.g. `sw_concat([&quot;a&quot;,&quot;b&quot;,&quot;c&quot;])` returns `abc` |
| sw_descriptive(*a, opt1, opt2*) | loads the maxima package *descriptive* for making descriptive statistical computations ([http://maxima.sourceforge.net/docs/manual/maxima_49.html](http://maxima.sourceforge.net/docs/manual/maxima_49.html)) with input *a* *opt1*: when `1`, the output is in tex, otherwise output is in maxima native syntax *opt2*: when output is in tex, set the tex type as per sw_maxima()'s second argument |
| sw_distrib(*a, opt1, opt2*) | loads the maxima package *distrib* for making probability computations ([http://maxima.sourceforge.net/docs/manual/maxima_51.html](http://maxima.sourceforge.net/docs/manual/maxima_51.html)) with input *a* *opt1*: when `1`, the output is in tex, otherwise output is in maxima native syntax *opt2*: when output is in tex, set the tex type as per sw_maxima()'s second argument |
| sw_divisor(*a, opt1, opt2*) | gives a random divisor of number *a* *opt1*: when 1, also add self to random list *opt2*: when 1, also add 1 to random list |
| sw_draw(*a,opt2*) | draw objects in *a* in dimension *opt1* ( options are `2` (two dimensional, this is the default), `3` (three dimensional) or `&quot;df&quot;` for direction fields. sw_draw also supports drawing on images as background (type png). See `sw_image()`. |
| sw_eq(*a*, *b*) | returns 1 if *a* is equal to *b*, otherwise it returns 0 |
| sw_eq_sign(*a*, *b*) | returns "=" if *a* is equal to *b* when both *a* and *b* are rounded to 10 decimals, otherwise it returns "\approx". *a* and *b* must both be numerical. Used for presenting decimal rounding as the solution after randomizing e.g. `sw_eq_sign(1.2,12/10)` returns "=" where `sw_eq_sign(sqrt(2),1.4)` returns "\approx". Useful for instance in <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1348" style="width: 4.205em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 3.494em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.65em, 1003.43em, 3.106em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1349" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1350" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1351" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-1352" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.65em; height: 0px; margin-right: 0.133em; margin-left: 0.133em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -2.841em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1353" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -1.484em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1354" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.844em, 1000.65em, 1.296em, -999.997em); top: -1.29em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.65em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.102em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-1355" style="font-family: MathJax_Main; padding-left: 0.262em;" data-tomark-pass="">=</span><span class="mn" id="MathJax-Span-1356" style="font-family: MathJax_Main; padding-left: 0.262em;" data-tomark-pass="">0.5</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.542em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac><mo data-tomark-pass="">=</mo><mn data-tomark-pass="">0.5</mn></mstyle></math> versus <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1357" style="width: 4.787em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 4.011em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.65em, 1004.01em, 3.106em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1358" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1359" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1360" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-1361" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.65em; height: 0px; margin-right: 0.133em; margin-left: 0.133em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -2.841em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1362" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -1.484em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1363" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.844em, 1000.65em, 1.296em, -999.997em); top: -1.29em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.65em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.102em;" data-tomark-pass=""></span></span></span></span><span class="mo" id="MathJax-Span-1364" style="font-family: MathJax_Main; padding-left: 0.262em;" data-tomark-pass="">&#x2248;</span><span class="mn" id="MathJax-Span-1365" style="font-family: MathJax_Main; padding-left: 0.262em;" data-tomark-pass="">0.67</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.619em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">2</mn><mn data-tomark-pass="">3</mn></mfrac><mo data-tomark-pass="">&#x2248;</mo><mn data-tomark-pass="">0.67</mn></mstyle></math>. |
| sw_fact(*a*) | returns the factorial of *a* |
| sw_finance(*a, opt1, opt2*) | loads the maxima package *finance* for making financial computations ([http://maxima.sourceforge.net/docs/manual/maxima_58.html](http://maxima.sourceforge.net/docs/manual/maxima_58.html)) with input *a* *opt1*: when `1`, the output is in tex, otherwise output is in maxima native syntax *opt2*: when output is in tex, set the tex type as per sw_maxima()'s second argument |
| sw_fraction(*a, b, opt1, opt2*) | gives a presentation of the fraction *a*/*b* as a simplified mixed fraction for asciimathml use of with *opt2* set to 1 in tex use. *opt1*: when 1, print as proper fraction, otherwise it is a mixed fraction (<nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1366" style="width: 1.102em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.908em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.65em, 1000.91em, 3.106em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1367" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1368" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1369" data-tomark-pass=""><span class="mfrac" id="MathJax-Span-1370" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.65em; height: 0px; margin-right: 0.133em; margin-left: 0.133em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -2.841em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1371" style="font-family: MathJax_Main;" data-tomark-pass="">3</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -1.484em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1372" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.844em, 1000.65em, 1.296em, -999.997em); top: -1.29em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.65em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.102em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.542em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mfrac data-tomark-pass=""><mn data-tomark-pass="">3</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math> instead of <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1373" style="width: 1.684em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 1.425em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(0.65em, 1001.42em, 3.106em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1374" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1375" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1376" data-tomark-pass=""><span class="mn" id="MathJax-Span-1377" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span class="mfrac" id="MathJax-Span-1378" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.65em; height: 0px; margin-right: 0.133em; margin-left: 0.133em;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -2.841em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1379" style="font-family: MathJax_Main;" data-tomark-pass="">1</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(1.361em, 1000.46em, 2.395em, -999.997em); top: -1.484em; left: 50%; margin-left: -0.255em;" data-tomark-pass=""><span class="mn" id="MathJax-Span-1380" style="font-family: MathJax_Main;" data-tomark-pass="">2</span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span><span style="position: absolute; clip: rect(0.844em, 1000.65em, 1.296em, -999.997em); top: -1.29em; left: 0em;" data-tomark-pass=""><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.65em; height: 0px;" data-tomark-pass=""></span><span style="display: inline-block; width: 0px; height: 1.102em;" data-tomark-pass=""></span></span></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.919em; border-left: 0px solid; width: 0px; height: 2.542em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" data-tomark-pass=""><mn data-tomark-pass="">1</mn><mfrac data-tomark-pass=""><mn data-tomark-pass="">1</mn><mn data-tomark-pass="">2</mn></mfrac></mstyle></math>) *opt2*: when 1, use tex syntax instead of asciimathml. |
| sw_gcd(*a,b*) | gcd of *a* and *b* (the return value is always a positive number.) *a* can also be an array (in that case, *b* is ignored). |
| sw_ge(*a, b*) | returns 1 if *a* is greater than or equal to *b*, otherwise it returns 0 |
| sw_gt(*a, b*) | returns 1 if *a* is greater than *b*, otherwise it returns 0 |
| sw_iplot("a") | displays a plot of one or more expressions in implicit form |
| sw_image("*a*") | get a placeholder for a background image (type png) for `sw_draw()`, where *a* is the path of the image you uploaded. In `sw_draw()`, you must set it in the user_preamble together with the settings you see in the following example that have to do with scaling sizeing of the background. e.g. `$image = sw_image(&quot;/images/uploads/exercises/100/sowiso.png&quot;)` and `sw_draw(&quot;dimensions=[400,200], user_preamble=\&quot;reset; set size ratio -1; set lmargin 0; set rmargin 0; set tmargin 0; set bmargin 0; unset tics; unset border; set label &apos;label 1&apos; at 25,157 front tc ls 1; $image \&quot; &quot;)` |
| sw_ilist(*a*, *b*) | searches for *b* in the array in the first argument and returns its index. Note that the first position is at index 0, e.g. `sw_list_index([4,5,6,7], 6)` returns `2` |
| sw_int(*a*) | returns the integer part of *a*, e.g. `sw_int(10.9382)` returns `10` |
| sw_lang("a") | a way to make use preset text values to make text in a variable multi-lingual. As an index, you can choose from "all", "none", "yes, "no", "indeed", "not" . e.g. `sw_lang(&quot;yes&quot;)` |
| sw_lang([*a*]) | a way to make text in a variable multi-lingual. Use with a list of strings, where index 0 is Dutch, 1 is English, 2 is French and 3 is Spanish. e.g. `sw_lang([&quot;twee&quot;,&quot;two&quot;,&quot;deux&quot;, &quot;dos&quot;])` |
| sw_lcm(*a,b*) | lcm of *a* and *b*. Optionally, a list of multiple integers can be supplied in the first argument like sw_lcm([2,4,8]) |
| sw_le(*a, b*) | returns 1 if *a* is less than or equal to *b*, otherwise it returns 0 |
| sw_logic(*a*) | can be used to call maxima with logic package loaded. e.g. `sw_logic(&quot; pcnf(not(p and q) implies (p or q) )&quot;)` returns `p or q` |
| sw_lsu(*a*, *b*) | returns the unit in the *b*-th significant place of *a*, e.g. `sw_lsu(9.7472, 4)` returns `0.001` |
| sw_lt(*a, b*) | returns 1 if *a* is less than *b*, otherwise it returns 0 |
| sw_mathml("*a*") | converts OpenMath object from string *a* to mathml |
| sw_maxima("*a*",*opt1*) | where *a* has to be of type string, that means with double quotes. Returns maxima interpretation of input in tex notation. Use for simplifying in text field and presentation form of maxima (native) syntax *opt1*: can be used to adjust the behaviour of the tex, where `traditional` is the default, `traditional_times` is without a \cdot like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1381" style="width: 0.326em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.262em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.684em, 1000.2em, 2.201em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1382" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1383" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1384" data-tomark-pass=""><span class="mo" id="MathJax-Span-1385" style="font-family: MathJax_Main;" data-tomark-pass="">&#x22C5;</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: 0.158em; border-left: 0px solid; width: 0px; height: 0.312em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mo data-tomark-pass="">&#x22C5;</mo></mstyle></math> for a multiplication `alphabetic` is the with maxima's setting `powerdisp:true` to ensure alphabetic ordering of variables and , `alphabetic_times` is the same but without a \cdot like <nobr aria-hidden="true" data-tomark-pass=""><span class="math" id="MathJax-Span-1386" style="width: 0.326em; display: inline-block;" data-tomark-pass=""><span style="display: inline-block; position: relative; width: 0.262em; height: 0px; font-size: 119%;" data-tomark-pass=""><span style="position: absolute; clip: rect(1.684em, 1000.2em, 2.201em, -999.997em); top: -2.195em; left: 0em;" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1387" data-tomark-pass=""><span class="mstyle" id="MathJax-Span-1388" data-tomark-pass=""><span class="mrow" id="MathJax-Span-1389" data-tomark-pass=""><span class="mo" id="MathJax-Span-1390" style="font-family: MathJax_Main;" data-tomark-pass="">&#x22C5;</span></span></span></span><span style="display: inline-block; width: 0px; height: 2.201em;" data-tomark-pass=""></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: 0.158em; border-left: 0px solid; width: 0px; height: 0.312em;" data-tomark-pass=""></span></span></nobr><math xmlns="http://www.w3.org/1998/Math/MathML" data-tomark-pass=""><mstyle displaystyle="true" scriptlevel="0" data-tomark-pass=""><mo data-tomark-pass="">&#x22C5;</mo></mstyle></math> for a multiplication or `raw` for the unchanged maxima tex function output. e.g. `sw_maxima(&quot;2/6&quot;)` returns `{{1}\over{3}}`, `sw_maxima(&quot;b*a&quot;, &quot;alphabetic_times&quot;)` returns `a\,b` |
| sw_maxima_native("*a*", *opt1*) | use native maxima to calculate a variable and maxima's *grind()* output. Use `true` for *opt1* to get maxima's full answer. e.g. `sw_maxima_native(&quot;diff(3*x^5,x)&quot;)` returns `15x^4` |
| sw_maxima_list(*a*,*opt1*,*opt2*) | converts a maxima list *a* into a string that can be interpreted by `sw_tex_list`. Set *opt1* to `true` to get output in tex, otherwise it is in maxima native syntax. Set *opt2* to `true` to get the output in unsimplified format, e.g. `2/2` remains `2/2`, otherwise it becomes `1`. In the Preview of the variable, an `Explode` option is offered. This will auto create variables, based on the values in the list that is defined in this sw_maxima_list function. If possible, the new variable will get an alias that is named after the corresponding value in the list. A suffix of `_tex` or `_max` will be added to the alias, based on the value of *opt1*. For instance, when the Definition of a variable is `sw_maxima_list(&quot;[variableA, variableB]&quot;)`, then two new variables will be generated with an alias `variableA_tex` and `variableB_tex`. |
| sw_name | gets the current user's first name. |
| sw_ne(*a, b*) | returns 1 if *a* is not equal *b*, otherwise it returns 0 |
| sw_normal(*a*) | normalises a domain *a*, which is in the logic expression form |
| sw_not(*a*) | returns 1 if *a* equals 0, otherwise it returns 0 |
| sw_number_of_divisors(*a, opt1, opt2*) | gives the number of divisors of number a *opt1*: when 1, also add self to the count *opt2*: when 1, also add 1 to the count |
| sw_openmath("*a*") | evaluates *a* and converts maxima syntax to an [OpenMath](http://OpenMath.org/) expression |
| sw_plot("a",b,"c") | plot functions in a in dimension b (2 or 3) with arguments c |
| sw_rand_sign(*a*) | *a* with random sign |
| sw_rand_sign(*a,b*) | random integer between *a* and *b* or *-a* and *-b* |
| sw_rand_exclude(*a,b,c*) | random integer between *a* and *b*, but not *c*, where *c* can be an integer or a list of integers, e.g. `sw_rand_exclude(1,10,[3,7])` |
| sw_rand_steps(*a, b, c*) | random integer between *a* and *b* with steps of *c* |
| sw_rand_divisors(*a, b*) | gives a random integer smaller or equal to *a* that has at least *b* divisors |
| sw_rand_float(*a*, *b*, *opt1*) | returns a random float between *a* and *b*. The optional argument *opt1* indicates to which significant digit the float should be rounded. Note that the number of displayed decimals also needs to be adjusted in the variable editor. |
| sw_rank(*a*, *b*) | returns the *b*-th largest item of the array in the first argument, e.g. `sw_rank([40,30,50,20], 2)` returns `40` |
| sw_round_sig(*a*, *b*) | returns *a* as a float rounded to *b* significant digits, e.g. `sw_round_sig(10.7673, 3)` returns `10.8`. To prevent setting the number of decimals of the output of `sw_round_sig()`, set the *decimals* field of the variable to `-1`. Note that we do not use scientific notation, so the output of `sw_round_sig(150, 1)` is `200`. |
| sw_root("a", *opt1*) | rewrites an expression with products, roots, sqrts, integers and divisions from maxima syntax to TeX in the form `(a/b)*sqrt[c](d)`. When *opt1* is set to `fraction` the output form will be `(a*sqrt[c](d))/b` |
| sw_R(*a*) | where *a* has to be of type string, that means with quotes. Returns stdout of the Rscript interpretation of the input. If the R code outputs several lines, the result will be an array. It is advised to use single quotes around the R code and double quotes for strings within the code, for example: `sw_R(&apos;x &lt;- list(a=&quot;hello&quot;); x$a&apos;)`. The problem with using double quotes is that variables within double quotes are replaced, for example `$a`. That means you cannot use a dollar sign in a string with double quotes! Some of the available packages are dplyr, ggplot2, readr, tibble, and purrr. For a full list of available packages, use `sw_R(&apos;installed.packages()[,0]&apos;)` in a variable definition and save. Generating files, like plots, CSVs or Rdata files is also supported. Just make sure you write to the directory `/tmp/sowiso/`. When successful, a relative url will be returned with the name of the file in the key. See [Create via R](/docs/mathematical-question-2#Create_via_R) for examples. |
| sw_shuffle(*a*, *opt1*) | shuffle the key/value pairs in the array/list *a* and output the shuffled list. e.g. `sw_shuffle([1,2,3])` can give `Array ( [1] =&gt; 2 [0] =&gt; 1 [2] =&gt; 3 )`. The function keeps the associated key value pairs intact, but optionally you can set the second argument *opt1* to `false` to reindex the new list, so then `sw_shuffle([1,2,3], false)` can give `Array ( [0] =&gt; 2 [1] =&gt; 1 [2] =&gt; 3 )`. |
| sw_sn(*a,b,opt1,opt2*) | scientific notation of number *a* with precision *b* and *opt1* as an optional argument `&apos;e&apos;` or `&apos;E&apos;` or `&apos;10&apos;` or `&apos;tex&apos;` (default `&apos;e&apos;`). `&apos;10&apos;` gives times 10nth power. `&apos;tex&apos;` as well, but then in TeX formatting. *opt2* is an optional argument for the rounding mode, where <kbd data-tomark-pass="">0</kbd> is the default and the scientific notation standard, meaning It rounds number in the proper scientific way. It rounds up if the next digit is greater than five. Rounds down if the next digit is less than five. If the next digit is five it rounds up half the time and down half the time based on whether the previous digit is even or odd. This ensures that cumulative rounding errors do not skew the data. <kbd data-tomark-pass="">1</kbd> is ROUND_HALF_UP Round *a* up to *b* decimal places away from zero, when it is half way there. Making 1.5 into 2 and -1.5 into -2. <kbd data-tomark-pass="">2</kbd> is ROUND_HALF_DOWN Round *a* down to *b* decimal places towards zero, when it is half way there. Making 1.5 into 1 and -1.5 into -1. <kbd data-tomark-pass="">3</kbd> is ROUND_HALF_EVEN Round *a* to *b* decimal places towards the next even value. <kbd data-tomark-pass="">4</kbd> is ROUND_HALF_ODD Round *a* to *b* decimal places towards the next odd value. |
| sw_tex_list(*a*,*b*) | returns the *b*-th element of a list a generated by `sm_maxima_list`, starting at index 1 (*b* > 0). |
| sw_vect(*a*) | loads the maxima package *vect* for vector analysis ([http://maxima.sourceforge.net/docs/manual/maxima_23.html#SEC119](http://maxima.sourceforge.net/docs/manual/maxima_23.html#SEC119)) with input *a*. For example, to calculate a cross product you can use `sw_vect(&quot;express([a,b,c]~[c,a,b])&quot;)` |
