Skip to content

Commit 8d28086

Browse files
committed
introductory mathematics add to library
1 parent 7fe1bb4 commit 8d28086

1,029 files changed

Lines changed: 173342 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/*_question_manifest.json
2+
**/*_manifest_update.tmp
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<quiz>
3+
<question type="description">
4+
<name>
5+
<text>1.0.1 (What is a quadratic equation?)</text>
6+
</name>
7+
<questiontext format="html">
8+
<text><![CDATA[<h1>Quadratic Equations</h1>
9+
10+
<p>One important concept in mathematics is that of square numbers. A square number is a product of a whole number with itself. For example \(4 = 2 \times 2\) and \(9 = 3 \times 3\) are square numbers, whilst \(10\) is not. This terminology derives from the fact the area of a square is its side length multiplied by itself. A <b>quadratic equation</b> is an equation which deals with a variable (usually denoted by \(x\)) which has been squared. Indeed the word 'quadratic' comes from the Latin word for square!</p>
11+
12+
<p>The graph of a quadratic function forms a curve called a parabola. Parabolas arise in a number of places in the real world. Examples include the curve mapped when throwing a projectile, the curve produced by water flowing from a fountain and parabolic reflectors to focus light. Therefore if we wish to understand these phenomena, we need to understand quadratic equations. We will examine more applications of quadratics in a later section.</p>
13+
14+
<p>Any quadratic equation can be written in the following form:
15+
\[
16+
ax^2 + bx + c = 0,
17+
\]
18+
where \(x\) is an unknown variable and \(a, b\) and \(c\) are constants. This form of a quadratic is called the <b>standard form</b>.
19+
Note that we can allow \(b\) and/or \(c\) to be equal to zero, however \(a\) must be nonzero. In other words we must have a squared term in order for the equation be be a quadratic.
20+
</p>
21+
22+
<h3>Example</h3>
23+
24+
<p>Which of the following are examples of a quadratic equation?
25+
</p><ol type="a">
26+
<li>\(x^2 + 2x -4 = 0\)</li>
27+
<li>\(4x - x^2 = 5\)</li>
28+
<li>\(9x + 4 = 0\)</li>
29+
</ol>
30+
<p></p>
31+
32+
<h3>Solution</h3>
33+
34+
<p></p><ol type="a">
35+
<li>\(x^2 + 2x -4 = 0\) is a quadratic equation. It is in standard form where \(a =1, b = 2, c= -4\).</li>
36+
<li>\(4x - x^2 = 5\) is also a quadratic equation but it is not in standard form. However we can re-write the equation in standard form as \(-x^2 +4x - 5 = 0.\) This is now in standard form with \(a = -1, b = 4\) and \(c = -5\).</li>
37+
<li>\(9x + 4 = 0\) is not a quadratic equation as is doesn't have a squared term. It is a linear equation.</li>
38+
</ol><p></p>]]></text>
39+
</questiontext>
40+
<generalfeedback format="html">
41+
<text/>
42+
</generalfeedback>
43+
<defaultgrade>0</defaultgrade>
44+
<penalty>0</penalty>
45+
<hidden>0</hidden>
46+
<idnumber/>
47+
</question>
48+
</quiz>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<quiz>
3+
<question type="stack">
4+
<name>
5+
<text>1.0.10 (Expand brackets (AlgMap-7.7))</text>
6+
</name>
7+
<questiontext format="html">
8+
<text><![CDATA[<p>Expand the following: <br> <br> \( \left( {@cf1*x+c@} \right) \left( {@cf2*x+d@} \right)\) = [[input:ans]] [[validation:ans]]</p>]]></text>
9+
</questiontext>
10+
<generalfeedback format="html">
11+
<text><![CDATA[<p>In this example:<br></p>
12+
<p>\[\begin{align} {@(cf1*x+c)*(cf2*x+d)@} &amp;= {@(cf1*cf2)*x^2@}+\left({@(c*cf2*x)@}\right)+\left({@(d*cf1*x)@}\right)+\left({@(c*d)@}\right) \\ &amp;= {@ta@}. \end{align} \]</p>]]></text>
13+
</generalfeedback>
14+
<defaultgrade>1</defaultgrade>
15+
<penalty>0.1</penalty>
16+
<hidden>0</hidden>
17+
<idnumber/>
18+
<stackversion>
19+
<text>2020070100</text>
20+
</stackversion>
21+
<questionvariables>
22+
<text>a:rand(10)+1;
23+
b:rand(10)+1;
24+
e:rand([-1,1]);
25+
f:rand([-1,1]);
26+
c:a*e;
27+
d:b*f;
28+
cf1:(rand(3)+2)*(-1)^rand([-1,1]);
29+
cf2:(rand(3)+2)*(-1)^rand([-1,1]);
30+
ta:expand((cf1*x+c)*(cf2*x+d));</text>
31+
</questionvariables>
32+
<specificfeedback format="html">
33+
<text><![CDATA[<p>[[feedback:prt1]]<br></p>]]></text>
34+
</specificfeedback>
35+
<questionnote format="moodle_auto_format">
36+
<text>\[{@(cf1*x+c)*(cf2*x+d)@} = {@ta@}.\]</text>
37+
</questionnote>
38+
<questiondescription format="moodle_auto_format">
39+
<text/>
40+
</questiondescription>
41+
<questionsimplify>1</questionsimplify>
42+
<assumepositive>0</assumepositive>
43+
<assumereal>0</assumereal>
44+
<prtcorrect format="html">
45+
<text><![CDATA[<span style="font-size: 1.5em; color:green;"><i class="fa fa-check"></i></span> Correct answer, well done.]]></text>
46+
</prtcorrect>
47+
<prtpartiallycorrect format="html">
48+
<text><![CDATA[<span style="font-size: 1.5em; color:orange;"><i class="fa fa-adjust"></i></span> Your answer is partially correct.]]></text>
49+
</prtpartiallycorrect>
50+
<prtincorrect format="html">
51+
<text><![CDATA[<span style="font-size: 1.5em; color:red;"><i class="fa fa-times"></i></span> Incorrect answer.]]></text>
52+
</prtincorrect>
53+
<decimals>.</decimals>
54+
<scientificnotation>*10</scientificnotation>
55+
<multiplicationsign>none</multiplicationsign>
56+
<sqrtsign>1</sqrtsign>
57+
<complexno>i</complexno>
58+
<inversetrig>cos-1</inversetrig>
59+
<logicsymbol>lang</logicsymbol>
60+
<matrixparens>[</matrixparens>
61+
<variantsselectionseed/>
62+
<input>
63+
<name>ans</name>
64+
<type>algebraic</type>
65+
<tans>ta</tans>
66+
<boxsize>20</boxsize>
67+
<strictsyntax>1</strictsyntax>
68+
<insertstars>0</insertstars>
69+
<syntaxhint/>
70+
<syntaxattribute>0</syntaxattribute>
71+
<forbidwords>expand</forbidwords>
72+
<allowwords/>
73+
<forbidfloat>1</forbidfloat>
74+
<requirelowestterms>1</requirelowestterms>
75+
<checkanswertype>1</checkanswertype>
76+
<mustverify>1</mustverify>
77+
<showvalidation>1</showvalidation>
78+
<options/>
79+
</input>
80+
<prt>
81+
<name>prt1</name>
82+
<value>1.0000000</value>
83+
<autosimplify>1</autosimplify>
84+
<feedbackstyle>1</feedbackstyle>
85+
<feedbackvariables>
86+
<text/>
87+
</feedbackvariables>
88+
<node>
89+
<name>0</name>
90+
<description/>
91+
<answertest>EqualComAss</answertest>
92+
<sans>ans</sans>
93+
<tans>ta</tans>
94+
<testoptions/>
95+
<quiet>0</quiet>
96+
<truescoremode>=</truescoremode>
97+
<truescore>1.0000000</truescore>
98+
<truepenalty/>
99+
<truenextnode>-1</truenextnode>
100+
<trueanswernote>1-0-T </trueanswernote>
101+
<truefeedback format="html">
102+
<text/>
103+
</truefeedback>
104+
<falsescoremode>=</falsescoremode>
105+
<falsescore>0.0000000</falsescore>
106+
<falsepenalty/>
107+
<falsenextnode>1</falsenextnode>
108+
<falseanswernote>1-0-F </falseanswernote>
109+
<falsefeedback format="html">
110+
<text/>
111+
</falsefeedback>
112+
</node>
113+
<node>
114+
<name>1</name>
115+
<description/>
116+
<answertest>AlgEquiv</answertest>
117+
<sans>ans</sans>
118+
<tans>ta</tans>
119+
<testoptions/>
120+
<quiet>0</quiet>
121+
<truescoremode>=</truescoremode>
122+
<truescore>0.0000000</truescore>
123+
<truepenalty/>
124+
<truenextnode>-1</truenextnode>
125+
<trueanswernote>1-1-T </trueanswernote>
126+
<truefeedback format="html">
127+
<text><![CDATA[<p>Your answer is algebraically equivalent to the correct answer but you need to leave the answer as a polynomial (multiply out the brackets!)</p>]]></text>
128+
</truefeedback>
129+
<falsescoremode>=</falsescoremode>
130+
<falsescore>0.0000000</falsescore>
131+
<falsepenalty/>
132+
<falsenextnode>-1</falsenextnode>
133+
<falseanswernote>1-1-F </falseanswernote>
134+
<falsefeedback format="html">
135+
<text/>
136+
</falsefeedback>
137+
</node>
138+
</prt>
139+
<deployedseed>549873436</deployedseed>
140+
<deployedseed>677646600</deployedseed>
141+
<deployedseed>98913168</deployedseed>
142+
<deployedseed>497882031</deployedseed>
143+
<deployedseed>1242507175</deployedseed>
144+
<deployedseed>183204854</deployedseed>
145+
<deployedseed>147859657</deployedseed>
146+
<deployedseed>1315062015</deployedseed>
147+
<deployedseed>450972361</deployedseed>
148+
<deployedseed>1085936573</deployedseed>
149+
<deployedseed>387232810</deployedseed>
150+
<deployedseed>1397870877</deployedseed>
151+
<deployedseed>57632770</deployedseed>
152+
<deployedseed>303242262</deployedseed>
153+
<deployedseed>921028055</deployedseed>
154+
<deployedseed>1881760095</deployedseed>
155+
<deployedseed>1019228209</deployedseed>
156+
<deployedseed>1750665316</deployedseed>
157+
<deployedseed>1799075258</deployedseed>
158+
<deployedseed>1526682249</deployedseed>
159+
<deployedseed>716584123</deployedseed>
160+
<deployedseed>1107655521</deployedseed>
161+
<deployedseed>1915361667</deployedseed>
162+
<deployedseed>894412741</deployedseed>
163+
<deployedseed>150375793</deployedseed>
164+
<deployedseed>1356564673</deployedseed>
165+
<deployedseed>824977961</deployedseed>
166+
<deployedseed>982773529</deployedseed>
167+
<deployedseed>826264269</deployedseed>
168+
<deployedseed>238996820</deployedseed>
169+
<deployedseed>1192554933</deployedseed>
170+
<deployedseed>435331883</deployedseed>
171+
<deployedseed>1656301454</deployedseed>
172+
<deployedseed>1724198274</deployedseed>
173+
<deployedseed>1732926435</deployedseed>
174+
<deployedseed>83762538</deployedseed>
175+
<deployedseed>1177195507</deployedseed>
176+
<deployedseed>107411993</deployedseed>
177+
<deployedseed>1962844570</deployedseed>
178+
<deployedseed>88474117</deployedseed>
179+
<deployedseed>593967828</deployedseed>
180+
<deployedseed>1920689591</deployedseed>
181+
<deployedseed>701361260</deployedseed>
182+
<deployedseed>1463616118</deployedseed>
183+
<deployedseed>560669373</deployedseed>
184+
<deployedseed>1696001827</deployedseed>
185+
<deployedseed>337352784</deployedseed>
186+
<deployedseed>1189666167</deployedseed>
187+
<deployedseed>505445569</deployedseed>
188+
<deployedseed>424152515</deployedseed>
189+
<qtest>
190+
<testcase>1</testcase>
191+
<description/>
192+
<testinput>
193+
<name>ans</name>
194+
<value>ta</value>
195+
</testinput>
196+
<expected>
197+
<name>prt1</name>
198+
<expectedscore>1.0000000</expectedscore>
199+
<expectedpenalty>0.0000000</expectedpenalty>
200+
<expectedanswernote>1-0-T</expectedanswernote>
201+
</expected>
202+
</qtest>
203+
<qtest>
204+
<testcase>2</testcase>
205+
<description/>
206+
<testinput>
207+
<name>ans</name>
208+
<value>(cf1*x+c)*(cf2*x+d)</value>
209+
</testinput>
210+
<expected>
211+
<name>prt1</name>
212+
<expectedscore>0.0000000</expectedscore>
213+
<expectedpenalty>0.1000000</expectedpenalty>
214+
<expectedanswernote>1-1-T </expectedanswernote>
215+
</expected>
216+
</qtest>
217+
</question>
218+
</quiz>

0 commit comments

Comments
 (0)