Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 467.1
bearbeitet von Carina Enke
am 25.07.2024
am 25.07.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 462.1
bearbeitet von Carina Enke
am 19.12.2023
am 19.12.2023
Ä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 n1 +Text Variables - Übergeordnete Seite
-
... ... @@ -1,1 +1,1 @@ 1 -ONYX. Erstellungvon Testinhalten.Aufgaben.Variablen verwenden.WebHome1 +ONYX.ONYX Editor.Aufgaben.Variablen verwenden.WebHome - Inhalt
-
... ... @@ -1,37 +1,51 @@ 1 -{{section}} 2 -{{column width="60%"}} 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}} 3 3 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung. 4 4 5 -[[image:attach:Editor - Textvariable Typauswahl_de.png ||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="153" width="338"]]13 +[[image:attach:Editor - Textvariable Typauswahl_de.png]] 6 6 7 7 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt. 8 8 9 -[[image:attach:Editor - Textvariable Wertsetzung_de.png ||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="127" width="340"]]17 +[[image:attach:Editor - Textvariable Wertsetzung_de.png]] 10 10 19 +\\ 11 11 12 12 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %) 13 - 14 -{{/column}} 15 15 16 -{{column width="30%"}} 17 -{{panel title="Inhalt"}} 18 -{{toc start="2"/}} 23 +{{/layout-cell}} 24 + 25 +{{layout-cell}} 26 +{{scroll-ignore}} 27 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 28 + 29 + 30 +{{toc/}} 19 19 {{/panel}} 20 20 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]]33 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}} 34 +* [[doc:Berechnungsaufgabe]] 35 +* [[doc:Formelvergleich]] 24 24 {{/panel}} 25 25 26 -{{panel title="Weiterführende Informationen"}} 38 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}} 27 27 * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]] 28 28 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 29 29 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 30 30 {{/panel}} 31 -{{/column}} 32 -{{/section}} 43 +{{/scroll-ignore}} 44 +{{/layout-cell}} 45 +{{/layout-section}} 33 33 34 - 47 +{{layout-section ac:type="single"}} 48 +{{layout-cell}} 35 35 == Zufällige Auswahl == 36 36 37 37 Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt. ... ... @@ -40,13 +40,13 @@ 40 40 **Mögliche Eingaben sind beispielsweise:** 41 41 42 42 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad". 43 - 57 +\\ 44 44 45 45 {{info}} 46 46 Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien: 47 47 48 -* [[Beispiel "Digging a hole">>doc: ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel - Digging a hole.WebHome]]49 -* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc: ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel Transport - Einsatz von Zufallsparametern.WebHome]]62 +* [[Beispiel "Digging a hole">>doc:Beispiele zum Einsatz von Variablen]] 63 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]] 50 50 {{/info}} 51 51 52 52 == Direkte Wert-Setzung == ... ... @@ -72,4 +72,92 @@ 72 72 * //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. 73 73 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten. 74 74 75 - [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 89 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]] 90 +{{/layout-cell}} 91 +{{/layout-section}} 92 +{{/layout}} 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 +{{scroll-ignore}} 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 +{{/scroll-ignore}} 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 +