-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Roots of a polynomial
Reading time: 2minIn the following example, we will ask the student to write a polynomial expression given its roots. Moreover, we will plot the polynomial the student gives to compare their solution with the correct one.
Select the question type
We'll select which type of question we will use. Most of the examples on this page use Short answer. Since we expect the student to answer this question with just the result, Short answer is the best of all the possible options for this one as well.
Write the statement
Now let's write the statement of the problem. We will ask the students to write a monic polynomial of degree two with roots 2 and -3.
Write the statement Now let's write the statement of the problem. We will ask the students to write a monic polynomial of degree two with roots 2 and -3.
Compute the correct answers
Open WirisQuizzes Studio by clicking , then go to the Correct answer section and write the correct answer.
Note
Since we are checking if the student's answer and the correct answer are mathematically equal, the order in which we write the correct answer is unnecessary.
Store the student answer
Next, click on the Advanced mode button and open CalcMe.
As you can see, it's now the default option to generate the question's algorithm, and unless you are working with a previously created question, you can't use Wiris CAS (the old calculator) anymore.
Notice
For getting started with CalcMe, see its very very basic guide.
The student's answer is stored in a parameter called answer
. Therefore, to work with it, we have to define this parameter. As we want to compare the correct and the student's answers, we have to plot both. The code to do so looks like this:
Tip
If you used CalcMe before, you might have noticed some differences with previous versions. You can see further details about the new procedure to define variables here.
The default value for the parameter answer is zero; that is why the red plot is always zero. Don't worry; it will look more friendly with the response from the student.
Preview the question
It is always a good practice to test how they behave using the Test this question section, even with simple questions. Once again, the order is not essential. The plot will appear in the preview of the whole question.
If the student answers with the polynomial in expanded form, it will be graded as correct since it will be mathematically equal to the right answer we have provided.
Save the question and assign full grade
Click so changes are saved, and WirisQuizzes Studio window closes. Next, assign the full grade to the correct answer.
Add the feedback
Note
Go to the General feedback field. Everything we write here will be shown to the students once they answer. Therefore, as we will do here, we can write all the steps they have to carry out when solving a problem or compare their answer with the correct one.
Recall that the correct answer's graph is blue, and the one stored in the parameter answer (the student's answer) is red. The plot is stored in a variable called plotter1
so that we will include it on the feedback preceded with the pound symbol #
.
Preview the question
Save the question by clicking Save changes and continue editing.
Click Preview.
A new window will show up with the question shown as the student will see it. Then, we can test the behaviour of the question again.