}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Example show/hide explanation}
You can provide additional information that only appears at certain times by including a "showhide" flag.
\edXshowhide{sh1}{More explanation}{This is a hidden explanation. It
can contain equations, such as $\alpha = \frac{2}{\sqrt{1+\gamma}}$ }.
This is additional text after the hidden explanation.
markdown: !!null
data: |
If you have a problem that is already written in LaTeX, you can use this problem type to easily convert your code into XML. After you paste your code into the LaTeX editor, you only need to make a few minor adjustments.
For more information, see Problem Written in LaTeX in Building and Running an Open edX Course.
You can use the following example problems as models.
Example Option Problem
Explanation
India became an independent nation on August 15, 1947.
Example Multiple Choice Problem
Explanation
According to September 2014 estimates:
The population of Indonesia is approximately 250 million.
The population of Brazil is approximately 200 million.
The population of Russia is approximately 146 million.
The population of Germany is approximately 81 million.
Example Math Expression Problem
What is Einstein's equation for the energy equivalent of a mass [mathjaxinline]m[/mathjaxinline]?
Example Numerical Problem
Example Fill-in-the-Blank Problem
Explanation
Nanjing Higher Normal Institute first admitted female students in 1920.
Example Custom Python-Evaluated Input Problem
Enter two integers that sum to 10.
Explanation
Any set of integers on the line \(y = 10 - x\) satisfy these constraints.
Enter two integers that sum to 20.
Explanation
Any set of integers on the line \(y = 20 - x\) satisfy these constraints.
To add an image to the solution, use an HTML "img" tag. Make sure to include alt text.
Example Image Mapped Input Problem
What country is home to the Great Pyramid of Giza as well as the cities of Cairo and Memphis? Click the country on the map below.
Explanation
Egypt is home to not only the Pyramids, Cairo, and Memphis, but also the Sphinx and the ancient Royal Library of Alexandria.
Example Hidden Explanation
You can provide additional information that only appears at certain times by including a "showhide" flag.
| More Information [show] |
|---|