I'm trying to do a math activity in Moodle using Ardora as the creator of the activities. It does the part of javascript, css and html by me, so the language activities are "simple". My problem is in math activities, because I need to pass formulas through the parameters and make the appropriate comparisons (question and answer) to see if the student is correct or not.
I have the files, I have already located where I have to change, but I can not (or know) what and how to change.
I'll give an example of what the activity should look like
Questions: Answers: Kitty Puppy Chovinista Cat Pork Max
On the one hand, I have the column with the questions and the other, the answers, in which the students must drag to the appropriate fields and make the associations. For example, Max should go with Dog, Kitty with Cat and Chovinist with Pig.
I have to do the same thing, but drawing mathematical formulas, for example:
1 + 2 = 5 1/2 = 0.5 5 * 1 = 3
In this type of example, since I did not use formulas, it is easy to do. Now when I have to use the math expressions, I have to be able to put this on the screen in the formulas formulas (I tried to play a js that formats the tex in html), and nothing.
I wanted to do something like this:
ax^2 + bx + c = 0
srqt(8)
\frac(8)\(1)
Can you help me? If you need more details I'll pass. If the explanation or problem is not clear, I try to improve writing.