DanThrane / tekvideo.sdu.dk

http://tekvideo.sdu.dk
1 stars 3 forks source link

New exercise answer types #120

Open henrikmidtiby opened 7 years ago

henrikmidtiby commented 7 years ago

I would like the following two new answer types for the following cases.

Multiple answers can be correkt, e.g. when solving a second order differential equation, the answer might be y1(x) = A \sin(x) + B \cos(x) but y1(x) = B \sin(x) + A \cos(x) is also a valid solution.

Will it be possible to have an answer type that accepts the answer if it matches one answer in a list of possible answers?

And then the other case, where there are multiple solutions, that all need to be found, but not in a specific order. Eg. find solutions to (x - 1) (x - 2) = 0, where both x = 1 and x = 2 are solutions. But if the student enters x = 2 and x = 1, the system will not accept the answer. Right now I have to require the answers to be given in a certain order, which I dont think is the best possible solution.