<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Lineare Algebra</text>
    </category>
    <info format="moodle_auto_format">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Lineare Algebra/Lagebeziehungen</text>
    </category>
    <info format="moodle_auto_format">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Lineare Algebra/Lagebeziehungen/Geraden und Ebenen</text>
    </category>
    <info format="moodle_auto_format">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 966576  -->
  <question type="stack">
    <name>
      <text>Lagebeziehung von Geraden und Ebenen (1)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p style="text-align: justify;">Seien \(G\) eine Gerade und \(E\) eine Ebene in \(\mathbb{R}^3\). Die Gerade \(G\) werde parametrisiert durch</p>
<p style="text-align: justify;margin-left:30px">\(\displaystyle g : \mathbb{R} \to \mathbb{R}^3\), \(\displaystyle t \mapsto \vec{p} + t \, \vec{v}\)</p>
<p style="text-align: justify;">mit \(v \in \mathbb{R}^3 \setminus\{0\}\) und die Ebene \(E\) werde parametrisiert durch
<p style="text-align: justify;margin-left:30px">\(\displaystyle h : \mathbb{R}^2 \to \mathbb{R}^3\), \(\displaystyle (s_1,s_2) \mapsto \vec{q} + s_1 \, \vec{w}_1 + s_2 \, \vec{w}_2\)</p>
<p style="text-align: justify;">mit linear unabhängigen Vektoren \(\vec{w_1}\), \(\vec{w_2} \in \mathbb{R}^3\). Im Folgenden bezeichne \(\vec{n}\) das Vektorprodukt \(\vec{n} = \vec{w}_1 \times \vec{w}_2\). 
<hr>
<p style="text-align: justify;">(a) Vervollständigen Sie die folgende Aussage zu einer im Allgemeinen wahren Aussage über die Lagebeziehung von \(G\) und \(E\).</p>
<p style="text-align: justify;">Wenn [[input:ans2]] sind, dann schneidet die Gerade \(G\) die Ebene \(E\) [[input:ans1]].</p>
<p style="text-align: justify;">[[validation:ans1]][[validation:ans2]]</p>
<p style="text-align: justify;">[[feedback:prt1]]</p>
<hr>
<p style="text-align: justify;">(b) Vervollständigen Sie jede der drei folgenden Aussagen zu einer im Allgemeinen wahren Aussage über die Lagebeziehung von \(G\) und \(E\).</p>
<p style="text-align: justify;">(i) Wenn die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet, dann sind [[input:ans3]].</p>
<p style="text-align: justify;">[[validation:ans3]]</p>
<p style="text-align: justify;">[[feedback:prt2]]</p>
<p style="text-align: justify;">(ii) Wenn die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten schneidet, dann sind [[input:ans4]].</p>
<p style="text-align: justify;">[[validation:ans4]]</p>
<p style="text-align: justify;">[[feedback:prt3]]</p>
<p style="text-align: justify;">(iii) Wenn die Gerade \(G\) die Ebene \(E\) gar nicht schneidet, dann sind [[input:ans5]].</p>
<p style="text-align: justify;">[[validation:ans5]]</p>
<p style="text-align: justify;">[[feedback:prt4]]</p>
<hr>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p style="text-align: justify;">Zunächst betrachten wir zwei Charakterisierung (1) und (2) eines Schnittpunktes der Geraden \(G\) und der Ebene \(E\).</p>
<p style="text-align: justify;">(1) Die Gerade \(G\) schneidet die Ebene \(E\) im Punkt \(g(t)\) genau dann, wenn</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle (g(t)-\vec{q})\cdot\vec{n} = 0\)
</p>
<p style="text-align: justify;"> ist. Da das Standardskalarprodukt bilinear ist, ist diese Gleichung äquivalent zu</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle t \, \vec{v}  \cdot\vec{n} = (\vec{q} - \vec{p}) \cdot\vec{n}\quad(*)\).
</p>
<p style="text-align: justify;">(2) Die Gerade \(G\) schneidet die Ebene \(E\) im Punkt \(g(t) = h(s_1,s_2)\) genau dann, wenn
<p style="text-align: justify;margin-left:30px">
\(\displaystyle t \, \vec{v} - s_1 \, \vec{w}_1 - s_2\, \vec{w}_2 = \vec{q} - \vec{p} \quad(**)\)
</p>
<p style="text-align: justify;">ist.</p>
<hr>
<p style="text-align: justify;">zu (a)(1.1) Falls \(\vec{v}\), \(\vec{n}\) linear abhängig sind, so existiert eine genau eine reelle Zahl \(\lambda \in \mathbb{R}\) mit \(\lambda \, \vec{v} = \vec{n}\). Da \(\vec{v}\) und \(\vec{n}\) insbesondere ungleich dem Nullvektor sind und damit auch \(\lambda\) und \(\vec{n} \cdot \vec{n}\) ungleich null sind, existiert genau eine reelle Zahl</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle t = \frac{(\vec{q} - \vec{p}) \cdot\vec{n}}{\lambda \, \vec{n}\cdot\vec{n}}\),
</p>
<p style="text-align: justify;">für die die Gleichung \((*)\) erfüllt ist.</p>
<hr>
<p style="text-align: justify;">zu (a)(1.2) Falls \(\vec{v}\), \(\vec{n}\) linear unabhängig sind, unterscheiden wir die Fälle \(\vec{v} \cdot  \vec{n} \neq 0\) und  \(\vec{v} \cdot  \vec{n} = 0\). Für den Fall, dass \(\vec{v} \cdot  \vec{n} \neq 0\) ist, folgt wie im Fall der linearen Unabhängigkeit von \(\vec{v}\), \(\vec{n}\), dass genau eine reelle Zahl
<p style="text-align: justify;margin-left:30px">
\(\displaystyle t = \frac{(\vec{q} - \vec{p}) \cdot\vec{n}}{\vec{v}\cdot\vec{n}}\)
</p>
<p style="text-align: justify;">existiert, für die die Gleichung \((*)\) erfüllt ist. Ist andererseits \(\vec{v} \cdot  \vec{n} = 0\), so ist die Gleichung \((*)\) genau dann erfüllt, falls \(\vec{q} - \vec{p} = 0\) ist. Wir unterscheiden die Fälle \(\vec{q} - \vec{p} = 0\) und \(\vec{q} - \vec{p} \neq 0\). Falls \(\vec{q} - \vec{p} = 0\), so ist die Gleichung \((*)\) für alle reellen Zahlen \(t\) erfüllt. Falls andererseits \(\vec{q} - \vec{p} \neq 0\), so ist die Gleichung \((*)\) für keine reelle Zahl \(t\) erfüllt.</p>
<hr>
<p style="text-align: justify;">zu (a)(1.3) Falls \(\vec{v}\), \(\vec{n}\) senkrecht sind und damit \(\vec{v} \cdot  \vec{n} = 0\) ist, existiert keine reelle Zahl \(t\) oder es existieren unendlich viele reelle Zahlen,  für die die Gleichung \((*)\) erfüllt ist (vergleiche (a)(1.2)).
<hr>
<p style="text-align: justify;">zu (a)(2.1) Falls \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear unabhängig sind, 
lässt sich jeder Vektor in \(\mathbb{R}^3\) als eindeutige Linearkombination von \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) darstellen. Insbesondere existiert auch für \(\vec{q}-\vec{p}\) eine eindeutige Linearkombination</p>
<p style="text-align: justify;margin-left: 30px">
 \(\displaystyle \vec{q}-\vec{p} = \lambda_0 \, \vec{v} + \lambda_1 \, \vec{w}_1 + \lambda_2 \vec{w}_2\).
</p>
<p style="text-align: justify;">Mit \(t = \lambda_0\), \(s_1 = -\lambda_1\) und  \(s_2 = -\lambda_1\) ist diese Gleichung äquivalent zu der Gleichung \((**)\).
<hr>
<p style="text-align: justify;">zu (a)(2.2) Falls \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig sind, 
existieren eindeutige reelle Zahlen \(\lambda_1\) und \(\lambda_2\), sodass</p>
<p style="text-align: justify;margin-left: 30px">
 \(\vec{v} = \lambda_1 \, \vec{w}_1 + \lambda_2 \vec{w}_2\).
