Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 439.1
bearbeitet von Carina Enke
am 24.09.2018
am 24.09.2018
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf Version 387.1
bearbeitet von Carina Enke
am 08.05.2019
am 08.05.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.7.
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -Text variablen1 +Text Variables - Inhalt
-
... ... @@ -1,15 +1,7 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 2 2 {{layout-section ac:type="single"}} 3 -{{layout-cell}} 4 - 5 - 6 -(% class="removedPlaceholderWrapper" %) 7 - 8 - 9 - 10 - 11 - 12 -{{/layout-cell}} 4 +{{layout-cell}}{{/layout-cell}} 13 13 {{/layout-section}} 14 14 15 15 {{layout-section ac:type="two_right_sidebar"}} ... ... @@ -16,11 +16,11 @@ 16 16 {{layout-cell}} 17 17 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung. 18 18 19 -[[image:attach:i mage2017-3-238:25:28.png]]11 +[[image:attach:Editor - Textvariable Typauswahl_de.png]] 20 20 21 21 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt. 22 22 23 -[[image:attach:i mage2017-3-238:27:46.png]]15 +[[image:attach:Editor - Textvariable Wertsetzung_de.png]] 24 24 25 25 26 26 ... ... @@ -42,15 +42,11 @@ 42 42 {{/panel}} 43 43 44 44 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}} 45 -* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/ de/maxima.html||shape="rect"]]37 +* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]] 46 46 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 47 47 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 48 48 {{/panel}} 49 49 {{/scroll-ignore}} 50 - 51 - 52 - 53 - 54 54 {{/layout-cell}} 55 55 {{/layout-section}} 56 56 ... ... @@ -64,24 +64,14 @@ 64 64 **Mögliche Eingaben sind beispielsweise:** 65 65 66 66 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad". 55 +\\ 67 67 68 -=== Beispiel "Digging a hole" === 57 +{{info}} 58 +Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien: 69 69 70 -|((( 71 -[[image:attach:image2017-3-23 8:32:30.png]] 72 -)))|((( 73 -Im Beispiel wird die Text-Variable {PEOPLE} zufällig mit einem der Werte "men", "woman" oder "children" initialisiert. 74 -))) 75 -|((( 76 -[[image:attach:image2017-3-23 8:36:15.png]] 77 -)))|((( 78 -Die Variable wird in den Aufgabentext durch Angabe des Variablen-Namens {PEOPLE} eingebunden. Im Beispiel wird die Variable in eine Aufgabe vom Typ [[Berechnung (Lückentext) >>doc:Berechnungsaufgabe]]eingebunden. 79 -))) 80 -|((( 81 -[[image:attach:image2017-3-23 8:38:49.png]] 82 -)))|((( 83 -Für den Testdurchlauf wird für jeden Teilnehmer und jeden Versuch zufällig einer der definierten Werte ausgewählt. Im Beispiel wurde zufällig der Wert "woman" eingesetzt. 84 -))) 60 +* [[Beispiel "Digging a hole">>doc:Beispiele zum Einsatz von Variablen]] 61 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]] 62 +{{/info}} 85 85 86 86 == Direkte Wert-Setzung == 87 87 ... ... @@ -96,6 +96,10 @@ 96 96 97 97 [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] ermöglicht die Arbeit mit Zeichenketten und Formeln. Sie können Variablenwerte auf Basis anderer Variablen berechnen. Geben Sie Ihre Berechnungsvorschrift in MAXIMA-Schreibweise an. 98 98 77 +{{info}} 78 +Detaillierte Hinweise zur MAXIMA-Schreibweise erhalten Sie im [[MAXIMA Benutzerhandbuch (Manual)>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]. Eine wertvolle Zusammenstellung von Beispielumsetzungen finden Sie in Form eines Wikis unter [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]. 79 +{{/info}} 80 + 99 99 **Mögliche Eingaben sind beispielsweise:** 100 100 101 101 * //Berechnung (MAXIMA): string({a}*x+5): //Es wird eine einfache Funktionsgleichung durch Einsatz des Variablenwertes {a} berechnet. Die Variable {a} muss zuvor definiert sein. ... ... @@ -102,11 +102,102 @@ 102 102 * //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. 103 103 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten. 104 104 105 - [[image:attach:image2017-3-22 15:24:50.png]] 87 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]] 88 +{{/layout-cell}} 89 +{{/layout-section}} 90 +{{/layout}} 91 +{{/sv-translation}} 106 106 93 +{{sv-translation language="en"}} 94 +{{layout}} 95 +{{layout-section ac:type="two_right_sidebar"}} 96 +{{layout-cell}} 97 +You can generate variables with text content. For this purpose, the variable type "**Text**" is available to you. 98 + 99 +[[image:attach:image2017-3-23 8:25:28.png]] 100 + 101 +To alter the value for the text variable, different options are available, which will be explained in the following sections. 102 + 103 +[[image:attach:image2017-3-23 8:27:46.png]] 104 +{{/layout-cell}} 105 + 106 +{{layout-cell}} 107 +{{scroll-ignore}} 108 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 109 + 110 + 111 +{{toc/}} 112 + 113 +**Related topics** 114 + 115 +* [[Calculation task>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]] 116 +* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]] 117 +{{/panel}} 118 + 119 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}} 120 +* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]] 121 +* [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 122 +* [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 123 +{{/panel}} 124 +{{/scroll-ignore}} 125 +{{/layout-cell}} 126 +{{/layout-section}} 127 + 128 +{{layout-section ac:type="single"}} 129 +{{layout-cell}} 130 +== Random selection == 131 + 132 +Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon. 133 + 134 +If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")// 135 + 136 +**Possible entries are for example:** 137 + 138 +* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle". 139 + 140 +=== Example "digging a hole" === 141 + 142 +|((( 143 +[[image:attach:image2017-3-23 8:32:30.png]] 144 +)))|((( 145 +In the example, the text variable {PEOPLE} will be randomly initialised with one of the following values: "men", "women", or "children". 146 +))) 147 +|((( 148 +[[image:attach:image2017-3-23 8:36:15.png]] 149 +)))|((( 150 +To insert the variable into the task text, you need to type the variable name {PEOPLE}. In the example, the variable is included in a task of the type [[calculation (cloze)>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]]. 151 +))) 152 +|((( 153 +[[image:attach:image2017-3-23 8:38:49.png]] 154 +)))|((( 155 +One of the defined values will then be randomly chosen for each participant and each test attempt. In the example, the value "women" was inserted. 156 +))) 157 + 158 +== Direct value assignment == 159 + 160 +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). 161 + 162 +**Possible entries are for example:** 163 + 164 +* //Value: Hans: //The variable is assigned the value "Hans". 165 +* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly". 166 + 167 +== Calculation (MAXIMA) == 168 + 169 +[[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. 170 + 107 107 {{info}} 108 - DetaillierteHinweisezurMAXIMA-Schreibweise erhaltenSieim[[MAXIMABenutzerhandbuch (Manual)>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]].Eine wertvolle Zusammenstellungvon Beispielumsetzungen finden Sie in FormeinesWikisunter[[MAXIMAGood-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]].172 +For further information on the MAXIMA notation, please refer to the help pages of the [[computer>>url:http://maxima.sourceforge.net/||shape="rect"]] [[algebra system MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]]. 109 109 {{/info}} 174 + 175 +**Possible entries are for example:** 176 + 177 +* //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. 178 +* //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". 179 +* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content. 180 + 181 +[[image:attach:image2017-3-22 15:24:50.png]] 110 110 {{/layout-cell}} 111 111 {{/layout-section}} 112 112 {{/layout}} 185 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 1821904771 +226230887 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 182190477/Textvariablen1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/226230887/Text Variables