... |
... |
@@ -267,8 +267,8 @@ Example: |
267 |
267 |
|
268 |
268 |
For passing a variable having a number value (type _number_, _slider_, _segment_, _angle_ or _polygon_) or a function value (type _function_) as answer to the problem, one uses the attribute `\answer{varname}{questionnr,answernr}` (see example below) in the same way as one defines colors or labels for variables. |
269 |
269 |
|
270 |
|
-In the problem, the answer-type of the specific answer has to be set to _graphics.number_ or _graphics.function_. |
271 |
|
-The correction of answers of type _graphics.number_ is done in the same way as for _input.number_, and the correction of answers of type _graphics.function_ is done in the same way as for _input.function_. The only difference is that the student's solution is not given by input, but is passed to the problem from the visualization. |
|
270 |
+In the problem, the answer-type of the specific answer has to be set to _graphics.number_, _graphics.function_ or _graphics.matrix_. |
|
271 |
+The correction of answers of type _graphics.number_ is done in the same way as for _input.number_, the correction of answers of type _graphics.function_ is done in the same way as for _input.function_ and the correction of answers of type _graphics.matrix_ is done in the same way as for _input.matrix_. The only difference is that the student's solution is not given by input, but is passed to the problem from the visualization. |
272 |
272 |
|
273 |
273 |
As in the `\question`-command, the value of `questionnr` in `\answer{varname}{questionnr,answernr}` is the number of the question in your tex-document, regardless whether you are using randomquestionpools or not. |
274 |
274 |
|
275 |
275 |
|