<?xml version="1.0" encoding="UTF-8"?>
<quiz>


<question type="category">
<category>
<text>$course$/Mathe_Grndl_R_e2f_R_grundlagen_02/Mathe Grundlagen</text>
</category>
</question>


<question type="cloze">
<name>
<text> R01 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\log_{10}(x)+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { log(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log10(x + 2) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { log10(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*log10(x) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.17609125906:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 2.176091 2.000000</code>~<code style="white-space:pre-wrap;">[1] 3.176091 3.000000</code>~<code style="white-space:pre-wrap;">[1] 2.176091</code>~<code style="white-space:pre-wrap;">[1] 2.000000 2.176091</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log(x) + 2 }</code></p>
<p>Wir berechnen hier den natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log10(x + 2) }</code></p>
<p>Wir addieren hier vor dem Logarithmieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { log10(x) + 2 }</code></p>
<p>Wir verwenden <code>log10()</code> für die Basis 10 und addieren danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*log10(x) }</code></p>
<p>Wir multiplizieren hier mit der Konstante statt sie zu addieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 2.17609125906</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">log10(x) + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.18.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.176091 2.000000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.17609125906
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.00000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R02 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=3\sqrt{x}+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 3*sqrt(x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3*sqrt(x) - 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(3*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3*sqrt(x + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.12132034356:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 5.12132</code>~=<code style="white-space:pre-wrap;">[1] 5.12132 6.00000</code>~<code style="white-space:pre-wrap;">[1] 6.12132 7.00000</code>~<code style="white-space:pre-wrap;">[1] 6.00000 5.12132</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3*sqrt(x) + 3 }</code></p>
<p>Wir ziehen zuerst die Wurzel, multiplizieren und addieren dann.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*sqrt(x) - 3 }</code></p>
<p>Wir subtrahieren hier statt zu addieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(3*x) + 3 }</code></p>
<p>Wir nehmen hier den Faktor unter die Wurzel.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*sqrt(x + 3) }</code></p>
<p>Wir addieren hier die Konstante unter der Wurzel.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 5.12132034356</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">3*sqrt(x) + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.12.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.12132 6.00000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.12132034356
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
6.00000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R03 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-2x}+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { exp(-2*x + 5) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { exp(-2*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(2*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { e^(-2*x) + 5 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.04978706837:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 5.049787 5.135335</code>~<code style="white-space:pre-wrap;">[1] 6.049787 6.135335</code>~<code style="white-space:pre-wrap;">[1] 5.135335 5.049787</code>~<code style="white-space:pre-wrap;">[1] 5.049787</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-2*x + 5) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-2*x) + 5 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(2*x) + 5 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-2*x) + 5 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 5.04978706837</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">exp(-2*x) + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.05.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.049787 5.135335</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.04978706837
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
5.13533528324
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R04 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{3}{x+3}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 3/x + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 3/(x + 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3/(x - 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(3 + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.6:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.6</code>~<code style="white-space:pre-wrap;">[1] 1.60 1.75</code>~=<code style="white-space:pre-wrap;">[1] 0.60 0.75</code>~<code style="white-space:pre-wrap;">[1] 0.75 0.60</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/x + 3 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3/(x + 3) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/(x - 3) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(3 + 3) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 0.6</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">3/(x + 3)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.6.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.60 0.75</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.60
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.75
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R05 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=4x^2-5x+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { (4*x)^2 - 5*x + 2 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - 5*x + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4x^2 - 5*x + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - (5*x + 2) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=8:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.5 8.0</code>~<code style="white-space:pre-wrap;">[1] 8</code>~<code style="white-space:pre-wrap;">[1] 9.0 1.5</code>~=<code style="white-space:pre-wrap;">[1] 8.0 0.5</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (4*x)^2 - 5*x + 2 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - 5*x + 2 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4x^2 - 5*x + 2 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - (5*x + 2) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 8</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">4*x^2 - 5*x + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 8.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 8.0 0.5</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
8.0
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R06 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=2^{x}-2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 2^x - 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x^2 - 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2^(x - 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*x - 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.828427124746:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.0000000 0.8284271</code>~<code style="white-space:pre-wrap;">[1] 0.8284271</code>~<code style="white-space:pre-wrap;">[1] 1.828427 1.000000</code>~=<code style="white-space:pre-wrap;">[1] 0.8284271 0.0000000</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2^x - 2 }</code></p>
<p>Wir verwenden <code>^</code> zum Potenzieren und subtrahieren erst danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x^2 - 2 }</code></p>
<p>Wir vertauschen hier Basis und Exponent.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2^(x - 2) }</code></p>
<p>Wir verändern hier den Exponenten statt den Funktionswert.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*x - 2 }</code></p>
<p>Wir multiplizieren hier statt zu potenzieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 0.828427124746</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">2^x - 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.83.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.8284271 0.0000000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.828427124746
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.000000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R07 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\log_{10}(x)+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { log10(x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log(x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log10(x + 5) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5*log10(x) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.30102999566:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 5.176091 5.301030</code>~<code style="white-space:pre-wrap;">[1] 6.301030 6.176091</code>~<code style="white-space:pre-wrap;">[1] 5.30103</code>~=<code style="white-space:pre-wrap;">[1] 5.301030 5.176091</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { log10(x) + 5 }</code></p>
<p>Wir verwenden <code>log10()</code> für die Basis 10 und addieren danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log(x) + 5 }</code></p>
<p>Wir berechnen hier den natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log10(x + 5) }</code></p>
<p>Wir addieren hier vor dem Logarithmieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*log10(x) }</code></p>
<p>Wir multiplizieren hier mit der Konstante statt sie zu addieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 5.30102999566</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">log10(x) + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.3.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.301030 5.176091</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.30102999566
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
5.17609125906
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R08 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\log_{10}(x)+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 3*log10(x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log(x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log10(x + 3) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { log10(x) + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3.30102999566:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 2.69897 3.30103</code>~<code style="white-space:pre-wrap;">[1] 3.30103</code>~=<code style="white-space:pre-wrap;">[1] 3.30103 2.69897</code>~<code style="white-space:pre-wrap;">[1] 4.30103 3.69897</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*log10(x) }</code></p>
<p>Wir multiplizieren hier mit der Konstante statt sie zu addieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log(x) + 3 }</code></p>
<p>Wir berechnen hier den natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log10(x + 3) }</code></p>
<p>Wir addieren hier vor dem Logarithmieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { log10(x) + 3 }</code></p>
<p>Wir verwenden <code>log10()</code> für die Basis 10 und addieren danach.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 3.30102999566</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">log10(x) + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.3.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 3.30103 2.69897</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.30102999566
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.69897000434
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R09 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=2^{x}-2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 2^x - 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2^(x - 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*x - 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x^2 - 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=-0.585786437627:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1]  0.0000000 -0.5857864</code>~<code style="white-space:pre-wrap;">[1] -0.5857864</code>~=<code style="white-space:pre-wrap;">[1] -0.5857864  0.0000000</code>~<code style="white-space:pre-wrap;">[1] 0.4142136 1.0000000</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2^x - 2 }</code></p>
<p>Wir verwenden <code>^</code> zum Potenzieren und subtrahieren erst danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2^(x - 2) }</code></p>
<p>Wir verändern hier den Exponenten statt den Funktionswert.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*x - 2 }</code></p>
<p>Wir multiplizieren hier statt zu potenzieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x^2 - 2 }</code></p>
<p>Wir vertauschen hier Basis und Exponent.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = -0.585786437627</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">2^x - 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet -0.59.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] -0.5857864  0.0000000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
-0.585786437627
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.000000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R10 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=5x^2-2x+1.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - (2*x + 1) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { (5*x)^2 - 2*x + 1 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - 2*x + 1 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5x^2 - 2*x + 1 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=4:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1]  5.00 10.25</code>~=<code style="white-space:pre-wrap;">[1] 4.00 9.25</code>~<code style="white-space:pre-wrap;">[1] 4</code>~<code style="white-space:pre-wrap;">[1] 9.25 4.00</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - (2*x + 1) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (5*x)^2 - 2*x + 1 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - 2*x + 1 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5x^2 - 2*x + 1 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 4</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">5*x^2 - 2*x + 1</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 4.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 4.00 9.25</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
4.00
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
9.25
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R11 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\log_{10}(x)+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { log10(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log10(x + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*log10(x) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=1.69897000434:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 2.00000 1.69897</code>~=<code style="white-space:pre-wrap;">[1] 1.69897 2.00000</code>~<code style="white-space:pre-wrap;">[1] 1.69897</code>~<code style="white-space:pre-wrap;">[1] 2.69897 3.00000</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { log10(x) + 2 }</code></p>
<p>Wir verwenden <code>log10()</code> für die Basis 10 und addieren danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log(x) + 2 }</code></p>
<p>Wir berechnen hier den natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log10(x + 2) }</code></p>
<p>Wir addieren hier vor dem Logarithmieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*log10(x) }</code></p>
<p>Wir multiplizieren hier mit der Konstante statt sie zu addieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 1.69897000434</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">log10(x) + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 1.7.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 1.69897 2.00000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
1.69897000434
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.00000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R12 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{4}{x+4}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 4/(x - 4) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4/x + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(4 + 4) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4/(x + 4) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.888888888889:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.8000000 0.8888889</code>~=<code style="white-space:pre-wrap;">[1] 0.8888889 0.8000000</code>~<code style="white-space:pre-wrap;">[1] 1.888889 1.800000</code>~<code style="white-space:pre-wrap;">[1] 0.8888889</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4/(x - 4) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4/x + 4 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(4 + 4) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4/(x + 4) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 0.888888888889</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">4/(x + 4)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.89.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.8888889 0.8000000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.888888888889
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.800000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R13 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{80}{1+10\,\mathrm{e}^{-3x}}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 80/(1 + 10*exp(3*x)) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 80/(1 + 10*exp(-3*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 80/(1 + 10*e^(-3*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 80/1 + 10*exp(-3*x) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=24.7578251325:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 25.75783 73.00137</code>~<code style="white-space:pre-wrap;">[1] 72.00137 24.75783</code>~=<code style="white-space:pre-wrap;">[1] 24.75783 72.00137</code>~<code style="white-space:pre-wrap;">[1] 24.75783</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 80/(1 + 10*exp(3*x)) }</code></p>
<p>Wir beachten das Minuszeichen im Exponenten; es fehlt hier.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 80/(1 + 10*exp(-3*x)) }</code></p>
<p>Wir klammern den gesamten Nenner und schreiben die Exponentialfunktion als <code>exp()</code>.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 80/(1 + 10*e^(-3*x)) }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert. R stellt die Eulersche Zahl nicht als Objekt <code>e</code> bereit.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 80/1 + 10*exp(-3*x) }</code></p>
<p>Wir teilen hier nur durch 1. Der übrige Nenner wird stattdessen addiert.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 24.7578251325</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">80/(1 + 10*exp(-3*x))</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 24.76.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 24.75783 72.00137</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
24.7578251325
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
72.0013702693
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R14 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=4\sqrt{x}+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 4*sqrt(x) - 5 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4*sqrt(x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*sqrt(x + 5) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(4*x) + 5 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=7.82842712475:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 7.828427</code>~<code style="white-space:pre-wrap;">[1]  8.828427 11.656854</code>~<code style="white-space:pre-wrap;">[1] 10.656854  7.828427</code>~=<code style="white-space:pre-wrap;">[1]  7.828427 10.656854</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*sqrt(x) - 5 }</code></p>
<p>Wir subtrahieren hier statt zu addieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4*sqrt(x) + 5 }</code></p>
<p>Wir ziehen zuerst die Wurzel, multiplizieren und addieren dann.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*sqrt(x + 5) }</code></p>
<p>Wir addieren hier die Konstante unter der Wurzel.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(4*x) + 5 }</code></p>
<p>Wir nehmen hier den Faktor unter die Wurzel.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 7.82842712475</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">4*sqrt(x) + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 7.83.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1]  7.828427 10.656854</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
7.82842712475
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
10.65685424949
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R15 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{90}{1+10\,\mathrm{e}^{-2x}}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*e^(-2*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(2*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 90/1 + 10*exp(-2*x) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(-2*x)) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=76.0677124726:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 76.06771 38.24331</code>~<code style="white-space:pre-wrap;">[1] 38.24331 76.06771</code>~<code style="white-space:pre-wrap;">[1] 76.06771</code>~<code style="white-space:pre-wrap;">[1] 77.06771 39.24331</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*e^(-2*x)) }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert. R stellt die Eulersche Zahl nicht als Objekt <code>e</code> bereit.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(2*x)) }</code></p>
<p>Wir beachten das Minuszeichen im Exponenten; es fehlt hier.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 90/1 + 10*exp(-2*x) }</code></p>
<p>Wir teilen hier nur durch 1. Der übrige Nenner wird stattdessen addiert.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(-2*x)) }</code></p>
<p>Wir klammern den gesamten Nenner und schreiben die Exponentialfunktion als <code>exp()</code>.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 76.0677124726</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">90/(1 + 10*exp(-2*x))</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 76.07.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 76.06771 38.24331</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
76.0677124726
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
38.2433091894
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R16 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=2\sqrt{x}+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { sqrt(2*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) - 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x + 3) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.44948974278:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 4.414214 5.449490</code>~=<code style="white-space:pre-wrap;">[1] 5.449490 4.414214</code>~<code style="white-space:pre-wrap;">[1] 6.449490 5.414214</code>~<code style="white-space:pre-wrap;">[1] 5.44949</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(2*x) + 3 }</code></p>
<p>Wir nehmen hier den Faktor unter die Wurzel.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) - 3 }</code></p>
<p>Wir subtrahieren hier statt zu addieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x + 3) }</code></p>
<p>Wir addieren hier die Konstante unter der Wurzel.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) + 3 }</code></p>
<p>Wir ziehen zuerst die Wurzel, multiplizieren und addieren dann.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 5.44948974278</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">2*sqrt(x) + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.45.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.449490 4.414214</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.44948974278
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
4.41421356237
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R17 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\log_{10}(x)+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 2*log10(x) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { log10(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log10(x + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { log(x) + 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.30102999566:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 3.30103 3.00000</code>~=<code style="white-space:pre-wrap;">[1] 2.30103 2.00000</code>~<code style="white-space:pre-wrap;">[1] 2.30103</code>~<code style="white-space:pre-wrap;">[1] 2.00000 2.30103</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*log10(x) }</code></p>
<p>Wir multiplizieren hier mit der Konstante statt sie zu addieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { log10(x) + 2 }</code></p>
<p>Wir verwenden <code>log10()</code> für die Basis 10 und addieren danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log10(x + 2) }</code></p>
<p>Wir addieren hier vor dem Logarithmieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { log(x) + 2 }</code></p>
<p>Wir berechnen hier den natürlichen Logarithmus.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 2.30102999566</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">log10(x) + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.3.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.30103 2.00000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.30102999566
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.00000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R18 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=4(x-5)^2+1.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 4*(x + 5)^2 + 1 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4*(x - 5)^2 + 1 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*x - 5^2 + 1 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4(x - 5)^2 + 1 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=82:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 82 37</code>~<code style="white-space:pre-wrap;">[1] 83 38</code>~<code style="white-space:pre-wrap;">[1] 82</code>~<code style="white-space:pre-wrap;">[1] 37 82</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*(x + 5)^2 + 1 }</code></p>
<p>Wir addieren hier in der Klammer statt zu subtrahieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4*(x - 5)^2 + 1 }</code></p>
<p>Wir klammern die Differenz, quadrieren sie und multiplizieren mit dem Faktor.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*x - 5^2 + 1 }</code></p>
<p>Wir quadrieren hier nur die Konstante statt der gesamten Differenz.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4(x - 5)^2 + 1 }</code></p>
<p>Wir brauchen ein <code>*</code> vor der Klammer. Sonst versucht R, eine Zahl als Funktion aufzurufen.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 82</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">4*(x - 5)^2 + 1</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 82.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 82 37</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
82
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
37
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R19 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{3}{x+4}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { x/(3 + 4) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3/(x - 4) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 3/(x + 4) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3/x + 4 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.6:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 1.600000 1.545455</code>~=<code style="white-space:pre-wrap;">[1] 0.6000000 0.5454545</code>~<code style="white-space:pre-wrap;">[1] 0.6</code>~<code style="white-space:pre-wrap;">[1] 0.5454545 0.6000000</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(3 + 4) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/(x - 4) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3/(x + 4) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/x + 4 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 0.6</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">3/(x + 4)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.6.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.6000000 0.5454545</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.600000000000
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.545454545455
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R20 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\sqrt{x}+2\ln(x).\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*ln(x) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log(x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log10(x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(x + 2*log(x)) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.03567508761:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 1.000000 2.035675</code>~=<code style="white-space:pre-wrap;">[1] 2.035675 1.000000</code>~<code style="white-space:pre-wrap;">[1] 2.035675</code>~<code style="white-space:pre-wrap;">[1] 3.035675 2.000000</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*ln(x) }</code></p>
<p>Wir brauchen <code>log()</code>; eine Basisfunktion <code>ln()</code> gibt es in R nicht.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log(x) }</code></p>
<p>Wir verwenden <code>sqrt()</code> für die Wurzel und <code>log()</code> für den natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log10(x) }</code></p>
<p>Wir berechnen hier einen Logarithmus zur Basis 10 statt des natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x + 2*log(x)) }</code></p>
<p>Wir ziehen hier die Wurzel aus der gesamten Summe.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 2.03567508761</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">sqrt(x) + 2*log(x)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.04.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.035675 1.000000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.03567508761
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.00000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R21 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=2x^2-4x+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 2*x^2 - (4*x + 3) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 2*x^2 - 4*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { (2*x)^2 - 4*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2x^2 - 4*x + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=1.5:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 1.0 1.5</code>~<code style="white-space:pre-wrap;">[1] 2.5 2.0</code>~<code style="white-space:pre-wrap;">[1] 1.5</code>~=<code style="white-space:pre-wrap;">[1] 1.5 1.0</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*x^2 - (4*x + 3) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2*x^2 - 4*x + 3 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (2*x)^2 - 4*x + 3 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2x^2 - 4*x + 3 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 1.5</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">2*x^2 - 4*x + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 1.5.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 1.5 1.0</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R22 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-5x}+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { exp(-5*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(-5*x + 5) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(5*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { e^(-5*x) + 5 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.00004539993:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 5.000045 5.000553</code>~<code style="white-space:pre-wrap;">[1] 5.000553 5.000045</code>~<code style="white-space:pre-wrap;">[1] 6.000045 6.000553</code>~<code style="white-space:pre-wrap;">[1] 5.000045</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-5*x) + 5 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-5*x + 5) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(5*x) + 5 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-5*x) + 5 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 5.00004539993</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">exp(-5*x) + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.000045 5.000553</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.00004539993
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
5.00055308437
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R23 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{4}{x+3}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 4/x + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4/(x + 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4/(x - 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(4 + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=1:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 1.000000 1.142857</code>~<code style="white-space:pre-wrap;">[1] 1</code>~<code style="white-space:pre-wrap;">[1] 1.142857 1.000000</code>~<code style="white-space:pre-wrap;">[1] 2.000000 2.142857</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4/x + 3 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4/(x + 3) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4/(x - 3) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(4 + 3) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 1</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">4/(x + 3)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 1.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 1.000000 1.142857</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
1.00000000000
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.14285714286
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R24 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=4x^2-3x+4.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { (4*x)^2 - 3*x + 4 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - 3*x + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4x^2 - 3*x + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - (3*x + 4) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=14:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 15.0  9.5</code>~=<code style="white-space:pre-wrap;">[1] 14.0  8.5</code>~<code style="white-space:pre-wrap;">[1] 14</code>~<code style="white-space:pre-wrap;">[1]  8.5 14.0</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (4*x)^2 - 3*x + 4 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - 3*x + 4 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4x^2 - 3*x + 4 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - (3*x + 4) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 14</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">4*x^2 - 3*x + 4</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 14.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 14.0  8.5</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
14.0
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
8.5
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R25 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=3^{x}-5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 3^(x - 5) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x^3 - 5 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 3^x - 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3*x - 5 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.196152422707:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.1961524</code>~=<code style="white-space:pre-wrap;">[1]  0.1961524 -3.2679492</code>~<code style="white-space:pre-wrap;">[1] -3.2679492  0.1961524</code>~<code style="white-space:pre-wrap;">[1]  1.196152 -2.267949</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3^(x - 5) }</code></p>
<p>Wir verändern hier den Exponenten statt den Funktionswert.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x^3 - 5 }</code></p>
<p>Wir vertauschen hier Basis und Exponent.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3^x - 5 }</code></p>
<p>Wir verwenden <code>^</code> zum Potenzieren und subtrahieren erst danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*x - 5 }</code></p>
<p>Wir multiplizieren hier statt zu potenzieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 0.196152422707</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">3^x - 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.2.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1]  0.1961524 -3.2679492</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.196152422707
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
-3.267949192431
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R26 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{x}{4}+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 4/x + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/4 - 5 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { x/4 + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(4 + 5) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.5:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 5.375 5.500</code>~<code style="white-space:pre-wrap;">[1] 6.500 6.375</code>~=<code style="white-space:pre-wrap;">[1] 5.500 5.375</code>~<code style="white-space:pre-wrap;">[1] 5.5</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4/x + 5 }</code></p>
<p>Wir vertauschen hier Zähler und Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/4 - 5 }</code></p>
<p>Wir subtrahieren hier die Konstante statt sie zu addieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { x/4 + 5 }</code></p>
<p>Wir teilen zuerst x durch den Nenner und addieren danach die Konstante.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(4 + 5) }</code></p>
<p>Wir addieren hier die Konstante zum Nenner.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 5.5</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">x/4 + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.5.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.500 5.375</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.500
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
5.375
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R27 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{2}{x+2}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 2/(x - 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(2 + 2) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 2/(x + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2/x + 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.666666666667:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.6666667</code>~=<code style="white-space:pre-wrap;">[1] 0.6666667 0.5714286</code>~<code style="white-space:pre-wrap;">[1] 1.666667 1.571429</code>~<code style="white-space:pre-wrap;">[1] 0.5714286 0.6666667</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2/(x - 2) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(2 + 2) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2/(x + 2) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2/x + 2 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 0.666666666667</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">2/(x + 2)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.67.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.6666667 0.5714286</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.666666666667
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.571428571429
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R28 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=3x^2-5x+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 3*x^2 - 5*x + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { (3*x)^2 - 5*x + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3x^2 - 5*x + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3*x^2 - (5*x + 2) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.25:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 0.25</code>~=<code style="white-space:pre-wrap;">[1] 0.25 0.00</code>~<code style="white-space:pre-wrap;">[1] 0.00 0.25</code>~<code style="white-space:pre-wrap;">[1] 1.25 1.00</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3*x^2 - 5*x + 2 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (3*x)^2 - 5*x + 2 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3x^2 - 5*x + 2 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*x^2 - (5*x + 2) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 0.25</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">3*x^2 - 5*x + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.25.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.25 0.00</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.25
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.00
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R29 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=5(x-2)^2+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 5*(x + 2)^2 + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5*x - 2^2 + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 5*(x - 2)^2 + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5(x - 2)^2 + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 3.00 4.25</code>~<code style="white-space:pre-wrap;">[1] 4.00 5.25</code>~<code style="white-space:pre-wrap;">[1] 3</code>~<code style="white-space:pre-wrap;">[1] 4.25 3.00</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*(x + 2)^2 + 3 }</code></p>
<p>Wir addieren hier in der Klammer statt zu subtrahieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*x - 2^2 + 3 }</code></p>
<p>Wir quadrieren hier nur die Konstante statt der gesamten Differenz.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 5*(x - 2)^2 + 3 }</code></p>
<p>Wir klammern die Differenz, quadrieren sie und multiplizieren mit dem Faktor.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5(x - 2)^2 + 3 }</code></p>
<p>Wir brauchen ein <code>*</code> vor der Klammer. Sonst versucht R, eine Zahl als Funktion aufzurufen.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 3</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">5*(x - 2)^2 + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 3.00 4.25</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.00
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
4.25
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R30 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-2x}+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { exp(-2*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(-2*x + 5) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { e^(-2*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(2*x) + 5 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.04978706837:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 5.049787 5.135335</code>~<code style="white-space:pre-wrap;">[1] 6.049787 6.135335</code>~<code style="white-space:pre-wrap;">[1] 5.135335 5.049787</code>~<code style="white-space:pre-wrap;">[1] 5.049787</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-2*x) + 5 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-2*x + 5) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-2*x) + 5 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(2*x) + 5 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 5.04978706837</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">exp(-2*x) + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.05.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.049787 5.135335</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.04978706837
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
5.13533528324
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R31 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-4x}+5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { exp(-4*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(4*x) + 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(-4*x + 5) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { e^(-4*x) + 5 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=5.00247875218:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 5.002479 5.000335</code>~<code style="white-space:pre-wrap;">[1] 6.002479 6.000335</code>~<code style="white-space:pre-wrap;">[1] 5.002479</code>~<code style="white-space:pre-wrap;">[1] 5.000335 5.002479</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-4*x) + 5 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(4*x) + 5 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-4*x + 5) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-4*x) + 5 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 5.00247875218</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">exp(-4*x) + 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 5.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 5.002479 5.000335</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
5.00247875218
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
5.00033546263
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R32 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{3}{x+3}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 3/x + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 3/(x + 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3/(x - 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(3 + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.75:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 1.75 1.60</code>~<code style="white-space:pre-wrap;">[1] 0.60 0.75</code>~=<code style="white-space:pre-wrap;">[1] 0.75 0.60</code>~<code style="white-space:pre-wrap;">[1] 0.75</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/x + 3 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3/(x + 3) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/(x - 3) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(3 + 3) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 0.75</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">3/(x + 3)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.75.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.75 0.60</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.75
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.60
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R33 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=4(x-2)^2+4.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 4(x - 2)^2 + 4 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 4*(x - 2)^2 + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*(x + 2)^2 + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*x - 2^2 + 4 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=8:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 8</code>~<code style="white-space:pre-wrap;">[1]  9 14</code>~<code style="white-space:pre-wrap;">[1] 13  8</code>~=<code style="white-space:pre-wrap;">[1]  8 13</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4(x - 2)^2 + 4 }</code></p>
<p>Wir brauchen ein <code>*</code> vor der Klammer. Sonst versucht R, eine Zahl als Funktion aufzurufen.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4*(x - 2)^2 + 4 }</code></p>
<p>Wir klammern die Differenz, quadrieren sie und multiplizieren mit dem Faktor.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*(x + 2)^2 + 4 }</code></p>
<p>Wir addieren hier in der Klammer statt zu subtrahieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*x - 2^2 + 4 }</code></p>
<p>Wir quadrieren hier nur die Konstante statt der gesamten Differenz.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 8</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">4*(x - 2)^2 + 4</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 8.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1]  8 13</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
8
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
13
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R34 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\sqrt{x}+4\ln(x).\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { sqrt(x + 4*log(x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 4*log10(x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 4*ln(x) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 4*log(x) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=4.18680228461:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 4.186802</code>~=<code style="white-space:pre-wrap;">[1] 4.186802 2.846605</code>~<code style="white-space:pre-wrap;">[1] 2.846605 4.186802</code>~<code style="white-space:pre-wrap;">[1] 5.186802 3.846605</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x + 4*log(x)) }</code></p>
<p>Wir ziehen hier die Wurzel aus der gesamten Summe.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 4*log10(x) }</code></p>
<p>Wir berechnen hier einen Logarithmus zur Basis 10 statt des natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 4*ln(x) }</code></p>
<p>Wir brauchen <code>log()</code>; eine Basisfunktion <code>ln()</code> gibt es in R nicht.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 4*log(x) }</code></p>
<p>Wir verwenden <code>sqrt()</code> für die Wurzel und <code>log()</code> für den natürlichen Logarithmus.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 4.18680228461</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">sqrt(x) + 4*log(x)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 4.19.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 4.186802 2.846605</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
4.18680228461
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.84660530382
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R35 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{x}{4}+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { x/4 + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/4 - 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(4 + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4/x + 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.5:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 3.50 3.25</code>~<code style="white-space:pre-wrap;">[1] 2.5</code>~=<code style="white-space:pre-wrap;">[1] 2.50 2.25</code>~<code style="white-space:pre-wrap;">[1] 2.25 2.50</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { x/4 + 2 }</code></p>
<p>Wir teilen zuerst x durch den Nenner und addieren danach die Konstante.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/4 - 2 }</code></p>
<p>Wir subtrahieren hier die Konstante statt sie zu addieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(4 + 2) }</code></p>
<p>Wir addieren hier die Konstante zum Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4/x + 2 }</code></p>
<p>Wir vertauschen hier Zähler und Nenner.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 2.5</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">x/4 + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.5.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.50 2.25</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.50
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.25
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R36 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=5x^2-2x+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - (2*x + 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5x^2 - 2*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { (5*x)^2 - 2*x + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - 2*x + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=6:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1]  6.00 11.25</code>~<code style="white-space:pre-wrap;">[1] 11.25  6.00</code>~<code style="white-space:pre-wrap;">[1]  7.00 12.25</code>~<code style="white-space:pre-wrap;">[1] 6</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - (2*x + 3) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5x^2 - 2*x + 3 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (5*x)^2 - 2*x + 3 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - 2*x + 3 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1) = 6</code></p>
<p>Wir setzen für x den Wert 1 in <code style="white-space:pre-wrap;">5*x^2 - 2*x + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 6.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1]  6.00 11.25</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
6.00
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
11.25
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R37 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-2x}+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { e^(-2*x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(-2*x + 2) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { exp(-2*x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(2*x) + 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.01831563889:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 2.367879 2.018316</code>~<code style="white-space:pre-wrap;">[1] 3.018316 3.367879</code>~<code style="white-space:pre-wrap;">[1] 2.018316</code>~=<code style="white-space:pre-wrap;">[1] 2.018316 2.367879</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-2*x) + 2 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-2*x + 2) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-2*x) + 2 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(2*x) + 2 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 2.01831563889</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">exp(-2*x) + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.02.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.018316 2.367879</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.01831563889
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.36787944117
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R38 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\sqrt{x}+2\ln(x).\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*ln(x) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log(x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log10(x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(x + 2*log(x)) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.03567508761:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 2.035675</code>~=<code style="white-space:pre-wrap;">[1] 2.035675 2.800508</code>~<code style="white-space:pre-wrap;">[1] 2.800508 2.035675</code>~<code style="white-space:pre-wrap;">[1] 3.035675 3.800508</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*ln(x) }</code></p>
<p>Wir brauchen <code>log()</code>; eine Basisfunktion <code>ln()</code> gibt es in R nicht.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log(x) }</code></p>
<p>Wir verwenden <code>sqrt()</code> für die Wurzel und <code>log()</code> für den natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x) + 2*log10(x) }</code></p>
<p>Wir berechnen hier einen Logarithmus zur Basis 10 statt des natürlichen Logarithmus.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(x + 2*log(x)) }</code></p>
<p>Wir ziehen hier die Wurzel aus der gesamten Summe.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 2.03567508761</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">sqrt(x) + 2*log(x)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.04.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.035675 2.800508</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.03567508761
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.80050792349
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R39 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-4x}+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { exp(-4*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(4*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { e^(-4*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(-4*x + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3.00247875218:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 3.002479</code>~<code style="white-space:pre-wrap;">[1] 3.000335 3.002479</code>~=<code style="white-space:pre-wrap;">[1] 3.002479 3.000335</code>~<code style="white-space:pre-wrap;">[1] 4.002479 4.000335</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-4*x) + 3 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(4*x) + 3 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-4*x) + 3 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-4*x + 3) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 3.00247875218</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">exp(-4*x) + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 3.002479 3.000335</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.00247875218
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
3.00033546263
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R40 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=2\sqrt{x}+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(2*x) + 2 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) - 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3.41421356237:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 3.414214 4.828427</code>~<code style="white-space:pre-wrap;">[1] 4.828427 3.414214</code>~<code style="white-space:pre-wrap;">[1] 4.414214 5.828427</code>~<code style="white-space:pre-wrap;">[1] 3.414214</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x + 2) }</code></p>
<p>Wir addieren hier die Konstante unter der Wurzel.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(2*x) + 2 }</code></p>
<p>Wir nehmen hier den Faktor unter die Wurzel.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) + 2 }</code></p>
<p>Wir ziehen zuerst die Wurzel, multiplizieren und addieren dann.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) - 2 }</code></p>
<p>Wir subtrahieren hier statt zu addieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 3.41421356237</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">2*sqrt(x) + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.41.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 3.414214 4.828427</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.41421356237
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
4.82842712475
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R41 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=2\sqrt{x}+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { sqrt(2*x) + 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) - 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3.41421356237:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 3.414214 4.000000</code>~<code style="white-space:pre-wrap;">[1] 4.414214 5.000000</code>~<code style="white-space:pre-wrap;">[1] 4.000000 3.414214</code>~<code style="white-space:pre-wrap;">[1] 3.414214</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) + 2 }</code></p>
<p>Wir ziehen zuerst die Wurzel, multiplizieren und addieren dann.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { sqrt(2*x) + 2 }</code></p>
<p>Wir nehmen hier den Faktor unter die Wurzel.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x + 2) }</code></p>
<p>Wir addieren hier die Konstante unter der Wurzel.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2*sqrt(x) - 2 }</code></p>
<p>Wir subtrahieren hier statt zu addieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 3.41421356237</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">2*sqrt(x) + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.41.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 3.414214 4.000000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.41421356237
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
4.00000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R42 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=5x^2-2x+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 5x^2 - 2*x + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - 2*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { (5*x)^2 - 2*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - (2*x + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3.25:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 2))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1]  4.25 20.00</code>~<code style="white-space:pre-wrap;">[1] 3.25</code>~=<code style="white-space:pre-wrap;">[1]  3.25 19.00</code>~<code style="white-space:pre-wrap;">[1] 19.00  3.25</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5x^2 - 2*x + 3 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - 2*x + 3 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (5*x)^2 - 2*x + 3 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*x^2 - (2*x + 3) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 3.25</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">5*x^2 - 2*x + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.25.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1]  3.25 19.00</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 2. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.25
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
19.00
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R43 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=3(x-4)^2+4.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 3*(x + 4)^2 + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3(x - 4)^2 + 4 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 3*(x - 4)^2 + 4 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3*x - 4^2 + 4 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=40.75:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 41.75 23.75</code>~=<code style="white-space:pre-wrap;">[1] 40.75 22.75</code>~<code style="white-space:pre-wrap;">[1] 22.75 40.75</code>~<code style="white-space:pre-wrap;">[1] 40.75</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*(x + 4)^2 + 4 }</code></p>
<p>Wir addieren hier in der Klammer statt zu subtrahieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3(x - 4)^2 + 4 }</code></p>
<p>Wir brauchen ein <code>*</code> vor der Klammer. Sonst versucht R, eine Zahl als Funktion aufzurufen.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3*(x - 4)^2 + 4 }</code></p>
<p>Wir klammern die Differenz, quadrieren sie und multiplizieren mit dem Faktor.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3*x - 4^2 + 4 }</code></p>
<p>Wir quadrieren hier nur die Konstante statt der gesamten Differenz.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 40.75</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">3*(x - 4)^2 + 4</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 40.75.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 40.75 22.75</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
40.75
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
22.75
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R44 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\mathrm{e}^{-4x}+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { exp(4*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { e^(-4*x) + 3 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { exp(-4*x) + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { exp(-4*x + 3) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=3.00033546263:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 3.000335 3.018316</code>~<code style="white-space:pre-wrap;">[1] 3.018316 3.000335</code>~<code style="white-space:pre-wrap;">[1] 4.000335 4.018316</code>~<code style="white-space:pre-wrap;">[1] 3.000335</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(4*x) + 3 }</code></p>
<p>Wir beachten das fehlende Minuszeichen im Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { e^(-4*x) + 3 }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert; deshalb scheitert die Auswertung.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { exp(-4*x) + 3 }</code></p>
<p>Wir verwenden <code>exp()</code> und addieren die Konstante außerhalb des Exponenten.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { exp(-4*x + 3) }</code></p>
<p>Wir addieren hier die Konstante im Exponenten statt nach dem Potenzieren.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 3.00033546263</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">exp(-4*x) + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 3.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 3.000335 3.018316</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
3.00033546263
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
3.01831563889
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R45 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=4x^2-5x+3.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - 5*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - (5*x + 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 4x^2 - 5*x + 3 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { (4*x)^2 - 5*x + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=9:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 2 9</code>~<code style="white-space:pre-wrap;">[1] 10  3</code>~=<code style="white-space:pre-wrap;">[1] 9 2</code>~<code style="white-space:pre-wrap;">[1] 9</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - 5*x + 3 }</code></p>
<p>Wir schreiben jedes Produkt mit <code>*</code> und potenzieren nur x.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4*x^2 - (5*x + 3) }</code></p>
<p>Wir ziehen hier auch den konstanten Term ab. Gesucht ist seine Addition.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 4x^2 - 5*x + 3 }</code></p>
<p>Wir brauchen zwischen Koeffizient und x ein <code>*</code>; sonst entsteht ein Syntaxfehler.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { (4*x)^2 - 5*x + 3 }</code></p>
<p>Wir quadrieren hier zusätzlich den Koeffizienten.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 9</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">4*x^2 - 5*x + 3</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 9.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 9 2</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
9
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R46 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{x}{2}+2.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { x/2 - 2 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x/(2 + 2) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 2/x + 2 \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { x/2 + 2 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=2.75:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 3.75 3.25</code>~<code style="white-space:pre-wrap;">[1] 2.25 2.75</code>~=<code style="white-space:pre-wrap;">[1] 2.75 2.25</code>~<code style="white-space:pre-wrap;">[1] 2.75</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/2 - 2 }</code></p>
<p>Wir subtrahieren hier die Konstante statt sie zu addieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(2 + 2) }</code></p>
<p>Wir addieren hier die Konstante zum Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 2/x + 2 }</code></p>
<p>Wir vertauschen hier Zähler und Nenner.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { x/2 + 2 }</code></p>
<p>Wir teilen zuerst x durch den Nenner und addieren danach die Konstante.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 2.75</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">x/2 + 2</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 2.75.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 2.75 2.25</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
2.75
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
2.25
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R47 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=5^{x}-5.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 5^x - 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5*x - 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { x^5 - 5 \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 5^(x - 5) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=20:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1]  0 20</code>~=<code style="white-space:pre-wrap;">[1] 20  0</code>~<code style="white-space:pre-wrap;">[1] 21  1</code>~<code style="white-space:pre-wrap;">[1] 20</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 5^x - 5 }</code></p>
<p>Wir verwenden <code>^</code> zum Potenzieren und subtrahieren erst danach.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5*x - 5 }</code></p>
<p>Wir multiplizieren hier statt zu potenzieren.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x^5 - 5 }</code></p>
<p>Wir vertauschen hier Basis und Exponent.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 5^(x - 5) }</code></p>
<p>Wir verändern hier den Exponenten statt den Funktionswert.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 20</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">5^x - 5</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 20.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 20  0</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
20
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R48 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{90}{1+10\,\mathrm{e}^{-3x}}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*e^(-3*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 90/1 + 10*exp(-3*x) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(3*x)) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(-3*x)) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(1.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=81.001541553:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(1.5, 0.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">[1] 81.00154 27.85255</code>~<code style="white-space:pre-wrap;">[1] 81.00154</code>~<code style="white-space:pre-wrap;">[1] 82.00154 28.85255</code>~<code style="white-space:pre-wrap;">[1] 27.85255 81.00154</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*e^(-3*x)) }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert. R stellt die Eulersche Zahl nicht als Objekt <code>e</code> bereit.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 90/1 + 10*exp(-3*x) }</code></p>
<p>Wir teilen hier nur durch 1. Der übrige Nenner wird stattdessen addiert.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(3*x)) }</code></p>
<p>Wir beachten das Minuszeichen im Exponenten; es fehlt hier.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 90/(1 + 10*exp(-3*x)) }</code></p>
<p>Wir klammern den gesamten Nenner und schreiben die Exponentialfunktion als <code>exp()</code>.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(1.5) = 81.001541553</code></p>
<p>Wir setzen für x den Wert 1.5 in <code style="white-space:pre-wrap;">90/(1 + 10*exp(-3*x))</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 81.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 81.00154 27.85255</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 1.5, der zweite zu x = 0.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
81.0015415530
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
27.8525532741
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R49 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{50}{1+11\,\mathrm{e}^{-2x}}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:=<code style="white-space:pre-wrap;">f = function(x) { 50/(1 + 11*exp(-2*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 50/(1 + 11*exp(2*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 50/(1 + 11*e^(-2*x)) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 50/1 + 11*exp(-2*x) \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(2)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=41.615617213:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(2, 1.5))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 41.61562</code>~<code style="white-space:pre-wrap;">[1] 42.61562 33.30688</code>~=<code style="white-space:pre-wrap;">[1] 41.61562 32.30688</code>~<code style="white-space:pre-wrap;">[1] 32.30688 41.61562</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 50/(1 + 11*exp(-2*x)) }</code></p>
<p>Wir klammern den gesamten Nenner und schreiben die Exponentialfunktion als <code>exp()</code>.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 50/(1 + 11*exp(2*x)) }</code></p>
<p>Wir beachten das Minuszeichen im Exponenten; es fehlt hier.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 50/(1 + 11*e^(-2*x)) }</code></p>
<p>Wir haben kein Objekt <code>e</code> definiert. R stellt die Eulersche Zahl nicht als Objekt <code>e</code> bereit.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 50/1 + 11*exp(-2*x) }</code></p>
<p>Wir teilen hier nur durch 1. Der übrige Nenner wird stattdessen addiert.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(2) = 41.615617213</code></p>
<p>Wir setzen für x den Wert 2 in <code style="white-space:pre-wrap;">50/(1 + 11*exp(-2*x))</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 41.62.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 41.61562 32.30688</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 2, der zweite zu x = 1.5. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
2.0
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
41.6156172130
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.5
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
32.3068843443
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>


