Änderungen von Dokument Text Variablen

Zuletzt geändert von Carina Enke am 25.07.2024

Von Version 466.1
bearbeitet von Hendrik Zschocke
am 12.01.2024
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 459.5
bearbeitet von Carina Enke
am 18.12.2023
Änderungskommentar: Renamed from xwiki:00 Onyx.ONYX Editor.Aufgaben.Variablen verwenden.Text Variables.WebHome

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Text Variablen
1 +Text Variables
Übergeordnete Seite
... ... @@ -1,1 +1,1 @@
1 -ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome
1 +00 Onyx.ONYX Editor.Aufgaben.Variablen verwenden.WebHome
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.hendrik
1 +XWiki.carina
Inhalt
... ... @@ -1,7 +1,8 @@
1 +{{sv-translation language="de"}}
1 1  {{layout}}
2 2  {{layout-section ac:type="single"}}
3 3  {{layout-cell}}
4 -
5 +\\
5 5  {{/layout-cell}}
6 6  {{/layout-section}}
7 7  
... ... @@ -9,25 +9,29 @@
9 9  {{layout-cell}}
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||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="153" width="338"]]
13 +[[image:attach:Editor - Textvariable Typauswahl_de.png]]
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||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="127" width="340"]]
17 +[[image:attach:Editor - Textvariable Wertsetzung_de.png]]
17 17  
19 +\\
18 18  
19 19  (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
20 -
22 +
21 21  {{/layout-cell}}
22 22  
23 23  {{layout-cell}}
26 +{{scroll-ignore}}
24 24  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
28 +
29 +
25 25  {{toc/}}
26 26  {{/panel}}
27 27  
28 28  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
29 -* [[Berechnungsaufgabe>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]]
30 -* [[Formelvergleich>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]]
34 +* [[doc:Berechnungsaufgabe]]
35 +* [[doc:Formelvergleich]]
31 31  {{/panel}}
32 32  
33 33  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
... ... @@ -35,6 +35,7 @@
35 35  * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
36 36  * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
37 37  {{/panel}}
43 +{{/scroll-ignore}}
38 38  {{/layout-cell}}
39 39  {{/layout-section}}
40 40  
... ... @@ -48,13 +48,13 @@
48 48  **Mögliche Eingaben sind beispielsweise:**
49 49  
50 50  * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad".
51 -
57 +\\
52 52  
53 53  {{info}}
54 54  Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
55 55  
56 -* [[Beispiel "Digging a hole">>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel - Digging a hole.WebHome]]
57 -* [[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]]
58 58  {{/info}}
59 59  
60 60  == Direkte Wert-Setzung ==
... ... @@ -80,7 +80,92 @@
80 80  * //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.
81 81  * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten.
82 82  
83 - [[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]]
84 84  {{/layout-cell}}
85 85  {{/layout-section}}
86 86  {{/layout}}
93 +{{/sv-translation}}
94 +
95 +{{sv-translation language="en"}}
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 +{{/sv-translation}}