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

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

by Tim Hunt -
Number of replies: 2
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

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

Average of ratings: Useful (2)
In reply to Tim Hunt

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

by 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.




In reply to Craig Mackey

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

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.

Average of ratings: Useful (1)