Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 465.3
bearbeitet von Carina Enke
am 20.12.2023
am 20.12.2023
Änderungskommentar:
Update document after refactoring.
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 (2 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -Text Variable s1 +Text Variablen - Inhalt
-
... ... @@ -1,48 +1,38 @@ 1 -{{layout}} 2 -{{layout-section ac:type="single"}} 3 -{{layout-cell}} 4 -\\ 5 -{{/layout-cell}} 6 -{{/layout-section}} 7 - 8 -{{layout-section ac:type="two_right_sidebar"}} 9 -{{layout-cell}} 1 +{{section}} 2 +{{column width="60%"}} 10 10 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung. 11 11 12 -[[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"]] 13 13 14 14 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt. 15 15 16 -[[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"]] 17 17 18 -\\ 19 19 20 20 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %) 13 + 14 +{{/column}} 21 21 22 -{{/layout-cell}} 23 - 24 -{{layout-cell}} 25 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 26 - 27 - 28 -{{toc/}} 16 +{{column width="30%"}} 17 +{{panel title="Inhalt"}} 18 +{{toc start="2"/}} 29 29 {{/panel}} 30 30 31 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid"title="Verwandte Themen"}}32 -* [[doc:ONYX. ONYXEditor.Aufgaben.Variablen verwenden.TextVariables.Berechnungsaufgabe]]33 -* [[doc:ONYX. ONYXEditor.Aufgaben.Variablen verwenden.TextVariables.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]] 34 34 {{/panel}} 35 35 36 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid"title="Weiterführende Informationen"}}26 +{{panel title="Weiterführende Informationen"}} 37 37 * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]] 38 38 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 39 39 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 40 40 {{/panel}} 41 -{{/layout-cell}} 42 -{{/layout-section}} 31 +{{/column}} 43 43 44 -{{layout-section ac:type="single"}} 45 -{{layout-cell}} 33 +{{/section}} 34 + 35 + 46 46 == Zufällige Auswahl == 47 47 48 48 Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt. ... ... @@ -51,13 +51,13 @@ 51 51 **Mögliche Eingaben sind beispielsweise:** 52 52 53 53 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad". 54 - \\44 + 55 55 56 56 {{info}} 57 57 Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien: 58 58 59 -* [[Beispiel "Digging a hole">>doc:ONYX. ONYXEditor.Aufgaben.Variablen verwenden.Text Variables.Beispiele zum Einsatz von Variablen]]60 -* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:ONYX. ONYXEditor.Aufgaben.Variablen verwenden.Text Variables.BeispielezumEinsatz vonVariablen]]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]] 61 61 {{/info}} 62 62 63 63 == Direkte Wert-Setzung == ... ... @@ -83,91 +83,5 @@ 83 83 * //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. 84 84 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten. 85 85 86 - [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]] 87 -{{/layout-cell}} 88 -{{/layout-section}} 89 -{{/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"]] 90 90 91 - 92 - 93 -{{layout}} 94 -{{layout-section ac:type="two_right_sidebar"}} 95 -{{layout-cell}} 96 -For variables with text, select the type //**Text**//. 97 - 98 -[[image:attach:Editor - Textvariable Typauswahl_de.png]] 99 - 100 -Below, you will find instructions on how to configure different values for your text variables. 101 - 102 -[[image:attach:Editor - Textvariable Wertsetzung_de.png]] 103 -{{/layout-cell}} 104 - 105 -{{layout-cell}} 106 - 107 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 108 - 109 - 110 -{{toc/}} 111 -{{/panel}} 112 - 113 -{{panel title="Related topics"}} 114 -* [[Calculation interaction>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v8.X||shape="rect"]] 115 -* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v8.X||shape="rect"]] 116 -{{/panel}} 117 - 118 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}} 119 -* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]] 120 -* [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 121 -* [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 122 -{{/panel}} 123 - 124 -{{/layout-cell}} 125 -{{/layout-section}} 126 - 127 -{{layout-section ac:type="single"}} 128 -{{layout-cell}} 129 -== Random selection == 130 - 131 -Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon. 132 - 133 -If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")// 134 - 135 -**Possible entries are for example:** 136 - 137 -* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle". 138 -\\ 139 - 140 -{{info}} 141 -The following examples for the use of numerical variables to generate random values show typical application scenarios: 142 - 143 -* [[Example "Digging a hole">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]] 144 -* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]] 145 -{{/info}} 146 - 147 -== Direct value assignment == 148 - 149 -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). 150 - 151 -**Possible entries are for example:** 152 - 153 -* //Value: Hans: //The variable is assigned the value "Hans". 154 -* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly". 155 - 156 -== Calculation (MAXIMA) == 157 - 158 -[[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. 159 - 160 -{{info}} 161 -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"]]. 162 -{{/info}} 163 - 164 -**Possible entries are for example:** 165 - 166 -* //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. 167 -* //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". 168 -* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content. 169 - 170 -[[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]] 171 -{{/layout-cell}} 172 -{{/layout-section}} 173 -{{/layout}}