10 lines
2.7 KiB
XML
10 lines
2.7 KiB
XML
|
<?xml version='1.0' encoding='utf-8'?>
|
||
|
<quiz><question type="formulas"><name><text>Addition von 2 ungleichnamigen Brüchen 0</text></name><questiontext format="html"><text><![CDATA[ <p>Addiere die Brüche und kürze das Ergebnis so weit wie möglich.</p>
|
||
|
<p>{#A} </p> ]]> </text></questiontext><generalfeedback format="html"><text> </text></generalfeedback><defaultgrade>1.0000000</defaultgrade><penalty>0.3333333</penalty><hidden>0</hidden><idnumber> </idnumber><correctfeedback format="html"><text><![CDATA[ <p>Die Antwort ist richtig.</p> ]]> </text></correctfeedback><partiallycorrectfeedback format="html"><text><![CDATA[ <p>Die Antwort ist teilweise richtig.</p> ]]> </text></partiallycorrectfeedback><incorrectfeedback format="html"><text><![CDATA[ <p>Die Antwort ist falsch.</p> ]]></text></incorrectfeedback><shownumcorrect /><varsrandom><text> </text></varsrandom><varsglobal><text>n = [5, 3];
|
||
|
d = [9, 6];</text></varsglobal><answernumbering><text>ABCD</text></answernumbering><answers><partindex><text>0</text></partindex><placeholder><text>#A</text></placeholder><answermark><text>1</text></answermark><answertype><text>0</text></answertype><numbox><text>2</text></numbox><vars1><text>g = gcd(d[0],d[1]);
|
||
|
cd = d[0]*d[1]/pow(g,2);
|
||
|
e = [cd / d[0], cd / d[1]];
|
||
|
nums = [n[0]*e[0], n[1]*e[1]];
|
||
|
thesumnum = nums[0] + nums[1]</text></vars1><answer><text>[thesumnum, cd]</text></answer><answernotunique><text>0</text></answernotunique><vars2><text><![CDATA[ ga = _0 == thesumnum && _1 == cd; gb = (_0 / _1) == (thesumnum / cd); ]]></text></vars2><correctness><text>ga + 0.5*gb</text></correctness><unitpenalty><text>1</text></unitpenalty><postunit><text> </text></postunit><ruleid><text>1</text></ruleid><otherrule><text> </text></otherrule><subqtext format="html"><text><![CDATA[ <p>Berechne:</p> <p>\(\Large \displaystyle \frac{{n[0]}}{{d[0]}} + \frac{{n[1]}}{{d[1]}} =\) {_0} / {_1}</p> ]]> </text></subqtext><feedback format="html"><text><![CDATA[ <h4>Lösungshinweis</h4>
|
||
|
<p>Die korrekte Lösung ist:</p>
|
||
|
<p>\(\Large \displaystyle \frac{{n[0]}}{{d[0]}} + \frac{{n[1]}}{{d[1]}} = \frac{{nums[0]}}{{cd}} + \frac{{nums[1]}}{{cd}} = \frac{{thesumnum}}{{cd}}\) </p> ]]></text></feedback><correctfeedback format="html"><text><![CDATA[ <p>Richtig!</p>]]></text></correctfeedback><partiallycorrectfeedback format="html"><text><![CDATA[ <p>Teilweise richtig.</p>]]></text></partiallycorrectfeedback><incorrectfeedback format="html"><text><![CDATA[ <p>Leider nicht richtig.</p>]]></text></incorrectfeedback></answers></question></quiz>
|