diff --git a/doc/en/CAS/Numbers.md b/doc/en/CAS/Numbers.md index f1bbec4a889..c8315f01344 100644 --- a/doc/en/CAS/Numbers.md +++ b/doc/en/CAS/Numbers.md @@ -22,7 +22,7 @@ Optionally, depending on the question settings, you have i: %i j: %i -Sometimes you need to use \(e\), or other constants, as an abstract symbol not a number. The Maxima solution is to use the `kill()` command, but for security reasons users of STACK are not permitted to use this function. Instead use `stack_reset_vars(true)` in the question variables. This resets all the special constants defined by STACK so the symbols can be redefined in an individual STACK question. (On Maxima 5.42.1 (and possibly others) `stack_reset_vars(true)` also resets `ordergreat`, so if you need to use `stack_reset_vars(true)` it must be the first command the question variables. Since this has been fixed in Maxima 5.44.0, it was probably a bug in Maxima.) +Sometimes you need to use \(e\), or other constants, as an abstract symbol not a number. The Maxima solution is to use the `kill()` command, but for security reasons users of STACK are not permitted to use this function. Instead use `stack_reset_vars(true)` in the question variables. This resets all the special constants defined by STACK so the symbols can be redefined in an individual STACK question. (On Maxima 5.42.1 (and possibly others) `stack_reset_vars(true)` also resets `ordergreat`, so if you need to use `stack_reset_vars(true)` it must be the first command in the question variables. Since this has been fixed in Maxima 5.44.0, it was probably a bug in Maxima.) If you want to change the display of the constant \(e\) you need to refer to the `%e%` value, e.g. `texput(%e, "\mathrm{e}");`. diff --git a/doc/en/CAS/Simplification.md b/doc/en/CAS/Simplification.md index 66375ea6a7c..f915a8f6d88 100644 --- a/doc/en/CAS/Simplification.md +++ b/doc/en/CAS/Simplification.md @@ -269,7 +269,7 @@ The first of these does not pull out a numerical denominator. The second does. ### Trig simplification ### -Maxima does have the ability to make assumptions, e.g. to assume that \(n\) is an integer and then simplify \(3\cos(n\pi/2)^2\) to \( \frac{3}{2}(1+(-1)^n)\). Assume the student's answer is `ans1` then then define the following feedback variables: +Maxima does have the ability to make assumptions, e.g. to assume that \(n\) is an integer and then simplify \(3\cos(n\pi/2)^2\) to \( \frac{3}{2}(1+(-1)^n)\). Assume the student's answer is `ans1` then define the following feedback variables: declare(n,integer); sans1:ev(trigrat(ans1),simp); diff --git a/doc/en/Developer/Security_map.md b/doc/en/Developer/Security_map.md index 696b35b3a23..62c39ab438b 100644 --- a/doc/en/Developer/Security_map.md +++ b/doc/en/Developer/Security_map.md @@ -10,8 +10,8 @@ for somewhat obvious reasons! Hence, we need to restrict the availability of ce 2. Teacher. Teacher's answers cannot contain these, but they are not a security risk. Usually these have side effects within the Maxima code, e.g. setting a global variable which might cause problems later/elsewhere. 3. Student. Student's expressions can only contain these. -Since STACK 4.3 the Maxima statement parser infrastruture uses a JSON file -describing all identifiers of functions, variables, constants, and operators +Since STACK 4.3 the Maxima statement parser infrastructure uses a JSON file +describing all identifiers of functions, variables, constants and operators and features we attach to them. The catalogue is stored in stack/cas/security-map.json