Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 464.1
bearbeitet von Carina Enke
am 19.12.2023
am 19.12.2023
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 466.2
bearbeitet von Carina Enke
am 25.07.2024
am 25.07.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (3 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -Text Variable s1 +Text Variablen - Übergeordnete Seite
-
... ... @@ -1,1 +1,1 @@ 1 -ONYX. ONYXEditor.Aufgaben.Variablen verwenden.WebHome1 +ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome - Inhalt
-
... ... @@ -1,51 +1,38 @@ 1 - 2 -{{layout}} 3 -{{layout-section ac:type="single"}} 4 -{{layout-cell}} 5 -\\ 6 -{{/layout-cell}} 7 -{{/layout-section}} 8 - 9 -{{layout-section ac:type="two_right_sidebar"}} 10 -{{layout-cell}} 1 +{{section}} 2 +{{column width="60%"}} 11 11 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung. 12 12 13 -[[image:attach:Editor - Textvariable Typauswahl_de.png]] 5 +[[image:attach:Editor - Textvariable Typauswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="153" width="338"]] 14 14 15 15 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt. 16 16 17 -[[image:attach:Editor - Textvariable Wertsetzung_de.png]] 9 +[[image:attach:Editor - Textvariable Wertsetzung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="127" width="340"]] 18 18 19 -\\ 20 20 21 21 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %) 13 + 14 +{{/column}} 22 22 23 -{{/layout-cell}} 24 - 25 -{{layout-cell}} 26 - 27 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 28 - 29 - 30 -{{toc/}} 16 +{{column width="30%"}} 17 +{{panel title="Inhalt"}} 18 +{{toc start="2"/}} 31 31 {{/panel}} 32 32 33 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid"title="Verwandte Themen"}}34 -* [[doc:Berechnungsaufgabe]] 35 -* [[doc:Formelvergleich]] 21 +{{panel title="Verwandte Themen"}} 22 +* [[Berechnungsaufgabe>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]] 23 +* [[Formelvergleich>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]] 36 36 {{/panel}} 37 37 38 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid"title="Weiterführende Informationen"}}26 +{{panel title="Weiterführende Informationen"}} 39 39 * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]] 40 40 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 41 41 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 42 42 {{/panel}} 31 +{{/column}} 43 43 44 -{{/layout-cell}} 45 -{{/layout-section}} 33 +{{/section}} 46 46 47 -{{layout-section ac:type="single"}} 48 -{{layout-cell}} 35 + 49 49 == Zufällige Auswahl == 50 50 51 51 Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt. ... ... @@ -54,13 +54,13 @@ 54 54 **Mögliche Eingaben sind beispielsweise:** 55 55 56 56 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad". 57 - \\44 + 58 58 59 59 {{info}} 60 60 Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien: 61 61 62 -* [[Beispiel "Digging a hole">>doc:Beispiele zum Einsatz von Variablen]] 63 -* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]] 49 +* [[Beispiel "Digging a hole">>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel - Digging a hole.WebHome]] 50 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel Transport - Einsatz von Zufallsparametern.WebHome]] 64 64 {{/info}} 65 65 66 66 == Direkte Wert-Setzung == ... ... @@ -86,92 +86,5 @@ 86 86 * //Berechnung (MAXIMA): string(integrate({function},x,0,1)):** **//MAXIMA ermöglicht komplexe mathematische Berechnungen. Die Ableitung einer Beispielfunktion (bspw. 5*x+5) könnte als Wert "15/2" zurückliefern. 87 87 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten. 88 88 89 - [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]] 90 -{{/layout-cell}} 91 -{{/layout-section}} 92 -{{/layout}} 76 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 93 93 94 - 95 - 96 -{{layout}} 97 -{{layout-section ac:type="two_right_sidebar"}} 98 -{{layout-cell}} 99 -For variables with text, select the type //**Text**//. 100 - 101 -[[image:attach:Editor - Textvariable Typauswahl_de.png]] 102 - 103 -Below, you will find instructions on how to configure different values for your text variables. 104 - 105 -[[image:attach:Editor - Textvariable Wertsetzung_de.png]] 106 -{{/layout-cell}} 107 - 108 -{{layout-cell}} 109 - 110 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 111 - 112 - 113 -{{toc/}} 114 -{{/panel}} 115 - 116 -{{panel title="Related topics"}} 117 -* [[Calculation interaction>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v8.X||shape="rect"]] 118 -* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v8.X||shape="rect"]] 119 -{{/panel}} 120 - 121 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}} 122 -* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]] 123 -* [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 124 -* [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 125 -{{/panel}} 126 - 127 -{{/layout-cell}} 128 -{{/layout-section}} 129 - 130 -{{layout-section ac:type="single"}} 131 -{{layout-cell}} 132 -== Random selection == 133 - 134 -Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon. 135 - 136 -If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")// 137 - 138 -**Possible entries are for example:** 139 - 140 -* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle". 141 -\\ 142 - 143 -{{info}} 144 -The following examples for the use of numerical variables to generate random values show typical application scenarios: 145 - 146 -* [[Example "Digging a hole">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]] 147 -* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]] 148 -{{/info}} 149 - 150 -== Direct value assignment == 151 - 152 -You can directly assign a value to all types of variables in order to initialise them. Later on, the value can be changed depending on other variables (cf. conditions). 153 - 154 -**Possible entries are for example:** 155 - 156 -* //Value: Hans: //The variable is assigned the value "Hans". 157 -* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly". 158 - 159 -== Calculation (MAXIMA) == 160 - 161 -[[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] allows for the work with strings and formulas. You can calculate variable values on the basis of other variables. Indicate your calculation rule in MAXIMA notation. 162 - 163 -{{info}} 164 -For further information on the MAXIMA notation, please refer to the [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]. A valuable compilation of examples can be found in the form of a wiki under [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]. 165 -{{/info}} 166 - 167 -**Possible entries are for example:** 168 - 169 -* //Calculation (MAXIMA): string({a}*x+5): //A simple function equation is calculated including the variable value {a}. Plase note that the variable {a} must have been previously defined. 170 -* //Calculation (MAXIMA): string(integrate({function},x,0,1)): //MAXIMA enables complex mathematical calculations. The derivative of a sample function (e.g. 5*x+5) could result in the value "15/2". 171 -* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content. 172 - 173 -[[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]] 174 -{{/layout-cell}} 175 -{{/layout-section}} 176 -{{/layout}} 177 -