How to get superscript and formulas to show in calculated multichoice answers

How to get superscript and formulas to show in calculated multichoice answers

بذریعہ Craig Mackey -
جوابات کی تعداد: 3

I would like to author a range of calculated multichoice questions for, to begin with, binomial products like:


(x-3)(x+2)=

  • \( x^2-x-6 \)
  • \(x^2-x+2 \)

etc.


In the future I would like to extend this concept to all sorts of equations.


Unfortunately I can't get the powers (at this stage) and equations to display for the answer options. Is there a way this can be done.


Thanks in advance

Craig.

درجہ بندی کا اوسط: -
Craig Mackey کے جواب میں

Re: How to get superscript and formulas to show in calculated multichoice answers

بذریعہ Tim Hunt -
Core developers کی تصویر Documentation writers کی تصویر Particularly helpful Moodlers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر

I think that, if you are aiming at that level of sophistication, you should probably look at STACK or formulas question type.

درجہ بندی کا اوسط:Useful (2)
Tim Hunt کے جواب میں

Re: How to get superscript and formulas to show in calculated multichoice answers

بذریعہ Craig Mackey -
Hi Tim,

I have been investigating the STACK questipn type for a couple of weeks now and can't get past this error:

CAS failed to return any data. ans1:3*(x-1)^2

This is the case on my both of my test servers (Ubuntu 14.04lts and 16.04 lts) with a variety of moodles (3.1, 3.2 and 3.3).

I have tried to copy the sample question from here https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Authoring/Authoring_quick_start.md but with no joy.

Are there any tricks I need to implement to get the CAS working on the server (ubuntu says maxima is installed), on the 14.04 server this is maxima version 5.32.1

Below are some screenshots of my question form:

Thanks again.
Craig.




Craig Mackey کے جواب میں

Re: How to get superscript and formulas to show in calculated multichoice answers

بذریعہ Tim Hunt -
Core developers کی تصویر Documentation writers کی تصویر Particularly helpful Moodlers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر

Have you followed the install instructions (https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/Installation/index.md)? It can be a pain to set up, but that is the price you pay for the power it brings. Fortunately, setting it up only has to be done once, and the instructions are quite good.

The main tool for getting it working is the healthcheck script, which is covered in the instructions.

Also, most discussion of STACK in these forums takes place under 'Mathematics tools' (https://moodle.org/mod/forum/view.php?id=752) rather than here, so try posting there if you still have problems.

درجہ بندی کا اوسط:Useful (1)