
For example, to call the algebraic equivalence (AlgEquiv) answer test you need to use ATAlgEquiv(x^2+2,x*(x+1)) To call an answer test directly from Maxima, you need to use the correct function name. The valid field is used to render an attempt invalid, not wrong. Informally, the answer tests have the following syntax = AnswerTest(StudentAnswer, TeacherAnswer, Opt)Īctually the results returned in Maxima are = AnswerTest(StudentAnswer, TeacherAnswer, Opt)Įrrors are echoed to the console, and are trapped by another mechanism. Please make sure you read the page on answer tests first. Using load("stacklocal") in any worksheet will load the STACK environement. If rand returns unevaluated, then you have not loaded the libraries correctly.Īn alternative approach on a Microsoft operating system is to copy the contents of (a working) sandbox.wmx file into a %USERPROFILE%/Maxima/stacklocal.mac You can test this out by using, for example, the rand() function. If you see something like the following you have set this up correctly (version numbers will vary). Execute the sandbox file with wxMaxima when you have updated the settings with cell > Evaluate all cells. Note, the backslash character \ is a control character so you will need to edit the path to replace the \ with / in wxMaxima. Otherwise open sandbox.wmx with wxMaxima and follow the further instructions it contains to setup the path for Maxima. The sandbox.wmx should work without further adjustment. clone or unzip the download) into c:/tmp/stackroot On a Microsoft operating system, if you place the all the files (i.e. Your goals are (i) to set Maxima's path so it can find all the files you have downloaded, and (ii) to load the file stack/maxima/stackmaxima.macĬopy sandbox.wmx somewhere you can find it later and edit this file to reflect the location of the above file on your local machine. This directory also contains the wxMaxima file sandbox.wmx which is the "sandbox" interface file. The only files you need to run the sandbox are contained within the directory stack/maxima/
#Maxima for mac download#
Download all the STACK files from GitHub (git clone or as a.

You will need to download the STACK files onto your local machine.
#Maxima for mac install#
The first step is to install wxMaxima on your local machine ().

You may also want to copy some of your local settings from the server to your local machine to ensure an identical setup, but this is not strictly necessary for most purposes. To do this you will need to load the libraries of Maxima functions specific to STACK. This is also used in reporting and analysis of students' responses.
#Maxima for mac code#
You can copy the Maxima code from the question testing page into the sandbox for offline testing and debugging of a question. That is to say, to run a desktop version of Maxima with the local settings and STACK specific functions loaded. It is very useful when authoring questions to be able to test out Maxima code on your local machine in the same environment in which STACK uses Maxima on your server. STACK Documentation Documentation home | Category index | Site map STACK - Maxima Sandbox