</p>
<p style="text-align: justify;">ist. Unterscheide die Fälle, dass \(\vec{w}_1\), \(\vec{w}_2\), \(\vec{q}-\vec{p}\) linear abhängig oder linear unabhängig sind: Falls \(\vec{w}_1\), \(\vec{w}_2\), \(\vec{q}-\vec{p}\) linear abhängig sind, so existieren eindeutige reelle Zahlen \(\mu_1\), \(\mu_2\) mit 
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle \vec{q} - \vec{p} = \mu_1 \, \vec{w}_1 + \mu_2 \vec{w}_2 \).
</p>
<p style="text-align: justify;">Für jede beliebige reelle Zahl \(\mu_0\) lässt sich die rechte Seite der Gleichung um \(\mu_0 \, \vec{v}\) ergänzen zu</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle \vec{q} - \vec{p} = \mu_0 \, \vec{v} + (\mu_1-\mu_0\,\lambda_1) \, \vec{w}_1 + (\mu_2-\mu_0\,\lambda) \vec{w}_2 \).</p>
<p style="text-align: justify;">Dies ist äquivalent zu der Gleichung \((**)\) für \(t = \mu_0\), \(s_1 = -\mu_1+\mu_0\) und \(s_2 = -\mu_2+\mu_0\). Falls andererseits \(\vec{w}_1\), \(\vec{w}_2\), \(\vec{q}-\vec{p}\) linear unabhängig sind, so folgt für jede Darstellung des Nullvektors als Linearkombination</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle 0 = \mu_1 \, \vec{w}_1 + \mu_2 \vec{w}_2 + \mu_3 \, (\vec{q} - \vec{p}) \).
</p>
<p style="text-align: justify;">der Vektoren \(\vec{w}_1\), \(\vec{w}_2\), \(\vec{q}-\vec{p}\), dass \(\mu_1\), \(\mu_2\), \(\mu_3\) jeweils gleich null sind. Für jede beliebige Zahl \(\mu_0\) lässt sich diese Linearkombination des Nullvektors um \(\mu_0 \, v_0\) ergänzen zu</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle 0 = \mu_0 \, \vec{v} + (\mu_1-\mu_0\,\lambda_1) \, \vec{w}_1 + (\mu_2-\mu_0\,\lambda) \vec{w}_2 + \mu_3 \, (\vec{q} - \vec{p}) \).
</p>
<p style="text-align: justify;">Insbesondere ist die Gleichung für \(\mu_3 \neq 0\) falsch. Dies zeigt, dass die Gleichung \((**)\) für keine rellen Zahlen \(t\), \(s_1\), \(s_2\) erfüllt ist.</ü>
<hr>
<p style="text-align: justify;">zu (b)(i) Falls die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet, 
existieren eindeutige reelle Zahlen \(t\), \(s_1\), \(s_2\), sodass die Gleichung \((**)\) erfüllt ist. Seien \(\lambda_0\), \(\lambda_1\), \(\lambda_2\) reelle Zahlen mit</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle 0 = \lambda_0 \,\vec{v} + \lambda_1\,\vec{w}_1 + \lambda_2\, \vec{w}_2 \)
</p>
<p style="text-align: justify;">und somit</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle \vec{q}-\vec{p} = (\lambda_0+t)\, \vec{v} + (\lambda_1+s_1)\, \vec{w}_1 + (\lambda_1+s_2)\, \vec{w}_3 \).
</p>
<p style="text-align: justify;">Aus der Eindeutigkeit des Schnittpunktes der Geraden \(G\) und der Ebene \(E\), folgt dann, dass \(\lambda_1\), \(\lambda_2\), \(\lambda_3\) jeweils gleich null sind.</p>
<hr>
<p style="text-align: justify;">zu (b)(ii)(1) Falls die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten schneidet, existieren unendlich viele reelle Zahlen \(t\), sodass die Gleichung \((*)\) erfüllt ist. Seien \(t\) und \(\tilde{t}\) zwei voneinander verschiedene Parameter, sodass Gleichung \((*)\) erfüllt ist. Dann ist</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle(t - \tilde{t}) \, \vec{v} \cdot \vec{n} = 0\).
</p>
<p style="text-align: justify;">und damit \( \vec{v} \cdot \vec{n} = 0\).</p>
<hr>
<p style="text-align: justify;">zu (b)(ii)(2) Falls die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten schneidet, existieren unendlich viele reelle Zahlen \(t\), \(s_1\), \(s_2\), sodass die Gleichung \((**)\) erfüllt ist. Seien \(t\), \(s_1\), \(s_2\) und \(\tilde{t}\), \(\tilde{s}_1\), \(\tilde{s}_2\) zwei voneinander verschiedene Tripel von Parametern, sodass Gleichung \((**)\) erfüllt ist. Dann ist</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle (t - \tilde{t}) \, \vec{v} + (\tilde{s}_1 - s_1)\, \vec{w}_1 + (\tilde{s}_2 - s_2)\, \vec{w}_2 = 0 \)
</p>
<p style="text-align: justify;">eine nicht-triviale Linearkombination des Nullvektors. Folglich sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig.</p>
<hr>
<p style="text-align: justify;">zu (b)(iii)(1) Falls die Gerade \(G\) die Ebene \(E\) gar nicht schneidet, so ist gemäß der Gleichung \((*)\)</p>
<p style="text-align: justify;margin-left:30px">
 \(\displaystyle t \, \vec{v} \cdot \vec{n} + (\vec{p} - \vec{q}) \cdot \vec{n}\)
