I am building a lesson about negative exponents. I want students to input answers as a fraction with an exponent. I can’t figure out how to make only an answer in fraction form with the exponent to be correct. Currently they can input several answers that equal the same numeric value.
Try this to use for checking accuracy:
this.latex=\frac{1}{10^3}
This is what I tried:
disableEvaluation: true
correct: answer1.submitted and answer1.latex=“\frac{1}{10^3}”
I’m pretty new at this so I’m not sure I understand how it should go there, but this didn’t work.
Sorry, didn’t realize that it doesn’t show up right! Use the little apostrophes next to the number 1 on your keyboard for latex, not " ".
That worked, thanks for your help.
A tip to community members. If you want the backticks to display as part of your sample code in your comment, surround your code with triple backticks. For multiline code, place them on the lines before and after your block. This `example` is inline.
Here is a block
... with some `backticks`.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.