Hi @steen. Do you have a minimal example of a math app that you want this for. I think this is possible if you deal with everything as strings and use try/catch. We had some luck parsing maple errors a few weeks ago so that might be useful to you, but I need to understand the exact use case a little more.

Posts made by jmtrik
-
RE: Handling input errors via startup codes
-
RE: Sketch graph where student defines axis
@Grapheur If you are grading manually would a scanned document(i.e. file upload) question type work? If this is not what you are looking for, please could you provide more details on how the students would enter information into the graph?
-
RE: Laplace questions
@Metahofzicht There are a few questions in this course module for Intro to Control Systems. IntroToControlSystems.zip
-
RE: How to import Geogebra files, Cabri files into Mobius
I have found success using iframes and the geogebra materials system. You can embed any of the apps on geogebra.org/materials and you can upload your own. To find the embed code, choose an app on geogebra.org/materials, click the share icon in the top corner of the page and choose the embed tab. It should look something like the screenshot below
Below is an example embedding code.
<iframe scrolling="no" title="Dot Plot Tool" src="https://www.geogebra.org/material/iframe/id/HD6hhQ75/width/1024/height/390/border/888888/smb/false/stb/false/stbh/false/ai/false/asb/false/sri/false/rc/false/ld/false/sdz/false/ctl/false" width="1024px" height="390px" style="border:0px;"> </iframe>
To get this into Möbius you need to switch to source view in the question text area of the question designer. You can paste this code into the question where you want the geogebra app to display. You will need to preview the question to see it working.
-
RE: Using JS from github in HTML questions.
@mschneider did you manage to get this working. If not, let me know and I'll help you fix it.
-
RE: How to distinguish "No Answer" and wrong answers in gradebooks
@hig3 Hi, it shouldn't grade the rest of the assignment incorrectly if a student doesn't enter an answer. Can you share some screenshots of what you are seeing?
-
Template for embedding geogebra (simple version)
Here is the question. You can import it and see how it works. To load you own app you will need to upload it to geogebra and then find the material id.
-
RE: Clipping of Fractions when generating MathML Multiple Choice Interval Notation questions
You can try using latex instead.
In the algorithm section write
$ansmathml1 = "\left(-\infty, \dfrac{1}{6}\right]"; $ansmathml2 = "\left(-\infty, \dfrac{1}{6}\right)";
Then in the answer boxes put for example
\( $ansmathml1 \)
Here is the result.
-
RE: Clipping of Fractions when generating MathML Multiple Choice Interval Notation questions
@EntilzaV Sorry. I can't get this url to work. Could you try again please?
-
RE: Clipping of Fractions when generating MathML Multiple Choice Interval Notation questions
You should be able to drag a file into the editor window and it should then place a hyperlink to the file in the post. You may need to wait a few seconds if it is a large file. You could also try using https://www.file.io/ or equivalent service and pasting a link here.
-
RE: Clipping of Fractions when generating MathML Multiple Choice Interval Notation questions
Can you export the question and post it so I can see if I can replicate you issue?
-
Transforming Online Education - Maple T.A. and Möbius User Summit, London, 7th & 8th September
Hi everyone in the Maple T.A. and Möbius Community. I want to kick off the inspiration section of the community with a great opportunity to learn from experts and other innovators in the Online Education space. With this in mind I am very pleased to announce that I’ll be presenting at the Maple T.A. and Möbius User Summit in London this September. It’ll be a great opportunity to get the community together – and a chance to meet directly with Maplesoft product teams and management.
Themes will include:
· The Successful Delivery of Online Education
· Best Practices for Digital Testing and Assessment
· Creating Engaging and Interactive Online STEM Content
Full details are here: www.maplesoft.com/londonsummit
If you’re interested in attending let me know – I can provide community members with a discount for 35% off the registration fee.
There’s an Early Bird offer running till 30th June too, so if you book fast, you can benefit from both discounts. -
RE: Clipping of Fractions when generating MathML Multiple Choice Interval Notation questions
Have you tried the built in Maple MathML generator? If you maple expression is stored in $expr then try this.
$expr="sin(x)/x"; #exprD=maple("printf(MathML[ExportPresentation]($expr))");
-
Generating latex from expressions
Maple has a latex function that can generate latex from a maple expression. This feature can be very useful in Maple T.A..
To generate latex from your expression you can use the following code in your algorithm section.
$expr=maple("printf(latex(sin(x)/x^2, output = string))");
This results in
To use the latex in your question text you need to wrap it in the latex delimiters.
What is the differential of \( $expr \) ?
The result will be
-
RE: 'Wildcard' in Grading Code
@Metahofzicht I've added a few cases.
You should receive
- 1.0 for H[m]*sqrt(3)/4*a^2*L*rho or where sqrt(3)/4*a^2 has been replaced by A
- 0.5 if you answer H[m]*a^2*L*rho 0.5 if you answer H[m]*C*a^2*L*rho, where C is any constant (you could set this to give the grade 0.25)
- 0 otherwise
I used this algorithm, where I've defined the grading code. Note I have different cases for C=1 and C= any other constant.
$TA = "H[m]*sqrt(3)/4*a^2*L*rho"; $TApartial1="H[m]*a^2*L*rho"; $subslist = "A=sqrt(3)/4*a^2"; #define grading code function $gc=maple(" proc(TA,TApartial1,subslist,RESPONSE) if evalb(simplify(algsubs(subslist,RESPONSE) = TA)) then 1.0; elif evalb(simplify(algsubs(subslist,RESPONSE) = TApartial1)) then 0.5; elif evalb(simplify(RESPONSE = 0)) then 0.0; elif type(simplify(algsubs(subslist,RESPONSE)/TApartial1),constant) then 0.25; else 0; end if ;end proc; ");
And the I have used a Maple-graded question with Maple-syntax and the following grading code.
$gc($TA,$TApartial1,$subslist,$RESPONSE)
Here is the Maple T.A. question Partgradfactorexample2.zip
-
RE: 'Wildcard' in Grading Code
@Metahofzicht Is this for a different question? Is this another example of partial expression grading?
-
RE: 'Wildcard' in Grading Code
@Metahofzicht This code should work but depending on your use case you may need to tweak it a bit. Often the easiest way to think about grading code is through the unit tests. For example, here are the unit tests that I used to test this grading code. What ever code I write must give the correct grade for the all the unit tests.
Unit Tests
Teacher's Answer Student's Answer Expected Grade
k*rho/E*sqrt(2*L^2/S) k*rho/E*sqrt(2*L^2/S) 1.0
k*rho/E*sqrt(2*L^2/S) k*rho/E*sqrt(L^2/S) 0.5
k*rho/E*sqrt(2*L^2/S) 0 0If you add some other cases to this list, we can further refine the grading code.
-
RE: 'Wildcard' in Grading Code
Hi @Metahofzicht. Here is a way to do this in Maple. I have attached a working version for Maple T.A..
fact:=k*rho/E; TA:=fact*sqrt(2*L^2/S); if TA = RESPONSE then 1.0; elif algsubs(fact = 1,RESPONSE) <> RESPONSE then 0.5; else 0; end if
-
RE: Using *.mla repositories in MathApps
Does loading the mla file from a https/http server work in desktop Maple?