**News**

**Working with MUMIE as author**

- Initial steps:
- Articles:
- Problems:
- Programming with Python
- New Visualizations with JSXGraph
- Old Visualizations:
- Media Documents:

**Working with MUMIE as teacher**

**Using MUMIE via plugin in local LMS**

**FAQ**

Mumie Wiki

You're not logged in

**Working with MUMIE as author**

- Initial steps:
- Articles:
- Problems:
- Programming with Python
- New Visualizations with JSXGraph
- Old Visualizations:
- Media Documents:

**Working with MUMIE as teacher**

**Using MUMIE via plugin in local LMS**

**FAQ**

We revise and update this wiki. We apologize for the inconvenience this may cause you.

You're not reading the latest revision of this page, which is here.

Consider the case that the answer to a problem is an interval or an union of disjoint intervals.

The optional TeX command `\allowIntervalUnionsForInput[true]`

enables the option that the student's answer can be given by the union of multiple intervals.

The solution is defined by a left and a right boundary , both seperated by a semicolon.

symbol | |
---|---|

open left boundary | `(` or `]` |

closed left boundary | `[` |

open right boundary | `)` or `[` |

closed right boundary | `]` |

e.g. `\solution{(-1;1]}`

, `\solution{]-1;1]}`

(same interval as the first one), `\solution{(myVar;100[}`

The correct solution as an union of multiple disjoint intervals can be given by separating them with a comma. E.g. `\solution{(-infinity;2],[3;infinity)}`

Be aware that this is only possible if the optional command `\allowIntervalUnionsForInput[true]`

is used.

12345678910 `\begin{question}`

` `

`\text{Write down the interval from 1 to 3:}`

` `

`\type{input.interval}`

` `

`\begin{answer}`

` `

`\text{ A = }`

` `

`\solution{[1;3]}`

` `

`\end{answer}`

`\end{question}`

123456789 `\begin{question}`

` `

`\begin{answer}`

` `

`\text{input.interval: $[1;4) = $}`

` `

`\allowIntervalUnionsForInput`

` `

`\solution{[1;4)}`

` `

`\end{answer}`

`\end{question}`

If you want that the solution and/or the answer boundaries can be written as multiple of π use the command `\allowForInput{pi}`

.

12345 `\begin{answer}`

` `

`\text{input.interval: $[\pi;4\cdot\pi) = $}`

` `

`\allowForInput{pi}`

` `

`\solution{[pi;4*pi)}`

`\end{answer}`

Updated by **Michael Heimann**, **2 years, 10 months ago **– 38e54bf