</p>
<p style="text-align: justify;">entweder strikt größer oder strikt kleiner null für alle \(t \in \mathbb{R}\). Fasst man diesen Ausdruck als (affin) lineare Funktion in \(t\) auf, so wird deutlich, dass die gegebene Bedingung nur dann erfüllt ist, falls die Steigung \( \vec{v} \cdot \vec{n}  \) gleich null ist. Damit sind  \( \vec{v}\) und  \( \vec{n}\) senkrecht und insbesondere linear unabhängig.</p>
<hr>
<p style="text-align: justify;">zu (b)(iii)(2) Falls die Gerade \(G\) die Ebene \(E\) gar nicht schneidet, so sind \(vec{v}\), \(\vec{w}_1\) und \(\vec{w}_2\) linear abhängig. Denn andernfalls existiert gemäß (a)(2.1) ein eindeutiger Schnittpunkt.</p>
<hr>
<p style="text-align: justify;">zu (b) Alle weiteren Antwortmöglichkeiten in (b)(i), (b)(ii) und (b)(iii) lassen sich entweder nicht eindeutig aus der jeweiligen Lagebeziehung von \(G\) und \(E\) folgern oder widersprechen dieser (siehe Aufgabenteil (a)).</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <stackversion>
      <text>2023010400</text>
    </stackversion>
    <questionvariables>
      <text><![CDATA[/*
  Lagebeziehung von Geraden und Ebenen (1)

  wurde entwickelt von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  nach einer Idee von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  an der Ruhr-Universität Bochum.

  Dieses Werk ist lizenziert unter einer Creative Commons
  Namensnennung-Weitergabe unter gleichen Bedingungen 4.0 International
  Lizenz. Um eine Kopie der Lizenz zu erhalten, besuchen Sie
  http://creativecommons.org/licenses/by-sa/4.0/.

  SPDX-License-Identifier: CC-BY-SA-4.0

*/

/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */


/* Antworten zu Aufgabenteil (a) */

TextFragment1 : "v, n linear abhängig";
TextFragment2 : "v, n linear unabhängig";
TextFragment3 : "v, n senkrecht";
TextFragment4 : "v, w1, w2 linear unabhängig";
TextFragment5 : "v, w1, w2 linear abhängig";

TextFragment6 : "in unendlich vielen Punkten";
TextFragment7 : "in genau einem Punkt";
TextFragment8 : "gar nicht";


TeacherAnswerA1 : random_permutation([
[1,true, TextFragment1],
[2,false, TextFragment2],
[3,false, TextFragment3],
[4,false, TextFragment4],
[5,false, TextFragment5]
]);

TeacherAnswerA2 : random_permutation([
[1,false, TextFragment6],
[2,true, TextFragment7],
[3,false, TextFragment8]
]);

/* Antworten zu Aufgabenteil (b) */

TeacherAnswerB1 : random_permutation([
[1,false, TextFragment1],
[2,false, TextFragment2],
[3,false, TextFragment3],
[4,true, TextFragment4],
[5,false, TextFragment5]
]);

TeacherAnswerB2 : random_permutation([
[1,false, TextFragment1],
[2,false, TextFragment2],
[3,true, TextFragment3],
[4,false, TextFragment4],
[5,false, TextFragment5]
]);

TeacherAnswerB3 : random_permutation([
[1,false, TextFragment1],
[2,true, TextFragment2],
[3,false, TextFragment3],
[4,false, TextFragment4],
[5,false, TextFragment5]
]);]]></text>
    </questionvariables>
    <specificfeedback format="html">
      <text></text>
    </specificfeedback>
    <questionnote>
      <text>Hinweis</text>
    </questionnote>
    <questionsimplify>1</questionsimplify>
    <assumepositive>0</assumepositive>
    <assumereal>0</assumereal>
    <prtcorrect format="html">
      <text></text>
    </prtcorrect>
    <prtpartiallycorrect format="html">
      <text></text>
    </prtpartiallycorrect>
    <prtincorrect format="html">
      <text></text>
    </prtincorrect>
    <multiplicationsign>none</multiplicationsign>
    <sqrtsign>1</sqrtsign>
    <complexno>i</complexno>
    <inversetrig>cos-1</inversetrig>
    <logicsymbol>lang</logicsymbol>
    <matrixparens>(</matrixparens>
    <variantsselectionseed></variantsselectionseed>
    <input>
      <name>ans1</name>
      <type>dropdown</type>
      <tans>TeacherAnswerA2</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans2</name>
      <type>dropdown</type>
      <tans>TeacherAnswerA1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans3</name>
      <type>dropdown</type>
      <tans>TeacherAnswerB1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans4</name>
      <type>dropdown</type>
      <tans>TeacherAnswerB2</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans5</name>
      <type>dropdown</type>
      <tans>TeacherAnswerB3</tans>
      <boxsize>15</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <prt>
      <name>prt1</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>SAnsValue1 : member([ans2,ans1],[[1,2],[4,2]]);
SAnsValue4 : member(ans2,[1,4]);</text>
      </feedbackvariables>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>SAnsValue1</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>2</falsenextnode>
        <falseanswernote>prt1-2-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans2</sans>
        <tans>2</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-3-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Falls \(\vec{v}\), \(\vec{n}\) linear unabhängig sind, können drei verschiedene Fälle auftreten: Entweder sind \(\vec{v}\), \(\vec{n}\) senkrecht, sodass die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten oder gar nicht schneidet, oder \(\vec{v}\), \(\vec{n}\) sind nicht senkrecht, sodass die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet. Nur aus der Annahme, dass  \(\vec{v}\), \(\vec{n}\) linear unabhängig sind, lässt sich die Lagebeziehung von  \(G\) und \(E\) nicht eindeutig folgern.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>3</falsenextnode>
        <falseanswernote>prt1-3-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>3</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans2</sans>
        <tans>3</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-4-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Falls \(\vec{v}\), \(\vec{n}\) senkrecht sind, können zwei verschiedene Fälle auftreten: Entweder schneidet die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten oder gar nicht. Nur aus der Annahme, dass \(\vec{v}\), \(\vec{n}\) senkrecht sind, lässt sich die Lagebeziehung von  \(G\) und \(E\) nicht eindeutig folgern.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>4</falsenextnode>
        <falseanswernote>prt1-4-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>4</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans2</sans>
        <tans>5</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-5-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Falls \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig sind, können zwei verschiedene Fälle auftreten: Entweder schneidet die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten oder gar nicht. Nur aus der Annahme, dass \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig sind, lässt sich die Lagebeziehung von  \(G\) und \(E\) nicht eindeutig folgern.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-5-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">Falls \(\vec{v}\), \(\vec{n}\) linear abhängig sind oder falls \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear unabhängig sind, schneidet die Gerade \(G\) die Ebene \(E\) in genau einem Punkt.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt2</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans3</sans>
        <tans>4</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt4-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(i) Falls die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear unabhängig. 
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(i) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>1</falsenextnode>
        <falseanswernote>prt4-1-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans3</sans>
        <tans>1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt2-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(i) Falls die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear unabhängig. Nur aus der Annahme, dass die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet, lässt sich jedoch nicht eindeutig folgern, dass  \(\vec{v}\), \(\vec{n}\) linear abhängig sind.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(i) ist falsch.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt2-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(i) Falls die Gerade \(G\) die Ebene \(E\) in genau einem Punkt schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear unabhängig.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(i) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt3</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>SAnsValue1 : member(ans4,[3,5]);</text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>SAnsValue1</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt3-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(ii) Falls die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig oder es sind äquivalent \(\vec{v}\), \(\vec{n}\) senkrecht. 
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(ii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>=</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt3-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(ii) Falls die Gerade \(G\) die Ebene \(E\) in unendlich vielen Punkten schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig oder es sind äquivalent \(\vec{v}\), \(\vec{n}\) senkrecht. 
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(ii) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt4</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>SAnsValue1 : member(ans5,[2,4]);</text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>SAnsValue1</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt4-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(iii) Falls die Gerade \(G\) die Ebene \(E\) gar nicht schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig oder es sind äquivalent \(\vec{v}\), \(\vec{n}\) senkrecht. 
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(iii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt4-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(iii) Falls die Gerade \(G\) die Ebene \(E\) gar nicht schneidet, dann sind \(\vec{v}\), \(\vec{w}_1\), \(\vec{w}_2\) linear abhängig oder es sind äquivalent \(\vec{v}\), \(\vec{n}\) senkrecht. 
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(iii) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <qtest>
      <testcase>1</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_correct(TeacherAnswerA2))</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>first(mcq_correct(TeacherAnswerA1))</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>first(mcq_correct(TeacherAnswerB1))</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>first(mcq_correct(TeacherAnswerB2))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>first(mcq_correct(TeacherAnswerB3))</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>2</testcase>
      <testinput>
        <name>ans1</name>
        <value>1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>2</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>1</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>1</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-1-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>3</testcase>
      <testinput>
        <name>ans1</name>
        <value>1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>3</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value></value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-4-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>4</testcase>
      <testinput>
        <name>ans1</name>
        <value>1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>5</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value></value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-5-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
    </qtest>
    <tags>
      <tag><text>Gerade</text>
</tag>
      <tag><text>Ebene</text>
</tag>
      <tag><text>Lagebeziehung</text>
</tag>
    </tags>
  </question>

<!-- question: 966577  -->
  <question type="stack">
    <name>
      <text>Lagebeziehung von Geraden und Ebenen (2)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p style="text-align: justify;">Seien \(G\) eine Gerade und \(E\) eine Ebene in \(\mathbb{R}^3\), die sich in genau einem Punkt schneiden. Die Gerade \(G\) werde parametrisiert durch</p>
<p style="text-align: justify;margin-left:30px">\(\displaystyle g : \mathbb{R} \to \mathbb{R}^3\), \(\displaystyle t \mapsto \vec{p} + t \, \vec{v}\)</p>
<p style="text-align: justify;">und die Ebene \(E\) werde parametrisiert durch
<p style="text-align: justify;margin-left:30px">\(\displaystyle h : \mathbb{R}^2 \to \mathbb{R}^3\), \(\displaystyle (s_1,s_2) \mapsto \vec{q} + s_1 \, \vec{w}_1 + s_2 \, \vec{w}_2\)</p>
<p style="text-align: justify;">mit</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle\vec{p} = {@pVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{v} = {@vVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{q} = {@qVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_1 = {@w1Vec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_2 = {@w2Vec@}\)&nbsp.
</p>
<hr>
<p style="text-align: justify;">(a) Bestimmen Sie \(t, \, s_1 \, s_2 \in \mathbb{R}\) mit \(g(t) = h(s_1,s_2)\) und geben Sie \(t, \, s_1\) und \(s_2\) exakt an.</p>
<p style="text-align: justify;">(i) Es ist \(t = \, \)[[input:ans1]] .</p>
<p style="text-align: justify;">[[validation:ans1]]</p>
<p style="text-align: justify;">[[feedback:prt1]]</p>
<p style="text-align: justify;">(ii) Es ist \(s_1 = \, \)[[input:ans2]] und es ist \(s_2 = \, \)[[input:ans3]] .</p>
<p style="text-align: justify;">[[validation:ans2]][[validation:ans3]]</p>
<p style="text-align: justify;">[[feedback:prt2]]</p>
<hr>
<p style="text-align: justify;">(b) Bestimmen Sie den Ortsvektor \(\vec{r}\) des eindeutigen Schnittpunkts \(r\) von \(G\) und \(E\) und geben Sie die Komponenten von \(\vec{r}\) an.</p>
Es ist \(\vec{r} = \, \)[[input:ans4]] .
<p style="text-align: justify;">[[validation:ans4]]</p>
<p style="text-align: justify;">[[feedback:prt3]]</p>
<hr>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Ein Punkt \(g(t)\) liegt genau dann in \(E\), wenn</p>
<p style="text-align: justify;margin-left:30px">\(\displaystyle
(g(t)-\vec{q}) \cdot \vec{n} = 0 \quad \text{(1)}
\)</p>
<p style="text-align: justify;">ist. Dabei bezeichne \(\vec{n} = \vec{w}_1 \times \vec{w}_2\) einen Normalenvektor der Ebene \(E\). Da das Skalarprodukt bilinear ist, ist (1) äquivalent zu</p>
<p style="text-align: justify;margin-left:30px">\(\displaystyle
(\vec{p} - \vec{q} ) \cdot \vec{n} + t \, \vec{v} \cdot \vec{n}  = 0
\).</p>
<p style="text-align: justify;">Da \(\vec{v} \cdot \vec{n}\) ungleich null ist, ist \(t\) eindeutig bestimmt durch</p>
<p style="text-align: justify;">\(\displaystyle
t = \frac{(\vec{q} - \vec{p} ) \cdot \vec{n}}{\vec{v} \cdot \vec{n}}
\).</p>
<p style="text-align: justify;">Für</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle\vec{q} - \vec{p} = {@qVec-pVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{n} = {@nVec@}\).
</p>
folgt schließlich \(t = {@ TAns1@}\).
<hr>
<p style="text-align: justify;">zu (a)(ii) Mithilfe der in Aufgabenteil (a)(i) bestimmten reellen Zahl \(t\) lässt sich der Ortsvektor \(\vec{r} = g(t)\) des Schnittpunktes \(r\) bestimmen (siehe Aufgabenteil (b)). Die Bedingung</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle \vec{r} = h(s_1,s_2) = \vec{q} + s_1 \, \vec{w}_1 + s_2 \, \vec{w}_2\)
</p>
<p style="text-align: justify;">ist ein überbestimmtes lineares Gleichungssystem, das sich eindeutig lösen lässt zu \(s_1 = {@ TAns2@}\) und \(s_2 = {@ TAns3@}\).</p>
<hr>
<p style="text-align: justify;">zu (b) Mithilfe der in Aufgabenteil (a)(i) bestimmten reellen Zahl \(t\) lässt sich der Ortsvektor \(\vec{r} = g(t)\) des Schnittpunktes \(r\) bestimmen zu</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle \vec{r} = {@rVec@}\).
</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <stackversion>
      <text>2023010400</text>
    </stackversion>
    <questionvariables>
      <text><![CDATA[/*
  Lagebeziehung von Geraden und Ebenen (2)

  wurde entwickelt von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  nach einer Idee von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  an der Ruhr-Universität Bochum.

  Dieses Werk ist lizenziert unter einer Creative Commons
  Namensnennung-Weitergabe unter gleichen Bedingungen 4.0 International
  Lizenz. Um eine Kopie der Lizenz zu erhalten, besuchen Sie
  http://creativecommons.org/licenses/by-sa/4.0/.

  SPDX-License-Identifier: CC-BY-SA-4.0

*/

/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */


/* Definition des Kreuzprodukts */
VectorProduct(a,b) :=
  matrix(a[2]*b[3]-a[3]*b[2],
   a[3]*b[1]-a[1]*b[3],
   a[1]*b[2]-a[2]*b[1])

/* --- */
ListComp1 : random_permutation([-1,0,1,2,3]);
ListComp2 : random_permutation([-1,1,2]);
ListComp3 : random_permutation([-1,1]);

/* Definition des Ortsvektors qVec und der linear unabhängigen Stützvektoren w1Vec, w2Ve */
qVec : matrix([ListComp1[1]],[ListComp1[2]],[ListComp1[3]]);

u1Vec : matrix([ListComp2[1]],[ListComp2[2]],[ListComp2[3]]);
u2Vec : ListComp3[1]*matrix([ListComp2[2]],[ListComp2[1]],[0]);
u3Vec : ListComp3[1]*matrix([ListComp2[3]],[0],[ListComp2[1]]);
u4Vec : ListComp3[1]*matrix([0],[ListComp2[3]],[ListComp2[2]]);

List1Vec : random_permutation([u2Vec,u3Vec,u4Vec]);
List2Vec : random_permutation([u1Vec,List1Vec[1]]);

w1Vec : List2Vec[1];
w2Vec : List2Vec[2];
w3Vec : List1Vec[2]; /* w3Vec ergänzt w1Vec und w2Vec zu einer Basis */

/* --- */
ListComp4 : random_permutation([0,1,1]);
ListComp5 : random_permutation([-2,-1,0,1,2]);
ListComp6 : random_permutation([-2,-1,1,2]);

/* Definition des Ortsvektors pVec und des Richtungsvektors vVec */
pVec : qVec + ListComp3[2]*w3Vec - ListComp4[1]*w1Vec + ListComp4[2]*w2Vec;
rVec : qVec + ListComp5[1]*w1Vec + ListComp5[2]*w2Vec;
vVec : ListComp6[1]*(rVec-pVec);

/* Objekte zur Überprüfung der Antwort der Studierenden */
nVec : VectorProduct(w1Vec,w2Vec); /* Normalenvektor der Ebene E */

n1Vec : matrix([vVec[2,1]],[-vVec[1,1]],[0]); /* Normalenvektoren der Geraden G */
n2Vec : matrix([vVec[3,1]],[0],[-vVec[1,1]]); /* Normalenvektoren der Geraden G */

/* Antworten */
TAns1 : 1/ListComp6[1];
TAns2 : ListComp5[1];
TAns3 : ListComp5[2];
TAns4 : rVec;

/* Falsche Antwort */
TAns1W1 : p1Vec + vPerp1;

TAns2W1 : matrix([0],[0],[0]);

TAns3W1 : vPerp1;

TAns4W1 : pVec;
TAns4W2 : qVec;
TAns4W3 : pVec + w1Vec + w2Vec;]]></text>
    </questionvariables>
    <specificfeedback format="html">
      <text></text>
    </specificfeedback>
    <questionnote>
      <text>Hinweis</text>
    </questionnote>
    <questionsimplify>1</questionsimplify>
    <assumepositive>0</assumepositive>
    <assumereal>0</assumereal>
    <prtcorrect format="html">
      <text></text>
    </prtcorrect>
    <prtpartiallycorrect format="html">
      <text></text>
    </prtpartiallycorrect>
    <prtincorrect format="html">
      <text></text>
    </prtincorrect>
    <multiplicationsign>none</multiplicationsign>
    <sqrtsign>1</sqrtsign>
    <complexno>i</complexno>
    <inversetrig>cos-1</inversetrig>
    <logicsymbol>lang</logicsymbol>
    <matrixparens>(</matrixparens>
    <variantsselectionseed></variantsselectionseed>
    <input>
      <name>ans1</name>
      <type>algebraic</type>
      <tans>TAns1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans2</name>
      <type>algebraic</type>
      <tans>TAns2</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans3</name>
      <type>algebraic</type>
      <tans>TAns3</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans4</name>
      <type>matrix</type>
      <tans>TAns4</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <prt>
      <name>prt1</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans1</sans>
        <tans>TAns1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Für die von Ihnen für \(t\) eingegebene reelle Zahl liegt \(g(t)\) in \(E\). Insbesondere existieren eindeutige reelle Zahlen \(s_1\) und \(s_2\) mit \(g(t) = h(s_1,s_2)\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(i) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Für die von Ihnen für \(t\) eingegebene reelle Zahl liegt \(g(t)\) nicht in \(E\), sodass keine reellen Zahlen \(s_1\) und \(s_2\) mit \(g(t) = h(s_1,s_2)\) existieren.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(i) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt2</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>[ans2,ans3]</sans>
        <tans>[TAns2,TAns3]</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt4-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(ii) Für die von Ihnen für \(s_1\) und \(s_2\) eingegebenen reellen Zahlen liegt \(h(s_1,s_2)\) in \(G\). Insbesondere existiert eine eindeutige reelle Zahl \(t\) mit \(g(t) = h(s_1,s_2)\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(ii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt4-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(ii) Für die von Ihnen für \(s_1\) un d \(s_2\) eingegebenen reellen Zahlen liegt \(h(s_1,s_2)\) nicht in \(G\), sodass keine reelle Zahl \(t\) mit \(g(t) = h(s_1,s_2)\) existiert.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(ii) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt3</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>T1SAns3 : transpose(ans4-pVec);
T2SAns3 : transpose(ans4-qVec);

ComplCheck1 : abs(T1SAns3.n1Vec) + abs(T1SAns3.n2Vec);
ComplCheck2 : T2SAns3.nVec ;</text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ComplCheck1</sans>
        <tans>0</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.5</truescore>
        <truepenalty></truepenalty>
        <truenextnode>1</truenextnode>
        <trueanswernote>prt3-1-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>2</falsenextnode>
        <falseanswernote>prt3-1-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>ComplCheck2</sans>
        <tans>0</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.5</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt3-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Sie haben den Ortsvektor \(\vec{r}\) der Schnittpunktes \(r\) von \(G\) und \(E\) korrekt angegeben..</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(ii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt3-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Der von Ihnen für den Ortsvektor \(\vec{r}\) eingegebene Vektor repräsentiert einen Punkt, der zwar in \(G\), aber nicht in \(E\) liegt.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist in diesem Sinne teilweise richtig.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>ComplCheck2</sans>
        <tans>0</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.5</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt3-3-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Der von Ihnen für den Ortsvektor \(\vec{r}\) eingegebene Vektor repräsentiert einen Punkt, der zwar in \(E\), aber nicht in \(G\) liegt.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist in diesem Sinne teilweise richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt3-3-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Der von Ihnen für den Ortsvektor \(\vec{r}\) eingegebene Vektor repräsentiert einen Punkt, der weder in \(E\) noch in \(G\) liegt.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <qtest>
      <testcase>1</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAns1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAns2</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>TAns3</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAns4</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-2-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>2</testcase>
      <testinput>
        <name>ans1</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAns4W1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-2-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>3</testcase>
      <testinput>
        <name>ans1</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAns4W2</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-3-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>4</testcase>
      <testinput>
        <name>ans1</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAns4W3</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-3-F</expectedanswernote>
      </expected>
    </qtest>
    <tags>
      <tag><text>Gerade</text>
</tag>
      <tag><text>Ebene</text>
</tag>
      <tag><text>Lagebeziehung</text>
</tag>
    </tags>
  </question>

<!-- question: 966578  -->
  <question type="stack">
    <name>
      <text>Lagebeziehung von Geraden und Ebenen (3) (Halbgeraden)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p style="text-align: justify;">Seien \(G\) eine Gerade und \(E\) eine Ebene in \(\mathbb{R}^3\), die sich in genau einem Punkt schneiden. Die Gerade \(G\) werde parametrisiert durch</p>
<p style="text-align: justify;margin-left:30px">\(\displaystyle g : \mathbb{R} \to \mathbb{R}^3\), \(\displaystyle t \mapsto \vec{p} + t \, \vec{v}\)</p>
<p style="text-align: justify;">und die Ebene \(E\) werde parametrisiert durch
<p style="text-align: justify;margin-left:30px">\(\displaystyle h : \mathbb{R}^2 \to \mathbb{R}^3\), \(\displaystyle (s_1,s_2) \mapsto \vec{q} + s_1 \, \vec{w}_1 + s_2 \, \vec{w}_2\)</p>
<p style="text-align: justify;">mit</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle\vec{p} = {@pVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{v} = {@vVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{q} = {@qVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_1 = {@w1Vec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_2 = {@w2Vec@}\)&nbsp.
</p>
<p style="text-align: justify;">Die Menge </p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle G_{+} = \{ g(t) \mid t > 0 \}\)
</p>
<p style="text-align: justify;">definiert eine Halbgerade in \(G\).</p>
<hr>
<p style="text-align: justify;">(a) Bestimmen Sie die reelle Zahl \(t \in \mathbb{R}\) mit \(g(t) \in E\) und geben Sie \(t\) exakt an.</p>
<p style="text-align: justify;">(i) Es ist \(t = \, \)[[input:ans5]] .</p>
<p style="text-align: justify;">[[validation:ans5]]</p>
<p style="text-align: justify;">[[feedback:prt4]]</p>
<hr>
<p style="text-align: justify;">(b) Sei \(r = g(t)\) der Schnittpunkt von \(G\) und \(E\) für \(t\) aus Aufgabenteil (a). Entscheiden Sie mithilfe von \(t\), ob \(r\) ein Element der Halbgeraden \(G_{+}\) ist. Vervollständigen Sie dazu den folgenden Lückentext.</p>
<p style="text-align: justify;">Der Punkt \(r\) ist [[input:ans1]] Element von \(G_{+}\).
<p style="text-align: justify;">[[validation:ans1]]</p>
<p style="text-align: justify;">[[feedback:prt1]]</p>
<hr>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p style="text-align: justify;">zu (a) Die Bedingung \(\displaystyle g(t) \in E\) ist äquivalent zu der Gleichung</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle 0 = \vec{n} \cdot (g(t)-\vec{q}) = t \, \vec{n} \cdot \vec{v} + \vec{n} \cdot (\vec{p} - \vec{q}) \).
</p>
<p style="text-align: justify;">Da \(\vec{n} \cdot \vec{v}\) ungleich null ist, ist die Gleichung äquivalent zu</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle t = \frac{\vec{n} \cdot (\vec{q} - \vec{p})}{\vec{n} \cdot \vec{v}} \).
</p>
<p style="text-align: justify;">Folglich sind für \(t = {@TAnsA1@}\) die obigen Gleichungen beziehungsweise die obige Bedingung erfüllt.</p>
<hr>
<p style="text-align: justify;">zu (b) Da \(t \, {@ListComp6[TimeSign[1]]@} \, 0\) ist, ist der Punkt \(r = g(t)\) {@ListComp5[TimeSign[1]]@} Element der Halbgeraden \(G_{+}\).</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <stackversion>
      <text>2023010400</text>
    </stackversion>
    <questionvariables>
      <text><![CDATA[/*
  Lagebeziehung von Geraden und Ebenen (3) (Halbgeraden)

  wurde entwickelt von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  nach einer Idee von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  an der Ruhr-Universität Bochum.

  Dieses Werk ist lizenziert unter einer Creative Commons
  Namensnennung-Weitergabe unter gleichen Bedingungen 4.0 International
  Lizenz. Um eine Kopie der Lizenz zu erhalten, besuchen Sie
  http://creativecommons.org/licenses/by-sa/4.0/.

  SPDX-License-Identifier: CC-BY-SA-4.0

*/

/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */

/* Notation */

texput(las,"<");
texput(gas,">");

/* Definition des Kreuzprodukts */
VectorProduct(a,b) :=
  matrix(a[2]*b[3]-a[3]*b[2],
   a[3]*b[1]-a[1]*b[3],
   a[1]*b[2]-a[2]*b[1])

/* --- */
ListComp1 : random_permutation([-1,0,1,2,3]);
ListComp2 : random_permutation([-1,1,2]);
ListComp3 : random_permutation([-2,-1,1,2]);
ListComp4 : random_permutation([3,4,5]);

/* Definition des Ortsvektors qVec und der linear unabhängigen Stützvektoren w1Vec, w2Ve */
qVec : matrix([ListComp1[1]],[ListComp1[2]],[ListComp1[3]]);

u1Vec : matrix([ListComp2[1]],[ListComp2[2]],[ListComp2[3]]);
u2Vec : ListComp3[1]*matrix([ListComp2[2]],[ListComp2[1]],[0]);
u3Vec : ListComp3[1]*matrix([ListComp2[3]],[0],[ListComp2[1]]);
u4Vec : ListComp3[1]*matrix([0],[ListComp2[3]],[ListComp2[2]]);

List1Vec : random_permutation([u2Vec,u3Vec,u4Vec]);
List2Vec : random_permutation([u1Vec,List1Vec[1]]);

w1Vec : List2Vec[1];
w2Vec : List2Vec[2];
w3Vec : List1Vec[2]; /* w3Vec ergänzt w1Vec und w2Vec zu einer Basis */

/* Definition des Ortsvektors rVec*/

rVec : qVec + rand([-1,1]) * w1Vec + rand([-1,1]) * w2Vec;

/* Definition des Ortsvektors pVec und des Richtungsvektors vVec */
vVec : rand([w3Vec+rand([-1,1])*w1Vec, w3Vec+rand([-1,1])*w2Vec]);

TimeSign : random_permutation([1,2]);
TimeParam : ((-1)^TimeSign[1])*rand([1,2,3]);
pVec : rVec + TimeParam * vVec ;

ListComp5 : ["ein", "kein"];
ListComp6 : [gas, las];

/* Antworten */
TAnsA1 : -TimeParam;
TAnsA3 : [[1,true,ListComp5[TimeSign[1]]],[2,false,ListComp5[TimeSign[2]]]];

/* Falsche Antworten */

TAnsA1W1 : TimeParam;
TAnsA1W2 : -2*TimeParam;]]></text>
    </questionvariables>
    <specificfeedback format="html">
      <text></text>
    </specificfeedback>
    <questionnote>
      <text>Hinweis</text>
    </questionnote>
    <questionsimplify>1</questionsimplify>
    <assumepositive>0</assumepositive>
    <assumereal>0</assumereal>
    <prtcorrect format="html">
      <text></text>
    </prtcorrect>
    <prtpartiallycorrect format="html">
      <text></text>
    </prtpartiallycorrect>
    <prtincorrect format="html">
      <text></text>
    </prtincorrect>
    <multiplicationsign>none</multiplicationsign>
    <sqrtsign>1</sqrtsign>
    <complexno>i</complexno>
    <inversetrig>cos-1</inversetrig>
    <logicsymbol>lang</logicsymbol>
    <matrixparens>(</matrixparens>
    <variantsselectionseed></variantsselectionseed>
    <input>
      <name>ans1</name>
      <type>dropdown</type>
      <tans>TAnsA3</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans5</name>
      <type>algebraic</type>
      <tans>TAnsA1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <prt>
      <name>prt1</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text><![CDATA[RayCheck : is(ans5 > 0);

TextMod2 : ""
if RayCheck then (
  TextMod2 : "ein"
  
) else (
  TextMod2 : "kein"
)]]></text>
      </feedbackvariables>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans5</sans>
        <tans>TAnsA1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>3</truenextnode>
        <trueanswernote>prt1-2-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>2</falsenextnode>
        <falseanswernote>prt1-2-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>TAnsA3[ans1][3]</sans>
        <tans>TextMod2</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.5</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-3-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Für die von Ihnen für \(t\) eingegebene reelle Zahl ist \(g(t)\) {@TextMod2@} Element von \(G_{+}\). Da für die von Ihnen für \(t\) eingegebene reelle Zahl \(g(t)\) und \(r\) nicht übereinstimmen, erlaubt dies allerdings keine Aussage darüber, ob \(r\) ein Element von \(G_{+}\) ist.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist teilweise richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-3-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Für die von Ihnen für \(t\) eingegebene reelle Zahl ist \(g(t)\) {@TextMod2@} Element von \(G_{+}\). Da für die von Ihnen für \(t\) eingegebene reelle Zahl \(g(t)\) und \(r\) nicht übereinstimmen, erlaubt dies allerdings keine Aussage darüber, ob \(r\) ein Element von \(G_{+}\) ist.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>3</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans1</sans>
        <tans>1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-4-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Es ist \(r\) {@ListComp5[1]@} Element von \(G_{+}\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-4-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Es ist \(r\) {@ListComp5[1]@} Element von \(G_{+}\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt4</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans5</sans>
        <tans>TAnsA1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt4-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(t\) eingegebene reelle Zahl liegt \(g(t)\) in \(E\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt4-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(t\) eingegebene reelle Zahl liegt \(g(t)\) nicht in \(E\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <qtest>
      <testcase>1</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_correct(TAnsA3))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsA1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-4-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>2</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_incorrect(TAnsA3))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsA1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-4-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>3</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_incorrect(TAnsA3))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsA1W1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>4</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_correct(TAnsA3))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsA1W1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>5</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_correct(TAnsA3))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsA1W2</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>6</testcase>
      <testinput>
        <name>ans1</name>
        <value>first(mcq_incorrect(TAnsA3))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsA1W2</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-F</expectedanswernote>
      </expected>
    </qtest>
    <tags>
      <tag><text>Gerade</text>
</tag>
      <tag><text>Halbgerade</text>
</tag>
      <tag><text>Ebene</text>
</tag>
    </tags>
  </question>

<!-- question: 966579  -->
  <question type="stack">
    <name>
      <text>Lagebeziehung von Geraden und Ebenen (4) (Halbebenen)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p style="text-align: justify;">Seien \(G\) eine Gerade und \(E\) eine Ebene in \(\mathbb{R}^3\), die sich in genau einem Punkt schneiden. Die Gerade \(G\) werde parametrisiert durch</p>
<p style="text-align: justify;margin-left:30px">\(\displaystyle g : \mathbb{R} \to \mathbb{R}^3\), \(\displaystyle t \mapsto \vec{p} + t \, \vec{v}\)</p>
<p style="text-align: justify;">und die Ebene \(E\) werde parametrisiert durch
<p style="text-align: justify;margin-left:30px">\(\displaystyle h : \mathbb{R}^2 \to \mathbb{R}^3\), \(\displaystyle (s_1,s_2) \mapsto \vec{q} + s_1 \, \vec{w}_1 + s_2 \, \vec{w}_2\).</p>
<p style="text-align: justify;">Die Menge </p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle H = \{ h(s_1,s_2) \mid 0 \leq s_2 \}\)
</p>
<p style="text-align: justify;">definiert eine Halbebene in \(E\). Im Folgenden seien</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle\vec{q} = {@qVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_1 = {@w1Vec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_2 = {@w2Vec@}\)&nbsp.
</p>
<hr>
<p style="text-align: justify;">(a) Geben Sie einen Ortsvektor \(\vec{p}\) und einen Richtungsvektor \(\vec{v}\) an, sodass die Gerade \(G\) die Halbebene \(H\) schneidet und die Gerade \(G\) die Halbebene \(E \setminus H\) nicht schneidet.</p>
(i) Es ist \(\vec{p} = \,\)[[input:ans1]].
<p style="text-align: justify;">[[validation:ans1]]</p>
(ii) Es ist \(\vec{v} = \,\)[[input:ans2]].
<p style="text-align: justify;">[[validation:ans2]]</p>
<p style="text-align: justify;">[[feedback:prt1]]</p>
<hr>
<p style="text-align: justify;">(b) Geben Sie einen Ortsvektor \(\vec{p}\) und einen Richtungsvektor \(\vec{v}\) an, sodass die Gerade \(G\) die Halbebene \(H\) und die Halbebene \(E \setminus H\) schneidet.</p>
(i) Es ist \(\vec{p} = \,\)[[input:ans3]].
<p style="text-align: justify;">[[validation:ans3]]</p>
(ii) Es ist \(\vec{v} = \,\)[[input:ans4]].
<p style="text-align: justify;">[[validation:ans4]]</p>
<p style="text-align: justify;">[[feedback:prt2]]</p>
<hr>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p style="text-align: justify;">zu (a) Wähle zum Beispiel \(\vec{p} = \vec{q} + \vec{w_2}\) und \(\vec{v} = \vec{w_1}\). Dann ist \(g(t) = h(t,1) \in H\) für alle \(t \in \mathbb{R}\).</p>
<hr>
<p style="text-align: justify;">zu (b) Wähle zum Beispiel \(\vec{p} = \vec{q}\) und \(\vec{v} = \vec{w_2}\). Dann ist \(g(t) = h(0,t) \in H\) für alle \(t \geq 0\) und \(g(t) = h(0,t) \in E \setminus H\) für alle \(t < 0\).</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <stackversion>
      <text>2023010400</text>
    </stackversion>
    <questionvariables>
      <text><![CDATA[/*
  Lagebeziehung von Geraden und Ebenen (4) (Halbebenen)

  wurde entwickelt von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  nach einer Idee von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  an der Ruhr-Universität Bochum.

  Dieses Werk ist lizenziert unter einer Creative Commons
  Namensnennung-Weitergabe unter gleichen Bedingungen 4.0 International
  Lizenz. Um eine Kopie der Lizenz zu erhalten, besuchen Sie
  http://creativecommons.org/licenses/by-sa/4.0/.

  SPDX-License-Identifier: CC-BY-SA-4.0

*/

/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */

/* Definition des Kreuzprodukts */
VectorProduct(a,b) :=
  matrix(a[2]*b[3]-a[3]*b[2],
   a[3]*b[1]-a[1]*b[3],
   a[1]*b[2]-a[2]*b[1])

/* --- */
ListComp1 : random_permutation([-5,-3,-2,-1,0,1,2,3,5]);
ListComp2 : random_permutation([-1,1,2,3]);
ListComp3 : random_permutation([-1,1]);

/* Definition des Ortsvektors qVec und der linear unabhängigen Stützvektoren w1Vec, w2Ve */

qVec : matrix([ListComp1[1]],[ListComp1[2]],[ListComp1[3]]);

u1Vec : matrix([ListComp2[1]],[ListComp2[2]],[ListComp2[3]]);
u2Vec : ListComp3[1]*matrix([ListComp2[2]],[ListComp2[1]],[0]);
u3Vec : ListComp3[1]*matrix([ListComp2[3]],[0],[ListComp2[1]]);
u4Vec : ListComp3[1]*matrix([0],[ListComp2[3]],[ListComp2[2]]);

List1Vec : random_permutation([u2Vec,u3Vec,u4Vec]);
List2Vec : random_permutation([u1Vec,List1Vec[1]]);

Coeff1 :  rand([2,4,6]);

w1Vec : Coeff1*List2Vec[1];
w2Vec : Coeff1*List2Vec[2] + List1Vec[2];

/* Definition der Ortsvektoren pVecA und pVecB*/
pVecA : qVec + w2Vec;
pVecB : qVec - w2Vec;

/* Definition der Richtungsvektoren vVecA und vVecB*/
vVecA : w1Vec;
vVecB : w2Vec;

/* Objekte zur Überprüfung der Antwort der Studierenden */
nVec : VectorProduct(w1Vec, w2Vec);

MakeIntoLine(M) := [M[1][1],M[2][1],M[3][1]];
MatrixA : transpose(matrix(MakeIntoLine(w1Vec), MakeIntoLine(w2Vec), MakeIntoLine(nVec)));
InverseA : invert(MatrixA);

/* Antworten */
TAnsA1 : pVecA;
TAnsA2 : vVecA;
TAnsB1 : pVecB;
TAnsB2 : vVecB;

/* Alternative Antworten */
TAnsA1Alt1 : qVec;
TAnsA2Alt1 : nVec;

/*Falsche Antworte */
TAnsA1W1 : qVec-w2Vec;
TAnsA2W1 : nVec;
TAnsA1W2 : qVec - w2Vec;
TAnsA2W2 : nVec;
TAnsA1W3 : qVec;
TAnsA2W3 : w2Vec;
TAnsA1W4 : qVec - w2Vec;
TAnsA2W4 : w1Vec;

TAnsB1W1 : qVec+nVec;
TAnsB2W1 : nVec;
TAnsB1W2 : qVec+nVec;
TAnsB2W2 : w1Vec;
TAnsB1W3 : qVec - w2Vec;
TAnsB2W3 : w1Vec;]]></text>
    </questionvariables>
    <specificfeedback format="html">
      <text></text>
    </specificfeedback>
    <questionnote>
      <text>Hinweis</text>
    </questionnote>
    <questionsimplify>1</questionsimplify>
    <assumepositive>0</assumepositive>
    <assumereal>0</assumereal>
    <prtcorrect format="html">
      <text></text>
    </prtcorrect>
    <prtpartiallycorrect format="html">
      <text></text>
    </prtpartiallycorrect>
    <prtincorrect format="html">
      <text></text>
    </prtincorrect>
    <multiplicationsign>none</multiplicationsign>
    <sqrtsign>1</sqrtsign>
    <complexno>i</complexno>
    <inversetrig>cos-1</inversetrig>
    <logicsymbol>lang</logicsymbol>
    <matrixparens>(</matrixparens>
    <variantsselectionseed></variantsselectionseed>
    <input>
      <name>ans1</name>
      <type>matrix</type>
      <tans>TAnsA1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans2</name>
      <type>matrix</type>
      <tans>TAnsA2</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans3</name>
      <type>matrix</type>
      <tans>TAnsB1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans4</name>
      <type>matrix</type>
      <tans>TAnsB2</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <prt>
      <name>prt1</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text><![CDATA[AnswerCheck1 : is(transpose(nVec).ans2 = 0);

if not(AnswerCheck1) then (
   MatrixB : transpose(matrix(MakeIntoLine(w1Vec), MakeIntoLine(w2Vec), MakeIntoLine(ans2))),
   InverseB : invert(MatrixB),
   SAns1 : InverseB.(ans1-qVec),
   AnswerCheck2 : is(SAns1[2][1] >= 0)
)

if AnswerCheck1 then (
   SAns2 : InverseA.(ans1-qVec),
   AnswerCheck3 : is(SAns2[1][1] = 0),
   AnswerCheck4 : is(transpose(ans2).w2Vec = 0),
   AnswerCheck5 : is(SAns2[2][1] >= 0)
)]]></text>
      </feedbackvariables>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck1</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>3</truenextnode>
        <trueanswernote>prt1-2-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>2</falsenextnode>
        <falseanswernote>prt1-2-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck2</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-3-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, schneidet die Gerade \(G\) die Ebene \(E\) in genau einem Punkt. Dieser Schnittpunkt ist ein Element von \(H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-3-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, schneidet die Gerade \(G\) die Ebene \(E\) in genau einem Punkt. Dieser Schnittpunkt ist jedoch ein Element von \(E \setminus H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>3</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck3</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>4</truenextnode>
        <trueanswernote>prt1-4-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-4-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, schneidet die Gerade \(G\) die Ebene \(E\) nicht. Da \(H\) eine Teilmenge von \(E\) ist, schneidet \(G\) insbesondere \(H\) nicht.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>4</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck4</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>5</truenextnode>
        <trueanswernote>prt1-5-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-5-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, ist die Gerade \(G\) vollständig in der Ebene \(E\) enthalten. Dabei schneidet \(G\) sowohl die Halbebene \(H\) als auch die Halbebene \(E \setminus H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>5</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck5</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-6-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, ist die Gerade \(G\) vollständig in der Ebene \(E\) enthalten. Dabei schneidet \(G\) die Halbebene\(H\), aber nicht die Halbebene \(E \setminus H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-6-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, ist die Gerade \(G\) vollständig in \(E \setminus H\) enthalten und schneidet \(H\) somit nicht.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt2</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>AnswerCheck1 : is(transpose(nVec).ans4 = 0);

if AnswerCheck1 then (
   SAns2 : InverseA.(ans3-qVec),
   AnswerCheck3 : is(SAns2[3][1] = 0),
   AnswerCheck4 : is(transpose(ans4).w2Vec = 0)
)</text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck1</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>1</truenextnode>
        <trueanswernote>prt2-1-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>=</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt2-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, schneidet die Gerade \(G\) die Ebene \(E\) in genau einem Punkt. Dieser Schnittpunkt ist entweder ein Element von \(H\) oder ein Element von \(E \setminus H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck3</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>2</truenextnode>
        <trueanswernote>prt2-2-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt2-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, schneidet die Gerade \(G\) die Ebene \(E\) nicht. Da sowohl \(H\) als auch \(E\setminus H\) Teilmengen von \(E\) sind, schneidet \(G\) weder \(H\) noch \(E \setminus H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>not(AnswerCheck4)</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>0</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt2-3-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, ist die Gerade \(G\) vollständig in der Ebene \(E\) enthalten. Dabei schneidet \(G\) sowohl die Halbebene \(H\) als auch die Halbebene \(E \setminus H\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt2-3-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b) Für die von Ihnen für \(\vec{p}\) und \(\vec{v}\) ausgewählten Vektoren, ist die Gerade \(G\) entweder vollständig in der Halbebene \(H\) oder vollständig in der Halbebene \(E \setminus H \) enthalten.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <qtest>
      <testcase>1</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>TAnsB1</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAnsB2</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-6-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-3-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>2</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W1</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>TAnsB1W1</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAnsB2W1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-1-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>3</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W2</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W2</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>TAnsB1W2</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAnsB2W2</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-2-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>4</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W3</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W3</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>TAnsB1W3</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAnsB2W3</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-5-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-3-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>5</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W4</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W4</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-6-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>6</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1Alt1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2Alt1</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
    </qtest>
    <tags>
      <tag><text>Gerade</text>
</tag>
      <tag><text>Ebene</text>
</tag>
      <tag><text>Lagebeziehung</text>
</tag>
      <tag><text>Halbebene</text>
</tag>
    </tags>
  </question>

<!-- question: 966580  -->
  <question type="stack">
    <name>
      <text>Lagebeziehung von Geraden und Ebenen (5) (Orientierung)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p style="text-align: justify;">Sei \(G\) eine von dem Vektor \(\vec{v}\) aufgespannte Gerade und sei \(E\) eine von den Vektoren \(\vec{w}_1\) und \(\vec{w}_2\) aufgespannte Ebene in \(\mathbb{R}^3\) mit</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle\vec{v} = {@vVec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_1 = {@w1Vec@}\),&nbsp&nbsp&nbsp&nbsp
\(\displaystyle\vec{w}_2 = {@w2Vec@}\)&nbsp.
</p>
<details>
<summary>Vorder- und Rückseiten von Ebenen</summary>
<p style="text-align: justify;">Das Tuptel \((\vec{w}_1,\vec{w}_2)\) bestimmt im folgenden Sinne die Wahl einer Vorder- und Rückseite von \(E\). Wir nennen die Menge</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle V_{(\vec{w}_1,\vec{w}_2)} = \{\vec{u} \in R^3 \mid \vec{u} \cdot \vec{n} < 0\}\)
</p>
<p style="text-align: justify;">aller Vektoren \(\vec{u}\), für die das Standardskalarprodukt \(\vec{u} \cdot \vec{n}\) von \(\vec{u}\) und \(\vec{n} = \vec{w}_1 \times \vec{w}_2\) negativ ist, die Vorderseite von \(E\)  bezüglich \((\vec{w}_1, \vec{w}_2)\) und die Menge</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle R_{(\vec{w}_1,\vec{w}_2)} = \{\vec{u} \in R^3 \mid \vec{u} \cdot \vec{n} > 0\}\)
</p>
<p style="text-align: justify;">aller Vektoren \(\vec{u}\), für die \(\vec{u} \cdot \vec{n}\) positiv ist, die Rückseite von \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\). Die Richtung von \(v\) bestimmt im folgenden Sinne, ob die von \(v\) aufgespannte Gerade \(G\) die Vorderseite oder Rückseite der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\) schneidet. Wir sagen, dass die von \(v\) aufgespannte Gerade \(G\) die Vorderseite (Rückseite) der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\) schneidet, falls die Gerade \(G\) die Ebene \(E\) schneidet und \(\vec{v}\) Element der Vorderseite (Rückseite) der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\) ist.</p>
</details>
<hr>
<p style="text-align: justify;">(a) Bestimmen Sie den Normalenvektor \(\vec{n} = \vec{w}_1 \times \vec{w}_2\) und das Standardskalarprodukt \(\vec{n} \cdot \vec{v}\) von \(\vec{n}\) und \(\vec{v}\).</p>
(i) Es ist \(\vec{n} =\,\)[[input:ans1]] .
<p style="text-align: justify;">[[validation:ans1]]</p>
<p style="text-align: justify;">[[feedback:prt1]]</p>
<p style="text-align: justify;">(ii) Es ist \(\vec{n} \cdot \vec{v} =\,\)[[input:ans2]] .</p>
<p style="text-align: justify;">[[validation:ans2]]</p>
<p style="text-align: justify;">[[feedback:prt2]]</p>
<hr>
<p style="text-align: justify;">(b) Vervollständigen Sie (mithilfe von Aufgabenteil (a)) die folgenden Aussagen zu im Allgemeinen wahren Aussagen über die Lagebeziehung von \(G\) und \(E\).</p>
<p style="text-align: justify;">(i) Die von \({@TermModB1[1]@}\) aufespannte Gerade \(G\) schneidet [[input:ans3]] der Ebene \(E\) bezüglich \(({@TermModB1[2]@}, {@TermModB1[3]@})\).</p>
<p style="text-align: justify;">[[validation:ans3]]</p>
<p style="text-align: justify;">[[feedback:prt3]]</p>
<p style="text-align: justify;">(ii) Die von \({@TermModB2[1]@}\) aufespannte Gerade \(G\) schneidet [[input:ans4]] der Ebene \(E\) bezüglich \(({@TermModB2[2]@}, {@TermModB2[3]@})\).</p>
<p style="text-align: justify;">[[validation:ans4]]</p>
<p style="text-align: justify;">[[feedback:prt4]]</p>
<p style="text-align: justify;">(iii) Die von \({@TermModB3[1]@}\) aufespannte Gerade \(G\) schneidet [[input:ans5]] der Ebene \(E\) bezüglich \(({@TermModB3[2]@}, {@TermModB3[3]@})\).</p>
<p style="text-align: justify;">[[validation:ans5]]</p>
<p style="text-align: justify;">[[feedback:prt5]]</p>
<hr>
<p style="text-align: justify;">(c) Geben Sie einen Vektor \(\vec{w}\) an, sodass eine von \(\vec{w}\) aufgespannte Gerade {@TextMod[3]@} der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\) schneidet.
</p>
Es ist \(\vec{w} =\,\)[[input:ans6]] .
<p style="text-align: justify;">[[validation:ans6]]</p>
<p style="text-align: justify;">[[feedback:prt6]]</p>
<hr>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Das Kreuzprodukt \(\vec{w_1}\) und \(\vec{w_2} \) ist</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle \vec{n} = \vec{w}_1 \times \vec{w}_2 = {@w1Vec@} \times  {@w2Vec@} =  {@ TAnsA1@}\).</p>
<hr>
<p style="text-align: justify;">zu (a)(ii) Das Standardskalarprodukt von \(\vec{n}\) und \(\vec{v}\) ist</p>
<p style="text-align: justify;margin-left:30px">
\(\displaystyle \vec{n} \cdot \vec{v} =  {@ TAnsA2@}\).</p>
<hr>
<p style="text-align: justify;">zu (b)(i) Da gemäß Aufgabenteil (a)(ii) \({@TermModB1[4]@} \cdot {@TermModB1[1]@}\;{@EqMod[IndexList[1]]@}\;0\) ist, schneidet die von \({@TermModB1[1]@}\) aufgespannte Gerade \(G\) {@TextMod[IndexList[1]]@} der Ebene \(E\) bezüglich \(({@TermModB1[2]@} ,{@TermModB1[3]@})\).
<hr>
<p style="text-align: justify;">zu (b)(ii) Da \( {@TermModB2[2]@}\, \times \, {@TermModB2[3]@} = {@TermModB2[4]@}\) und damit \({@TermModB2[4]@} \cdot {@TermModB2[1]@}\;{@EqMod[IndexList[2]]@}\;0\) ist, schneidet die von \({@TermModB2[1]@}\) aufgespannte Gerade \(G\) {@TextMod[IndexList[2]]@} der Ebene \(E\) bezüglich \(({@TermModB2[2]@} ,{@TermModB2[3]@})\).
<hr>
<p style="text-align: justify;">zu (b)(iii) Da \( {@TermModB3[2]@}\, \times \, {@TermModB3[3]@} = {@TermModB3[4]@}\) und damit \({@TermModB3[4]@} \cdot {@TermModB3[1]@}\;{@EqMod[IndexList[1]]@}\;0\) ist, schneidet die von \({@TermModB3[1]@}\) aufgespannte Gerade \(G\) {@TextMod[IndexList[1]]@} der Ebene \(E\) bezüglich \(({@TermModB3[2]@} ,{@TermModB3[3]@})\).
<hr>
<p style="text-align: justify;">zu (c) Für den Vektor \(\vec{w} = \vec{w}_1\) ist \(\vec{n} \cdot \vec{w} = 0\). Folglich schneidet eine von \(\vec{w}\) aufgespannte Gerade {@TextMod[3]@} der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\).</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <stackversion>
      <text>2023010400</text>
    </stackversion>
    <questionvariables>
      <text><![CDATA[/*
  Lagebeziehung von Geraden und Ebenen (5) (Orientierung)

  wurde entwickelt von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  nach einer Idee von
 
    Benjamin Herbert Schulz-Rosenberger <benjamin.schulz-c95[at]ruhr-uni-bochum.de>

  an der Ruhr-Universität Bochum.

  Dieses Werk ist lizenziert unter einer Creative Commons
  Namensnennung-Weitergabe unter gleichen Bedingungen 4.0 International
  Lizenz. Um eine Kopie der Lizenz zu erhalten, besuchen Sie
  http://creativecommons.org/licenses/by-sa/4.0/.

  SPDX-License-Identifier: CC-BY-SA-4.0

*/

/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */


/* Definition des Kreuzprodukts */
VectorProduct(a,b) :=
  matrix(a[2]*b[3]-a[3]*b[2],
   a[3]*b[1]-a[1]*b[3],
   a[1]*b[2]-a[2]*b[1])

/* --- */
ListComp1 : random_permutation([-1,0,1,2,3]);
ListComp2 : random_permutation([-1,1,2]);
ListComp3 : random_permutation([-1,1]);

/* Definition der linear unabhängigen Spannvektoren w1Vec, w2Vec */
u1Vec : matrix([ListComp2[1]],[ListComp2[2]],[ListComp2[3]]);
u2Vec : ListComp3[1]*matrix([ListComp2[2]],[ListComp2[1]],[0]);
u3Vec : ListComp3[1]*matrix([ListComp2[3]],[0],[ListComp2[1]]);
u4Vec : ListComp3[1]*matrix([0],[ListComp2[3]],[ListComp2[2]]);

List1Vec : random_permutation([u2Vec,u3Vec,u4Vec]);
List2Vec : random_permutation([u1Vec,List1Vec[1]]);

w1Vec : List2Vec[1];
w2Vec : List2Vec[2];
w3Vec : List1Vec[2]; /* w3Vec ergänzt w1Vec und w2Vec zu einer Basis */

/* --- */
ListComp4 : random_permutation([0,1,1]);
ListComp5 : random_permutation([-2,-1,0,1,2]);
ListComp6 : random_permutation([-2,-1,1,2]);

/* Definition des Normalenvektors nVec */
IndexList : random_permutation([1,2]); /* Index entscheidet über Lagebeziehung */
nVec : ((-1)^IndexList[1])*VectorProduct(w1Vec,w2Vec);

/* Definition des Richtungsvektors vVec */
vVec : nVec + rand([w1Vec, -w1Vec, w2Vec, -w2Vec]);

/* Textbausteine */
texput(v,"\\vec{v}");
texput(w1,"\\vec{w}_1");
texput(w2,"\\vec{w}_2");
texput(n,"\\vec{n}");

texput(las,"<");
texput(gas,">");
texput(eqt,"=");

TextMod : ["die Vorderseite", "die Rückseite", "weder Vorder- noch Rückseite"];
EqMod : [las, gas, eqt];

IndexMod : random_permutation([1,2]);
TermModB1 : [v,w1,w2,n];
TermModB2 : [[v,w1+w2,w1,-n],[-v,w1+w2,w2,n]][IndexMod[1]];
TermModB3 : [[-v,w1+w2,w1,-n],[v,w1,w1+w2,n]][IndexMod[1]];

/* Antworten */
TAnsA1 : nVec;
TAnsA2 : transpose(nVec).vVec;

TAnsB1 : [[1,true, TextMod[IndexList[1]]], [2, false, TextMod[IndexList[2]] ], [3,false, TextMod[3]]];
TAnsB2 : [[1,true, TextMod[IndexList[2]]], [2, false, TextMod[IndexList[1]] ], [3,false, TextMod[3]]];
TAnsB3 : [[1,true, TextMod[IndexList[1]]], [2, false, TextMod[IndexList[2]] ], [3,false, TextMod[3]]];

TAnsC : w1Vec;

/* Falsche Antworten */
TAnsA1W1 : -nVec;
TAnsA1W2 : nVec + w1Vec;
TAnsA1W3 : w1Vec;
TAnsA1W4 : w1Vec - w1Vec; 

TAnsA2W1 : -TAnsA2;
TAnsA2W2 : transpose(TAnsA1W2).vVec;
TAnsA2W3 : transpose(TAnsA1W3).vVec;
TAnsA2W4 : transpose(vVec).vVec;

TAnsB1W1 : 2;
TAnsB2W1 : 2;
TAnsB3W1 : 2;

TAnsCW1 : -nVec;
TAnsCW2 : nVec;]]></text>
    </questionvariables>
    <specificfeedback format="html">
      <text></text>
    </specificfeedback>
    <questionnote>
      <text>Hinweis</text>
    </questionnote>
    <questionsimplify>1</questionsimplify>
    <assumepositive>0</assumepositive>
    <assumereal>0</assumereal>
    <prtcorrect format="html">
      <text></text>
    </prtcorrect>
    <prtpartiallycorrect format="html">
      <text></text>
    </prtpartiallycorrect>
    <prtincorrect format="html">
      <text></text>
    </prtincorrect>
    <multiplicationsign>none</multiplicationsign>
    <sqrtsign>1</sqrtsign>
    <complexno>i</complexno>
    <inversetrig>cos-1</inversetrig>
    <logicsymbol>lang</logicsymbol>
    <matrixparens>(</matrixparens>
    <variantsselectionseed></variantsselectionseed>
    <input>
      <name>ans1</name>
      <type>matrix</type>
      <tans>TAnsA1</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans2</name>
      <type>algebraic</type>
      <tans>TAnsA2</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans3</name>
      <type>dropdown</type>
      <tans>random_permutation(TAnsB1)</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans4</name>
      <type>dropdown</type>
      <tans>random_permutation(TAnsB2)</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans5</name>
      <type>dropdown</type>
      <tans>random_permutation(TAnsB3)</tans>
      <boxsize>15</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>0</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <input>
      <name>ans6</name>
      <type>matrix</type>
      <tans>TAnsC</tans>
      <boxsize>5</boxsize>
      <strictsyntax>1</strictsyntax>
      <insertstars>0</insertstars>
      <syntaxhint></syntaxhint>
      <syntaxattribute>0</syntaxattribute>
      <forbidwords></forbidwords>
      <allowwords></allowwords>
      <forbidfloat>0</forbidfloat>
      <requirelowestterms>0</requirelowestterms>
      <checkanswertype>1</checkanswertype>
      <mustverify>0</mustverify>
      <showvalidation>0</showvalidation>
      <options></options>
    </input>
    <prt>
      <name>prt1</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>AnswerCheck1 : not(is(transpose(nVec).ans1 = 0));</text>
      </feedbackvariables>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans1</sans>
        <tans>TAnsA1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Sie haben den Normalenvektor \(\vec{n} = \vec{w}_1 \times \vec{w}_2\) von \(E\) korrekt angegeben.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(i) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>2</falsenextnode>
        <falseanswernote>prt1-2-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans1</sans>
        <tans>TAnsA1W1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.5</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-3-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Sie haben den Normalenvektor \(-\vec{n}\) von \(E\) anstelle von \(\vec{n}\) angegeben.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(i) ist teilweise richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>3</falsenextnode>
        <falseanswernote>prt1-3-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>3</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck1</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.25</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt1-4-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Der von Ihnen für \(\vec{n}\) eingegebene Vektor ist ein Normalenvektor von \(E\), der aber weder mit \(\vec{n} = \vec{w}_1 \times \vec{w}_2\) noch mit \(-\vec{n}\) übereinstimmt.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(i) ist teilweise richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt1-4-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(i) Der von Ihnen für \(\vec{n}\) eingegebene Vektor ist kein Normalenvektor von \(E\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(i) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt2</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text>TSansA2 : transpose(vVec).ans1;</text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans2</sans>
        <tans>TAnsA2</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt4-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(ii) Sie haben das Standardskalarprodukt \(\vec{n} \times \vec{v}\) von \(\vec{n}\) und \(\vec{v}\) korrekt angegeben.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(ii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>1</falsenextnode>
        <falseanswernote>prt4-1-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans2</sans>
        <tans>TSansA2</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0.5</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt2-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(ii) Sie haben das Standardskalarprodukt \(\vec{n} \times \vec{v}\) von dem von Ihnen in Aufgabenteil (a)(i) für \(\vec{n}\) angegebenen Vektor und dem Richtungsvektor \(\vec{v}\) korrekt angegeben.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(ii) ist teilweise richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt2-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (a)(ii) Sie haben das Standardskalarprodukt \(\vec{n} \times \vec{v}\) von dem von Ihnen in Aufgabenteil (a)(i) für \(\vec{n}\) angegebenen Vektor und dem Richtungsvektor \(\vec{v}\) nicht korrekt angegeben.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (a)(ii) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
      <node>
        <name>2</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans1</sans>
        <tans>TAnsA1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>0</truenextnode>
        <trueanswernote>prt2-3-T</trueanswernote>
        <truefeedback format="html">
          <text></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>1</falsenextnode>
        <falseanswernote>prt2-3-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt3</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans3</sans>
        <tans>1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt3-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(i) Die von Ihnen angegebene Aussage, dass die von \({@TermModB1[ans3]@}\) aufgespannte Gerade \(G\) {@TAnsB1[ans3][3]@} der Ebene \(E\) bezüglich \(({@TermModB1[2]@}, {@TermModB1[3]@})\) schneidet, ist richtig.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(i) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt3-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(i) Die von Ihnen angegebene Aussage, dass die von \({@TermModB1[ans3]@}\) aufgespannte Gerade \(G\) {@TAnsB1[ans3][3]@} der Ebene \(E\) bezüglich \(({@TermModB1[2]@}, {@TermModB1[3]@})\) schneidet, ist falsch.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(i) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt4</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans4</sans>
        <tans>1</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt4-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(ii) Die von Ihnen angegebene Aussage, dass die von \({@TermModB2[1]@}\) aufgespannte Gerade \(G\) {@TAnsB2[ans4][3]@} der Ebene \(E\) bezüglich \(({@TermModB2[2]@}, {@TermModB2[3]@})\) schneidet, ist richtig.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(ii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt4-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(ii)  Die von Ihnen angegebene Aussage, dass die von \({@TermModB2[1]@}\) aufgespannte Gerade \(G\) {@TAnsB2[ans4][3]@} der Ebene \(E\) bezüglich \(({@TermModB2[2]@}, {@TermModB2[3]@})\) schneidet, ist falsch.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(ii) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt5</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>ans5</sans>
        <tans>1</tans>
        <testoptions></testoptions>
        <quiet>0</quiet>
        <truescoremode>=</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt5-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(iii)  Die von Ihnen angegebene Aussage, dass die von \({@TermModB3[1]@}\) aufgespannte Gerade \(G\) {@TAnsB3[ans5][3]@} der Ebene \(E\) bezüglich \(({@TermModB3[2]@}, {@TermModB3[3]@})\) schneidet, ist richtig.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(iii) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>=</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt5-1-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (b)(iii)  Die von Ihnen angegebene Aussage, dass die von \({@TermModB3[1]@}\) aufgespannte Gerade \(G\) {@TAnsB3[ans5][3]@} der Ebene \(E\) bezüglich \(({@TermModB3[2]@}, {@TermModB3[3]@})\) schneidet, ist falsch.</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (b)(iii) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <prt>
      <name>prt6</name>
      <value>1.0000000</value>
      <autosimplify>1</autosimplify>
      <feedbackstyle>1</feedbackstyle>
      <feedbackvariables>
        <text><![CDATA[AnswerCheck1 : is(transpose(nVec).ans6 = 0);
AnswerCheck2 : is(transpose(nVec).ans6 < 0);]]></text>
      </feedbackvariables>
      <node>
        <name>0</name>
        <answertest>AlgEquiv</answertest>
        <sans>transpose(nVec).ans6</sans>
        <tans>0</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>1</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt6-1-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (c) Für den von Ihnen angegebenen Vektor \(\vec{w}\) schneidet die von 
 \(\vec{w}\) aufgespannte Gerade {@TextMod[3]@} der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (c) ist richtig.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>+</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>1</falsenextnode>
        <falseanswernote>prt6-1-F</falseanswernote>
        <falsefeedback format="html">
          <text></text>
        </falsefeedback>
      </node>
      <node>
        <name>1</name>
        <answertest>AlgEquiv</answertest>
        <sans>AnswerCheck2</sans>
        <tans>true</tans>
        <testoptions></testoptions>
        <quiet>1</quiet>
        <truescoremode>+</truescoremode>
        <truescore>0</truescore>
        <truepenalty></truepenalty>
        <truenextnode>-1</truenextnode>
        <trueanswernote>prt6-2-T</trueanswernote>
        <truefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (c) Für den von Ihnen angegebenen Vektor \(\vec{w}\) schneidet die von 
 \(\vec{w}\) aufgespannte Gerade {@TextMod[1]@} der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (c) ist falsch.</strong></p>]]></text>
        </truefeedback>
        <falsescoremode>-</falsescoremode>
        <falsescore>0</falsescore>
        <falsepenalty></falsepenalty>
        <falsenextnode>-1</falsenextnode>
        <falseanswernote>prt6-2-F</falseanswernote>
        <falsefeedback format="html">
          <text><![CDATA[<p style="text-align: justify;">zu (c) Für den von Ihnen angegebenen Vektor \(\vec{w}\) schneidet die von 
 \(\vec{w}\) aufgespannte Gerade {@TextMod[2]@} der Ebene \(E\) bezüglich \((\vec{w}_1, \vec{w}_2)\).</p>
<p style="text-align: justify;"><strong>Ihre Antwort zu (c) ist falsch.</strong></p>]]></text>
        </falsefeedback>
      </node>
    </prt>
    <qtest>
      <testcase>1</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>first(mcq_correct(random_permutation(TAnsB1)))</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>first(mcq_correct(random_permutation(TAnsB2)))</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>first(mcq_correct(random_permutation(TAnsB3)))</value>
      </testinput>
      <testinput>
        <name>ans6</name>
        <value>TAnsC</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt5</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt5-1-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt6</name>
        <expectedscore>1.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt6-1-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>2</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W1</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W1</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value>TAnsB1W1</value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value>TAnsB2W1</value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value>TAnsB3W1</value>
      </testinput>
      <testinput>
        <name>ans6</name>
        <value>TAnsCW1</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-3-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt3-1-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt4-1-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt5</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt5-1-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt6</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt6-2-T</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>3</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W2</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W2</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans6</name>
        <value>TAnsCW2</value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.2500000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-4-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt5</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt6</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt6-2-F</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>4</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W3</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W3</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans6</name>
        <value></value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-4-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.5000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-2-T</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt5</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt6</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
    </qtest>
    <qtest>
      <testcase>5</testcase>
      <testinput>
        <name>ans1</name>
        <value>TAnsA1W4</value>
      </testinput>
      <testinput>
        <name>ans2</name>
        <value>TAnsA2W4</value>
      </testinput>
      <testinput>
        <name>ans3</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans4</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans5</name>
        <value></value>
      </testinput>
      <testinput>
        <name>ans6</name>
        <value></value>
      </testinput>
      <expected>
        <name>prt1</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt1-4-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt2</name>
        <expectedscore>0.0000000</expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>prt2-2-F</expectedanswernote>
      </expected>
      <expected>
        <name>prt3</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt4</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt5</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
      <expected>
        <name>prt6</name>
        <expectedscore></expectedscore>
        <expectedpenalty></expectedpenalty>
        <expectedanswernote>NULL</expectedanswernote>
      </expected>
    </qtest>
    <tags>
      <tag><text>orientierung</text>
</tag>
      <tag><text>Gerade</text>
</tag>
      <tag><text>Ebene</text>
</tag>
      <tag><text>Lagebeziehung</text>
</tag>
    </tags>
  </question>

</quiz>