I am using stacks in moodle. I am trying to form the question along with units. Let the answer be 3300 Hz. So the question variables are:
loes0: 3300
loes1: significantfigures(loes0,2);
loes2: stackunits(loes1,Hz);
The input type is 'Units' and the answer test 'Units relative' with 5% tolerance. When I try to fill in the following answers, I get the error as the answer is wrong. And the interpreted answer is displayed as a matrix after I submit my answer.
- 3.3*10^3 1/s ------- is not understood correctly, is regarded as a matrix.
- 3.3*10e2 1/s ------- is not understood correctly, is regarded as a matrix.
But following answers are identified correctly:
- 3.3e3 1/s ------------ is understood correctly (with e2 without multiplication)
- (3.3*10^3) 1/s ----- is understood correctly (with brackets).
- 3.3*10^3 /s --------- is understood correctly (without 1 at the unit).
I am not sure what I am doing wrong. PS: When I choose the input type as 'Algebraic input', all the above answers are accepted.
Please let me know, what am I doing wrong.