<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 9031569  -->
  <question type="stack">
    <name>
      <text>Schnittpunkt zweier Geraden</text>
    </name>
    <questiontext format="moodle_auto_format">
      <text><![CDATA[<p>Gegeben seien die Geraden \(f(x)={@f@}\) und \(g(x)={@g@}\).</p>
<p>(a) Überprüfen Sie, ob sich die Geraden schneiden.</p>
<p>Antwort: [[input:ans1]] [[validation:ans1]]</p>

[[reveal input="ans1" value="1"]]
<p>(b) Geben Sie den Schnittpunkt von \(f\) und \(g\) an.</p>
<p>Antwort: [[input:ans2]] [[validation:ans2]]</p>
[[/reveal]]]]></text>
    </questiontext>
    <generalfeedback format="moodle_auto_format">
      <text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <stackversion>
      <text>2025102100</text>
    </stackversion>
    <questionvariables>
      <text><![CDATA[/*  
Die Aufgabe „Schnittpunkt zweier Geraden“, Team E-Learning@Hochschule Ruhr West von Jonas Lache, ist lizenziert unter einer CC BY-SA 4.0 International Lizenz (https://creativecommons.org/licenses/by-sa/4.0/).  
*/

/*Schnittpunkt:*/
x0: rand_with_step(-10,10,1);
y0: rand_with_step(-10,10,1);
sp: [x0,y0];

/*Erste Gerade:*/
m1: rand_with_prohib(-5,5,[0,1,y0]);
b1: y0-m1*x0;
f: m1*x+b1;

/*Zweite Gerade:*/
m2: rand_with_prohib(-5,5,[0,1,y0,m1]);
b2: y0-m2*x0;
g: m2*x+b2;

/*Dropdown-Liste:*/
Liste: [[1,true,"Die Geraden schneiden sich"], [2,false,"Die Geraden sind parallel"]];
ta1: 1;]]></text>
    </questionvariables>
    <specificfeedback format="html">
      <text>[[feedback:prt1]]</text>
    </specificfeedback>
    <questionnote format="html">
      <text>\(f(x)={@f@}\) und \(g(x)={@g@}\)</text>
    </questionnote>
    <questiondescription format="html">
      <text></text>
    </questiondescription>
    <questionsimplify>1</questionsimplify>
    <assumepositive>0</assumepositive>
    <assumereal>0</assumereal>
    <prtcorrect format="html">
      <text>Richtige Antwort, gut gemacht!</text>
    </prtcorrect>
    <prtpartiallycorrect format="html">
      <text>Ihre Antwort ist teilweise korrekt.</text>
    </prtpartiallycorrect>
    <prtincorrect format="html">
      <text>Falsche Antwort.</text>
    </prtincorrect>
    <decimals>.</decimals>
    <scientificnotation>*10</scientificnotation>
    <multiplicationsign>dot</multiplicationsign>
    <sqrtsign>1</sqrtsign>
    <complexno>i</complexno>
    <inversetrig>cos-1</inversetrig>
    <logicsymbol>lang</logicsymbol>
    <matrixparens>[</matrixparens>
    <isbroken>0</isbroken>
    <variantsselectionseed></variantsselectionseed>
    <input>
      <name>ans1</name>
      <type>dropdown</type>
      <tans>Liste</tans>
      <boxsize>15</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>1</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans2</name>
      <type>algebraic</type>
      <tans>sp</tans>
      <boxsize>15</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint>z. B. [1,2]</syntaxhint>
      <syntaxattribute>1</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>1</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>1</mustverify>
      <showvalidation>1</showvalidation>
      <options>allowempty</options>
    </input>
    <prt>
      <name>prt1</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <description>Wurde bei (a) die richtige Option ausgewählt?</description>
        <answertest>AlgEquiv</answertest>
        <sans>ans1</sans>
        <tans>ta1</tans>
        <testoptions></testoptions>
        <quiet>0</quiet>
        <truescoremode>=</truescoremode>
        <truescore>0.2</truescore>
        <truepenalty></truepenalty>
        <truenextnode>1</truenextnode>
        <trueanswernote>prt1-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p>Super, Sie haben korrekt entschieden, dass sich die Geraden schneiden!</p>]]></text>
        </truefeedback>
        <falsescoremode>=</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p>Leider haben Sie nicht korrekt entschieden: Tatsächlich schneiden sich \(f\) und \(g\).</p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>1</name>
        <description>Ist in (b) der Schnittpunkt richtig?</description>
        <answertest>AlgEquiv</answertest>
        <sans>ans2</sans>
        <tans>sp</tans>
        <testoptions></testoptions>
        <quiet>0</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.8</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p>Super, Sie haben den korrekten Schnittpunkt angegeben!</p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p>Leider haben Sie nicht den korrekten Schnittpunkt angegeben.</p>]]></text>
        </falsefeedback>
      </node>
    </prt>
  </question>

</quiz>