## News

Index

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

Overview

Go back to the old wiki

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

# Interval

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.

# Solution syntax

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.

## Examples

12345\begin{answer}    \type{input.interval}    \text{Write down the interval from 1 to 3:}    \solution{[1;3]}\end{answer}  123456\begin{answer}    \type{input.interval}    \text{input.interval: $[1;4) =$}    \allowIntervalUnionsForInput    \solution{[1;4)}\end{answer} 

More Examples

# Multiple of π as interval boundaries

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

## Example

123456\begin{answer}      \type{input.interval}    \text{input.interval: $[\pi;4\cdot\pi) =$}    \allowForInput{pi}    \solution{[pi;4*pi)}\end{answer}