You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
This document contains an overview of the functionality of Ximera. It can also serve
as a testcase, and as a source to copy pieces of code from.
You are using the ONLINE version of the course; there are also PDF versions.
Exercises and interactive content
Solve the following questions that use the command \answer (and compare the
LaTeXcode with the PDF and the online version):
A simple exercise with \answer{2}. Note that 1+1 is also a correct answer.
With \answer[format=integer]{2} you can no longer enter 1+1.
Here \answer[given]{2} is used, so that the answer is also in the handout. In the
standard PDF, an additional block is added to make it stand out. Online there is no
difference with \answer{2}
and and
Here \answer{\frac{1}{2}}, respectively \answer{1/2} and \answer{0.5} are
used.
In each case, the same answers are correct, so both and as, for example,
.
Use a point to enter decimals. Whether there is a comma or point in the exercise, you decide for yourself.
CAUTION: Use only \frac for fractions (and not \dfrac, because that doesn’t work
online. But \answer does work in display mode, and then you get the \dfrac output
with the answer.)
Enter the square root of to the power of :
Here \answer[onlineshowanswerbutton]{\sqrt{x^{\log 2}}} is used, so that
more complex answers can be entered, but with \answer[onlineshowanswerbutton]
you can also directly show the correct answer via an additional key.
The result of the exercise will then be worthless: the answer is always correct ...
(unless the author has made a mistake).
Write with a summation the sum of the square roots of the numbers to each to the
power of :
With \answer[onlinenoinput]{\sum_x^{x=100}(\sqrt{x^{\log 2}})} not even
an input field is provided for complex answers. With \answer[onlinenoinput] only
a button ’Show Answer’ appears, you can’t enter anything.
Use \answer[tolerance=.05]{0.33} to tolerate rounding. You may deviate by 0.05.
Solve the following multiple choice questions:
neither of the first two optionsthe third option
The command \wordchoice provides a dropdown in HTML.
neither of the previous answersthe previous answer
The \begin{multipleChoice} command provides a table in HTML with a
maximum of one choice. There can be multiple correct answers!
neither of the previous answersthe previous answer
The \begin{selectAll} command provides a table in HTML where all correct
choices must be selected.
Solve the following more difficult questions with hints and feedback. Compare the questions in the PDF with the online version.
neither of the previous answersthe previous answer
By definition, , and addition is associative.
For we have introduced a shorter notation.
Congratulations, you can already calculate very well! Keep it up. This feedback only
appears for a correct answer.
If then
The answer is an integer, but first try for example , and then an incorrect integer, for
example .)
[0] Have you tried yet (because then you get very useful feedback!)
Review the answer to the previous question for the precise meaning of the symbol !
[3] This is just elementary addition, yes ....
Correct!
The organization would like to sincerely thank you for your commendable attempt
to answer this question.
(This feedback with [attempt] appears with every attempted answer.)
Well, you follow the instructions very accurately. But we also provide interesting
feedback for other incorrect answers.
(This feedback with [y==7] appears only with an attempted answer of .)
Congratulations. You have mastered this module sufficiently. You are now well
prepared to move on to the fascinating problem of HoTT
(This feedback with [y==8] appears only with the correct answer.)
Mmm, that’s a bit too little. Check your calculations again.
(This feedback with [y<7] appears only with an answer that is too small.)
Mmm, that’s a bit too much. Check your calculations again.
(This feedback with [y>7] appears only with an answer that is too large.)
Some answers are too difficult to be entered, and then \answer[onlinenoinput]
only shows a ’Show Answer’ button:
Write with a summation the sum of the square roots of the numbers to each to the
power of :
Solution:
Here comes a solution to the exercise.
Sometimes answers can be entered, but it is not necessarily useful, and then
\answer[onlineshowanswerbutton] shows an additional key to display the correct
answer:
Write the square root of to the power of ?
Solution:
[show] Here comes a solution to the exercise.
Hyperlinks and references
Now notice that we can refer you to all sorts of places: