@mschneider Thank you for that. You would not have to do it if Mobius allowed to select text entry ONLY, for formulas. Why they do not allow it is a mystery to me.
Pierre
@Pierre
Posts made by Pierre
-
RE: Maple syntax and Formula entry and exponential
-
RE: Maple syntax and Formula entry and exponential
You are correct the missing * (typing * produces a dot in symbolic mode) is what the problem was. However, this is a bit of an issue, not only because a multiply should not be necessary but also because if I go the other way round I get:
Step1: Input in text mode:
Step2: Press the Sigma button you get
Step 3: Press the Sigma button again you get:
Step4: Press the sigma button again you get
A cycle is reached. What you get at Step 2 seems to be what you can produce yourself using the symbolic mode. However, as you mentioned you need to introduce a multiply sign but...there is no multiply sign (at least a visible sign) in the step 2 interface. Curiouser and curiouser.
-
RE: Maple syntax and Formula entry and exponential
Thank you for this reply. I quite like the text entry mode for formulas as it enables to simplify the input, i.e. not needing multiply signs (students grumble about having to write 3*x instead of 3x if I impose Maple entry) and using e for exponential. However in this case I cannot disable the symbolic entry (I really do not know why they decided to do that).
-
RE: Maple syntax and Formula entry and exponential
It seems this is a bug and students should not use symbolic entry. If I enter:
Then I press the sigma icon to see this translated as text entry I get:
I wish I could disable symbolic entry.
-
Maple syntax and Formula entry and exponential
Here is the execution of a question that I decided could accept a Formula with Text or Symbolic input.
Entering the answer as Text:Entering the answer using the editor (Symbolic entry):
So perhaps I should restrict to Maple Syntax as the entry mode must be Text OR Symbolic, but not both (Why?).
However, this is an example of a question randomly generated and some of the instances produced involve the exponential function, and Maple Syntax will not recognize e^x.
The code for grading is evalb(simplify(($ANSWER)-($RESPONSE),symbolic)=0); In the above case even if you removed the symbolic option the graded will be correct for Text entry as there are no bifurcation in simplification.
Another issue is the following (see picture below). You get an inconsistent gradebook. Here a student got the mark for a question but the feedback says the mark is 0.
Students have three attempts at a question with penalties for each incorrect attempt (which is implemented using the adaptative question system). I suspect that the student did not try to press the verify button, and because of the selection of "Force grading" was used in the test a default grading procedure may have been employed and it has nothing to do with the Maple graded procedure provided in the question(?)In any case I would not mind imposing just Maple syntax with Text entry only (Formula with Text entry is not available) provided it could allow use of e^x (instead of exp(x)) (which it does when using the Formula option and enter in Text mode!)
I may write a Maple function to transform a Text input by replacing e^XXX with exp(XXX) before marking, but I would assume that this functionality is already provided? Or has anyone a simple solution?
-
Network plot, Hasse diagram.
I have been using this to create a plot of a network:
$graph=plotmaple("plottools[rotate](GraphTheory[DrawNetwork](GraphTheory[Digraph]($cove),stylesheet=[arrowsize = 18]),Pi)");
The reason I rotate is because I was initially interested in plotting a Hasse diagram. However, it seems the DrawNetwork function does not really draw an acyclic graph by levels: an acyclic graph can be associated with a poset and as a consequence can be displayed by levels like in a Hasse Diagram, where the vertices with no ingoing arcs are displayed at the bottom level, then once these vertices are removed the remaining vertices with in-degree 0 are placed at the next level, and so on until all the vertices have ben placed. I would be grateful if there was a solution for this.
However the other issue is that I don't seeem to be able to reduce the thickness of the lines drawn. I tried the option thicness = 0 as part of the stylesheet list with no avail. The image is as follows:If I could create a proper Hasse diagram this would look like this:
-
RE: GraphTheory package and API
I have come to realise there are limitations on what mapleplot can do, but I have not found a clear documentation about it. I'll repost a question on what I am trying to do in the other forum about writing questions.
-
GraphTheory package and API
What version of Maple is used by the API? I created a library that uses the GraphTheory package of Maple2021. It seems the Maple API does not use this package as it does not recognise various options, e.g. it does not accept loops in digraphs,and does not accept the selfloops parameter, and it does not recognise the network option when drawing graphs.
I'll be grateful if someone could shed light on that.