"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; if(b <= 0){b_floor = 1}else{b_floor = b} Correct1%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct1%QUESTION.NUMBER% += b_floor+ib+","} Correct1%QUESTION.NUMBER% += (b_floor+4+"...}"); //document.write(Correct1%QUESTION.NUMBER%+"
"); if(c <= 0){c_floor = 1}else{c_floor = c} Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (b<=c){Correct%QUESTION.NUMBER% = Correct1%QUESTION.NUMBER%} else{Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%}; //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+Correct1%QUESTION.NUMBER%+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
A
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; if(b <= 0){b_floor = 1}else{b_floor = b} Correct1%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct1%QUESTION.NUMBER% += b_floor+ib+","} Correct1%QUESTION.NUMBER% += (b_floor+4+"...}"); //document.write(Correct1%QUESTION.NUMBER%+"
"); if(c <= 0){c_floor = 1}else{c_floor = c+1} Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (b<=c){Correct%QUESTION.NUMBER% = Correct1%QUESTION.NUMBER%} else{Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%}; //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+Correct1%QUESTION.NUMBER%+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
A
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Two sets A and B are given by:
" QuestionText2%QUESTION.NUMBER% = "
Set C comprises elements in A or B. Input C explicitly with elements in numerical order:
" QuestionText3%QUESTION.NUMBER% = "
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 0){b_floor = 1}else{b_floor = b} Correct1%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct1%QUESTION.NUMBER% += b_floor+ib+","} Correct1%QUESTION.NUMBER% += (b_floor+4+"...}"); //document.write(Correct1%QUESTION.NUMBER%+"
"); if(c <= 0){c_floor = 1}else{c_floor = c+1} Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (b<=c){Correct%QUESTION.NUMBER% = Correct1%QUESTION.NUMBER%} else{Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%}; //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
Set C comprises elements in A or B i.e. its elements are in the union of two sets A and B. This is denoted by A
Since A = "+Correct1%QUESTION.NUMBER%+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
C = ") document.write(QuestionText3%QUESTION.NUMBER%); document.write("") } if (document.forms[0].name=="FEEDBACK") {} else {question%QUESTION.NUMBER%()} ]]>
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; if(b <= 0){Correct1%QUESTION.NUMBER% = "{}"}else{ Correct1%QUESTION.NUMBER% = ""; for(ib = 1; ib < b; ib++){ Correct1%QUESTION.NUMBER% += ib+","} Correct1%QUESTION.NUMBER% += (b)+""; } //document.write(Correct1%QUESTION.NUMBER%+"
"); if (b<=0){cor1 = "∅"} else{cor1 = "{"+Correct1%QUESTION.NUMBER%+"}"}; if(c <= 0){c_floor = 1}else{c_floor = c} Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (c<=0){Correct%QUESTION.NUMBER% = "{1,2,3,4,5...}"} else if (b<=0){Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%} else if (b>=c){Correct%QUESTION.NUMBER% = "{1,2,3,4,5...}"} else { Correct%QUESTION.NUMBER% = "{"+Correct1%QUESTION.NUMBER%+","; for(ic = 0; ic <= 3-b; ic++) { Correct%QUESTION.NUMBER% += c_floor+ic+","} Correct%QUESTION.NUMBER% +=(c_floor+4-b+"...}"); } //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+cor1+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
A
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; if(b <= 0){Correct1%QUESTION.NUMBER% = "{}"}else{ Correct1%QUESTION.NUMBER% = ""; for(ib = 1; ib < b; ib++){ Correct1%QUESTION.NUMBER% += ib+","} Correct1%QUESTION.NUMBER% += (b)+""; } //document.write(Correct1%QUESTION.NUMBER%+"
"); if (b<=0){cor1 = "∅"} else{cor1 = "{"+Correct1%QUESTION.NUMBER%+"}"}; if(c <= 0){c_floor = 1}else{c_floor = c+1} Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (c<=0){Correct%QUESTION.NUMBER% = "{1,2,3,4,5...}"} else if (b<=0){Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%} else if (b>=c){Correct%QUESTION.NUMBER% = "{1,2,3,4,5...}"} else { Correct%QUESTION.NUMBER% = "{"+Correct1%QUESTION.NUMBER%+","; for(ic = 0; ic <= 3-b; ic++) { Correct%QUESTION.NUMBER% += c_floor+ic+","} Correct%QUESTION.NUMBER% +=(c_floor+4-b+"...}"); } //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+cor1+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
A
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 0){Correct1%QUESTION.NUMBER% = "{}"}else{ Correct1%QUESTION.NUMBER% = "{"; for(ib = 1; ib < b; ib++){ Correct1%QUESTION.NUMBER% += ib+","} Correct1%QUESTION.NUMBER% += (b)+"}"; } //document.write(Correct1%QUESTION.NUMBER%+"
"); if (Correct1%QUESTION.NUMBER% == "{}"){cor1 = "∅"} else {cor1 = ""+Correct1%QUESTION.NUMBER%+""}; if(c <= 0){Correct2%QUESTION.NUMBER% = "{}"}else{ Correct2%QUESTION.NUMBER% = "{"; for(ic = 1; ic < c; ic++){ Correct2%QUESTION.NUMBER% += ic+","} Correct2%QUESTION.NUMBER% += (c)+"}"; } //document.write(Correct2%QUESTION.NUMBER%+"
"); if (Correct2%QUESTION.NUMBER% == "{}"){cor2 = "∅"} else {cor2 = ""+Correct2%QUESTION.NUMBER%+""}; if (c"); //document.write(set_union(Correct1%QUESTION.NUMBER%,Correct2%QUESTION.NUMBER%)+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+cor1+"
and B = "+cor2+",
A
A
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; if(b <= 1){Correct1%QUESTION.NUMBER% = "{}"}else{ Correct1%QUESTION.NUMBER% = "{"; for(ib = 1; ib < b-1; ib++){ Correct1%QUESTION.NUMBER% += ib+","} Correct1%QUESTION.NUMBER% += (b-1)+"}"; } //document.write(Correct1%QUESTION.NUMBER%+"
"); if (Correct1%QUESTION.NUMBER% == "{}"){cor1 = "∅"} else {cor1 = ""+Correct1%QUESTION.NUMBER%+""}; if(c <= 0){Correct2%QUESTION.NUMBER% = "{}"}else{ Correct2%QUESTION.NUMBER% = "{"; for(ic = 1; ic < c; ic++){ Correct2%QUESTION.NUMBER% += ic+","} Correct2%QUESTION.NUMBER% += (c)+"}"; } //document.write(Correct2%QUESTION.NUMBER%+"
"); if (Correct2%QUESTION.NUMBER% == "{}"){cor2 = "∅"} else {cor2 = ""+Correct2%QUESTION.NUMBER%+""}; if (c"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+cor1+"
and B = "+cor2+",
A
A
"
EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1;
e2=""
EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2;
EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%;
e0="";
EquationText0%QUESTION.NUMBER% = m1+m2+m3+e0;
QuestionText0%QUESTION.NUMBER% = "The set of natural numbers is defined as
";
QuestionText1%QUESTION.NUMBER% = "
Two sets A and B are given by:
" QuestionText2%QUESTION.NUMBER% = "
Set C comprises elements in A or B. Input C explicitly with elements in numerical order:
" QuestionText3%QUESTION.NUMBER% = "
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(b <= 1){Correct1%QUESTION.NUMBER% = "{}"}else{ Correct1%QUESTION.NUMBER% = "{"; for(ib = 1; ib < b-1; ib++){ Correct1%QUESTION.NUMBER% += ib+","} Correct1%QUESTION.NUMBER% += (b-1)+"}"; } //document.write(Correct1%QUESTION.NUMBER%+"
"); if (Correct1%QUESTION.NUMBER% == "{}"){cor1 = "∅"} else {cor1 = ""+Correct1%QUESTION.NUMBER%+""}; if(c <= 0){Correct2%QUESTION.NUMBER% = "{}"}else{ Correct2%QUESTION.NUMBER% = "{"; for(ic = 1; ic < c; ic++){ Correct2%QUESTION.NUMBER% += ic+","} Correct2%QUESTION.NUMBER% += (c)+"}"; } //document.write(Correct2%QUESTION.NUMBER%+"
"); if (Correct2%QUESTION.NUMBER% == "{}"){cor2 = "∅"} else {cor2 = ""+Correct2%QUESTION.NUMBER%+""}; if (c"); Feedback%QUESTION.NUMBER% = "
Set C comprises elements in A or B i.e. its elements are in the union of two sets A and B. This is denoted by A
Since A = "+cor1+"
and B = "+cor2+",
A
C = ") document.write(QuestionText3%QUESTION.NUMBER%); document.write("") } if (document.forms[0].name=="FEEDBACK") {} else {question%QUESTION.NUMBER%()} ]]>
" EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1; e2="" EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2; EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%; QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; b_floor = b Correct1%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct1%QUESTION.NUMBER% += b_floor+ib+","} Correct1%QUESTION.NUMBER% += (b_floor+4+"...}"); //document.write(Correct1%QUESTION.NUMBER%+"
"); c_floor = c Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (b<=c){Correct%QUESTION.NUMBER% = Correct1%QUESTION.NUMBER%} else{Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%}; //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+Correct1%QUESTION.NUMBER%+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
A
" EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1; e2="" EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2; EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%; QuestionText1%QUESTION.NUMBER% = "
Let
"
QuestionText2%QUESTION.NUMBER% = "
and
"
QuestionText3%QUESTION.NUMBER% = "
Input A
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%+QuestionText3%QUESTION.NUMBER%+QuestionText4%QUESTION.NUMBER%; b_floor = b Correct1%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct1%QUESTION.NUMBER% += b_floor+ib+","} Correct1%QUESTION.NUMBER% += (b_floor+4+"...}"); //document.write(Correct1%QUESTION.NUMBER%+"
"); c_floor = c+1 Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (b<=c){Correct%QUESTION.NUMBER% = Correct1%QUESTION.NUMBER%} else{Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%}; //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
The union of two sets A and B, denoted by A
Since A = "+Correct1%QUESTION.NUMBER%+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
A
" EquationText1%QUESTION.NUMBER% = m1+m2+m3+e1; e2="" EquationText2%QUESTION.NUMBER% = m1+m2+m3+e2; EquationText%QUESTION.NUMBER% = EquationText1%QUESTION.NUMBER%+EquationText2%QUESTION.NUMBER%; QuestionText1%QUESTION.NUMBER% = "
Two sets A and B are given by:
" QuestionText2%QUESTION.NUMBER% = "
Set C comprises elements in A or B. Input C explicitly with elements in numerical order:
" QuestionText3%QUESTION.NUMBER% = "
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}.
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; b_floor = b Correct1%QUESTION.NUMBER% = "{"; for(ib = 0; ib <= 3; ib++){ Correct1%QUESTION.NUMBER% += b_floor+ib+","} Correct1%QUESTION.NUMBER% += (b_floor+4+"...}"); //document.write(Correct1%QUESTION.NUMBER%+"
"); c_floor = c Correct2%QUESTION.NUMBER% = "{"; for(ic = 0; ic <= 3; ic++){ Correct2%QUESTION.NUMBER% += c_floor+ic+","} Correct2%QUESTION.NUMBER% += (c_floor+4+"...}"); //document.write(Correct2%QUESTION.NUMBER%+"
"); if (b<=c){Correct%QUESTION.NUMBER% = Correct1%QUESTION.NUMBER%} else{Correct%QUESTION.NUMBER% = Correct2%QUESTION.NUMBER%}; //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback%QUESTION.NUMBER% = "
Set C comprises elements in A or B i.e. its elements are in the union of two sets A and B. This is denoted by A
Since A = "+Correct1%QUESTION.NUMBER%+"
and B = "+Correct2%QUESTION.NUMBER%+",
A
C = ") document.write(QuestionText3%QUESTION.NUMBER%); document.write("") } if (document.forms[0].name=="FEEDBACK") {} else {question%QUESTION.NUMBER%()} ]]>
"; QuestionText2%QUESTION.NUMBER% = "
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(union_string == ""){Correct%QUESTION.NUMBER% = "{}"} else (Correct%QUESTION.NUMBER% = "{"+union_string+"}") //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback1%QUESTION.NUMBER%="
The union of four sets "+sets[set0]+","+sets[set1]+","+sets[set2]+"and"+sets[set3]+", denoted by "+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+"∪"+sets[set3]+", is the set of all elements which belong to "+sets[set0]+","+sets[set1]+","+sets[set2]+"or to"+sets[set3]+".
Since "+sets[set0]+" = "+firstdisplay+",
"+sets[set1]+" = "+seconddisplay+",
"+sets[set2]+" = "+thirddisplay+"
and "+sets[set3]+" = "+fourthdisplay+",
"+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+"∪"+sets[set3]+" = "+Correct%QUESTION.NUMBER%+" "; Feedback2%QUESTION.NUMBER%="
The union of four sets "+sets[set0]+","+sets[set1]+","+sets[set2]+"and"+sets[set3]+", denoted by "+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+"∪"+sets[set3]+", is the set of all elements which belong to "+sets[set0]+","+sets[set1]+","+sets[set2]+"or to"+sets[set3]+".
Since "+sets[set0]+" = "+firstdisplay+",
"+sets[set1]+" = "+seconddisplay+",
"+sets[set2]+" = "+thirddisplay+"
and "+sets[set3]+" = "+fourthdisplay+",
"+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+"∪"+sets[set3]+" = ∅ , so your answer should be {}"; feedback = ""; if(Correct%QUESTION.NUMBER% == "{}"){feedback = Feedback2%QUESTION.NUMBER%;} else {feedback = Feedback1%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%); document.write("
"; QuestionText2%QUESTION.NUMBER% = "
Important: input your answer without spaces, separating each element with a comma and in ascending order e.g. {11,12,13}
If you think the set has an infinite number of elements, input
"; QuestionText%QUESTION.NUMBER% = QuestionText1%QUESTION.NUMBER%+QuestionText2%QUESTION.NUMBER%; if(union_string == ""){Correct%QUESTION.NUMBER% = "{}"} else (Correct%QUESTION.NUMBER% = "{"+union_string+"}") //document.write(Correct%QUESTION.NUMBER%+"
"); Feedback1%QUESTION.NUMBER%="
The union of three sets "+sets[set0]+","+sets[set1]+"and"+sets[set2]+", denoted by "+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+", is the set of all elements which belong to "+sets[set0]+","+sets[set1]+"or to"+sets[set2]+".
Since "+sets[set0]+" = "+firstdisplay+",
"+sets[set1]+" = "+seconddisplay+"
and"+sets[set2]+" = "+thirddisplay+",
"+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+" = "+Correct%QUESTION.NUMBER%+" "; Feedback2%QUESTION.NUMBER%="
The union of three sets "+sets[set0]+","+sets[set1]+"and"+sets[set2]+", denoted by "+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+", is the set of all elements which belong to "+sets[set0]+","+sets[set1]+"or to"+sets[set2]+".
Since "+sets[set0]+" = "+firstdisplay+",
"+sets[set1]+" = "+seconddisplay+"
and"+sets[set2]+" = "+thirddisplay+",
"+sets[set0]+"∪"+sets[set1]+"∪"+sets[set2]+" = ∅ , so your answer should be {}"; feedback = ""; if(Correct%QUESTION.NUMBER% == "{}"){feedback = Feedback2%QUESTION.NUMBER%;} else {feedback = Feedback1%QUESTION.NUMBER%;} Feedback%QUESTION.NUMBER% = feedback; document.write(QuestionText0%QUESTION.NUMBER%+Equation0%QUESTION.NUMBER%+QuestionText1%QUESTION.NUMBER%); document.write("