<question type="cloze">
<name>
<text> R50 Q1 : _home_rstudio_spiegel_quizzes_e2f_R_grundlagen_02 </text>
</name>
<questiontext format="html">
<text><![CDATA[
<style type="text/css" rel="stylesheet">
/* tables with alternating shading */
.table_shade {
    border-collapse: collapse;
    border-spacing: 0;
    border:1px solid #FFFFFF;
    background-color: #FFFFFF;
}
.table_shade th {
    border:1px solid #FFFFFF;
    background: #D5D5D5;
}
.table_shade td {
    border:1px solid #FFFFFF;
}
.table_shade .odd {
    background: #EEEEEE;
}
.table_shade .even {
    background: #FBFBFB;
}
</style>
<p>
<p>Gegeben ist die Funktion</p>
<p><span class="math display">\[f(x)=\frac{3}{x+3}.\]</span></p>
<p>Beurteilen Sie die Definitionen in einer frischen R-Sitzung. Es wurden keine eigenen Objekte oder Funktionen wie <code>e</code> oder <code>ln</code> angelegt. Bei b) und c) verwenden Sie die mathematisch richtige Definition aus a).</p>
<div class="radio-zeile">
<p><strong>a)</strong> Welche Definition berechnet genau diese Funktion? {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">f = function(x) { x/(3 + 3) \}</code>~=<code style="white-space:pre-wrap;">f = function(x) { 3/(x + 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3/(x - 3) \}</code>~<code style="white-space:pre-wrap;">f = function(x) { 3/x + 3 \}</code>}</p>
</div>
<div class="radio-zeile">
<p><strong>b)</strong> Welchen Wert hat <code style="white-space:pre-wrap;">f(0.5)</code>? Geben Sie das Ergebnis auf zwei Nachkommastellen gerundet mit Dezimalpunkt ein.  {1:NUMERICAL:=0.857142857143:0.01}</p>
</div>
<div class="radio-zeile">
<p><strong>c)</strong> Welche Konsolenausgabe erzeugt <code style="white-space:pre-wrap;">f(c(0.5, 1))</code>? Die Ausgaben entsprechen R mit <code>digits = 7</code>. {1:MULTICHOICE_V:<code style="white-space:pre-wrap;">[1] 1.857143 1.750000</code>~=<code style="white-space:pre-wrap;">[1] 0.8571429 0.7500000</code>~<code style="white-space:pre-wrap;">[1] 0.7500000 0.8571429</code>~<code style="white-space:pre-wrap;">[1] 0.8571429</code>}</p>
</div>
</p>]]></text>
</questiontext>
<generalfeedback format="html">
<text><![CDATA[<p>
<p><strong>a)</strong> Wir prüfen jede Definition:</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { x/(3 + 3) }</code></p>
<p>Wir verwenden hier einen anderen Zähler und einen konstanten Nenner.</p>
<p>👍 Richtig. <code style="white-space:pre-wrap;">f = function(x) { 3/(x + 3) }</code></p>
<p>Wir klammern die gesamte Summe im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/(x - 3) }</code></p>
<p>Wir subtrahieren hier die Konstante im Nenner.</p>
<p>❌ Falsch. <code style="white-space:pre-wrap;">f = function(x) { 3/x + 3 }</code></p>
<p>Wir dividieren hier nur durch x und addieren danach.</p>
<p><strong>b)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">f(0.5) = 0.857142857143</code></p>
<p>Wir setzen für x den Wert 0.5 in <code style="white-space:pre-wrap;">3/(x + 3)</code> ein und berechnen zuerst die inneren Klammern und Funktionsaufrufe. Wir erhalten gerundet 0.86.</p>
<p><strong>c)</strong> 👍 Richtig. <code style="white-space:pre-wrap;">[1] 0.8571429 0.7500000</code></p>
<p>Wir werten die Funktion für jeden Vektoreintrag einzeln aus. Der erste Ausgabewert gehört zu x = 0.5, der zweite zu x = 1. Wir behalten die Reihenfolge bei. Ein einzelner Wert, vertauschte Einträge oder um 1 erhöhte Werte passen nicht.</p>
<table style="border-collapse:collapse;margin:auto;border-top:2px solid black;border-bottom:2px solid black;border-left:none;border-right:none;">
<thead>
<tr>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
x
</th>
<th style="border:0;border-bottom:1px solid black;padding:4px 10px;text-align:center;">
f(x)
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:0;padding:3px 10px;text-align:center;">
0.5
</td>
<td style="border:0;padding:3px 10px;text-align:center;">
0.857142857143
</td>
</tr>
<tr>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
1.0
</td>
<td style="background-color:#f2f2f2;border:0;padding:3px 10px;text-align:center;">
0.750000000000
</td>
</tr>
</tbody>
</table>
</p>]]></text>
</generalfeedback>
<penalty>0</penalty>
<defaultgrade>3</defaultgrade>
</question>

</quiz>
