STACK, change of validation

Re: STACK, change of validation

by Christopher Sangwin -
Number of replies: 3
Picture of Particularly helpful Moodlers Picture of Plugin developers

Stephan,

We do already have an option here: https://github.com/maths/moodle-qtype_stack/blob/master/stack/options.class.php#L285

which is implemented here: https://github.com/maths/moodle-qtype_stack/blob/master/stack/maxima/stackmaxima.mac#L233

So, if you have chosen that option at a question level then it should reflect validation display.  If you want another (!) choice through this option it should be straightforward to add it in parallel to the existing choices.

Chris


In reply to Christopher Sangwin

Re: STACK, change of validation

by Stephan Bach -

Hi Chris, 

thanks for answering. I do know this option and I am already using it. But I was surprised to see in the implementation, that the display of inverse hyperbolic functions (with the option "arccos") as "\\rm arcsinh", "\\rm arccosh" etc. is on purpose. I'm irritated to have "arc" instead of "ar" here, because inverse hyperbolic sine and cosine are actually giving areas and not arcs as inverse sine and cosine do.

Would anyone like to use \(\mathrm {arcsinh}\) instead of \(\mathrm {arsinh}\) for the inverse hyperbolic sine at all? If not one could just replace "arc" with "ar" for the six inverse hyperbolic functions in the implementation. 

(Otherwise it would be nice to have an extra option, which allows to display inverse trigonometric functions with "arc" and inverse hyperbolic functions with "ar".)

Stephan

In reply to Stephan Bach

Re: STACK, change of validation

by Christopher Sangwin -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Ok, well maybe this is simply a mistake/bug as they are listed here as "arsinh" and not "arcsinh".  https://en.wikipedia.org/wiki/Inverse_hyperbolic_functions#Logarithmic_representation  The question as you rightly ask is should we have "arc..." at all?!

This really is only a query about the hyperbolic versions?

Chris

In reply to Christopher Sangwin

Re: STACK, change of validation

by Stephan Bach -

It is only about the hyperbolic versions; because there is no mathematical reason to call their inverse functions "arc". Maybe the mistake only happened because some of the hyperbolic functions start with a "c" (cosh, coth, csch) and then the inverse function somehow looks like having an "arc".

I think it would be consistent and in line with many textbooks (and wikipedia) if the display option would render inverse trigonometric functions with "arc" and inverse hyperbolic functions with "ar".

Stephan