Änderungen von Dokument Numerische Variablen

Zuletzt geändert von Hendrik Zschocke am 12.01.2024

Von Version 414.1
bearbeitet von Carina Enke
am 05.02.2019
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.6.
Auf Version 399.1
bearbeitet von Carina Enke
am 08.05.2019
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.7.

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1,28 +1,19 @@
1 1  {{sv-translation language="de"}}
2 2  {{layout}}
3 3  {{layout-section ac:type="single"}}
4 -{{layout-cell}}
5 -
6 -
7 -(% class="removedPlaceholderWrapper" %)
8 -
9 -
10 -
11 -
12 -
13 -{{/layout-cell}}
4 +{{layout-cell}}{{/layout-cell}}
14 14  {{/layout-section}}
15 15  
16 16  {{layout-section ac:type="two_right_sidebar"}}
17 17  {{layout-cell}}
18 -Sie können ganzzahlige oder gebrochene Variablen-Werte generieren. Hierfür stehen Ihnen die Variablen-Typen "**Ganze Zahl**" und "**Gleitkommazahl**" zur Verfügung.
9 +Sie können ganzzahlige oder gebrochene Variablen-Werte generieren. Hierfür stehen Ihnen die Variablen-Typen //**Ganze Zahl**// und //**Gleitkommazahl** //zur Verfügung.
19 19  
20 -[[image:attach:image2017-3-23 8:15:49.png]]
11 +[[image:attach:Editor - Ganzzahlvariable Typauswahl_de.png]]
21 21  
22 -Nachfolgend werden Ihnen die Möglichkeiten zur Wertsetzung von Numerischen Variablen vorgestellt, sowie die Möglichkeit die Anzeige-Genauigkeit von Gleitkommazahlen zu definieren.
13 +Nachfolgend werden Ihnen die Möglichkeiten zur Wertsetzung von numerischen Variablen vorgestellt, sowie die Möglichkeit, die Anzeige-Genauigkeit von Gleitkommazahlen zu definieren.
23 23  Setzen Sie für eine numerische Variable keinen Wert, wird die Variable mit 0 initialisiert.
24 24  
25 -[[image:attach:image2017-3-23 8:22:0.png]]
16 +[[image:attach:Editor - Ganzzahlvariable Wertsetzung_de.png]]
26 26  
27 27  (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
28 28  
... ... @@ -36,9 +36,15 @@
36 36  {{toc/}}
37 37  {{/panel}}
38 38  
30 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Anwendungsbeispiele"}}
31 +* [[Beispiel "Wahrscheinlichkeit">>doc:Beispiele zum Einsatz von Variablen]]
32 +* [[Beispiel "Hypotenuse">>doc:Beispiele zum Einsatz von Variablen]]
33 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]]
34 +{{/panel}}
35 +
39 39  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
40 -* [[doc:Berechnungsaufgabe]]
41 -* [[doc:Formelvergleich]]
37 +* [[Berechnungsaufgabe (Lückentext)>>doc:Berechnungsaufgabe]]
38 +* [[Formelvergleich (Lückentext)>>doc:Formelvergleich]]
42 42  {{/panel}}
43 43  
44 44  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
... ... @@ -54,14 +54,23 @@
54 54  {{layout-cell}}
55 55  == Wertebereich ==
56 56  
57 -Für numerische Variablen kann ein Wertebereich definiert werden. Der Variablen-Wert wird zufällig innerhalb des Wertebereiches ermittelt. Dabei werden die angegebenen Grenzen in die Auswahl einbezogen. Für Variablen vom Typ Ganze Zahl kann zusätzlich zu den Grenzen (Einstellung Minimum und Maximum) die Schrittweite (Einstellung Schritte) bestimmt werden.
54 +Für numerische Variablen kann ein Wertebereich definiert werden. Der Variablen-Wert wird zufällig innerhalb des Wertebereiches ermittelt. Dabei werden die angegebenen Grenzen in die Auswahl einbezogen. Für Variablen vom Typ //**Ganze Zahl**// kann zusätzlich zu den Grenzen (Einstellung Minimum und Maximum) die Schrittweite (Einstellung Schritte) bestimmt werden.
58 58  
59 59  **Mögliche Eingaben sind beispielsweise:**
60 60  
61 61  * //Wertebereich: Minimum=2, Maximum=11, Schritte=3: //Es sind folgende Werte möglich {2, 5, 8, 11}. Bei Verwendung der Variable wird ein Wert zufällig ausgewählt bspw. 2.
62 62  
63 - [[image:attach:image2017-3-22 14:9:57.png]]
60 + [[image:attach:Editor - Bildvariable Wertsetzung Wertebereich_de.png]]
64 64  
62 +
63 +
64 +{{info}}
65 +Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
66 +
67 +* [[Beispiel "Wahrscheinlichkeit">>doc:Beispiele zum Einsatz von Variablen]]
68 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]]
69 +{{/info}}
70 +
65 65  == Wert (Direkte Wert-Setzung) ==
66 66  
67 67  Sie können allen Variablen-Typen einen Wert direkt zuweisen und die Variable mit diesem Wert initialisieren. Der Wert kann später in Abhängigkeit anderer Variablen geändert werden (vgl. Bedingungen).
... ... @@ -73,7 +73,7 @@
73 73  
74 74  == Zufällige Auswahl ==
75 75  
76 -Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden in der Liste durch Zeilenumbruch oder Semikolon getrennt.
82 +Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden in der Liste durch einen Zeilenumbruch oder ein Semikolon getrennt.
77 77  
78 78  **Mögliche Eingaben sind beispielsweise:**
79 79  
... ... @@ -80,35 +80,10 @@
80 80  * //Zufällige Auswahl: -5; -3; 3; 5: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. -5.
81 81  * //Zufällige Auswahl: 0; 12,25; 13,5~:// Es wird zufällig einer der angegebenen Werte ausgewählt bspw. 12,25.
82 82  
83 -=== Beispiel "Wahrscheinlichkeit" ===
84 -
85 -Als Beispiel soll eine typische Aufgabe aus der Wahrscheinlichkeitstheorie und Statistik realisiert werden. Es soll die Wahrscheinlichkeit für das Auftreten bestimmter Farbkombinationen untersucht werden, wenn aus einer Urne verschiedenfarbige Kugeln zufällig gezogen werden.
86 -
87 -|(((
88 -[[image:attach:image2017-3-23 8:54:23.png]]
89 -)))|(((
90 -Im Beispiel werden die Numerischen Variablen {BLUE}, {RED} und {WHITE} mit einem ganzzahligen Wert zwischen 3 und 15, also im Wertebereich [3,15] initialisiert.
91 -
92 -Auf Basis dieser zufälligen Werte wird die Summe aller Kugeln ermittelt ({summe}) und die Wahrscheinlichkeit für das Ziehen einer roten Kugel ({solution}).
93 -)))
94 -|(((
95 -[[image:attach:image2017-3-23 9:0:32.png]]
96 -)))|(((
97 -Die Variablen werden in den Aufgabentext durch Angabe der Variablen-Namen {BLUE}, {RED} und {WHITE} eingebunden. Im Beispiel werden die Variablen in eine Aufgabe vom Typ [[Berechnung (Lückentext) >>doc:Berechnungsaufgabe]]eingebunden.
98 -
99 -Die Variablen mit den Lösungen ({RED}/{summe} und {solution}) werden für die jeweiligen Lücken hinterlegt.
100 -)))
101 -|(((
102 -[[image:attach:image2017-3-23 9:7:8.png]]
103 -)))|(((
104 -Für den Testdurchlauf werden für jeden Teilnehmer und jeden Versuch zufällig Werte innerhalb der gegebenen Wertbereiche gewählt. Im Beispiel wurden zufällig die Werte {BLUE} = 6, {RED} = rot und {WHITE} = 10 gesetzt.
105 -
106 -Die Lösungen werden für jeden Testdurchlauf auf Basis der festgelegten Werte und der Berechnungsvorschrift automatisch ermittelt.
107 -)))
108 -
109 109  == Berechnung (MAXIMA) ==
110 110  
111 111  Die ONYX Testsuite ist mit dem [[Computer-Algebra-System MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] gekoppelt. Sie können Variablenwerte auf Basis anderer Variablen berechnen. Geben Sie hierfür die Berechnungsvorschrift in MAXIMA-Schreibweise an.
92 +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"]].
112 112  
113 113  **Mögliche Eingaben sind beispielsweise:**
114 114  
... ... @@ -116,41 +116,15 @@
116 116  * //Berechnung (MAXIMA): sqrt({a})/(5+sqrt({b}))~:// MAXIMA unterstützt mathematische Ausdrücke wie sqrt() für die Quadratwurzel.
117 117  * //Berechnung (MAXIMA): 2*sin({a})+log({b}): //Ebenso können trigonometrische Funktionen oder die Logarithmusfunktion genutzt werden.
118 118  
119 - [[image:attach:image2017-3-22 14:38:53.png]]
100 + [[image:attach:Editor - Bildvariable Wertsetzung Berechnung Maxima_de.png]]
120 120  
121 -=== Beispiel "Hypotenuse" ===
102 +
122 122  
123 -Als Beispiel soll eine einfache Aufgabe aus der Geometrie realisiert werden. Es soll das Verständnis zur Hypotenuse geprüft werden. Die Lösung soll aus dem Wissen, dass die Hyponuse die längste Seite eines rechtwinkligen Dreiecks ist, ableitbar sein. Hierzu werden dem Teilnehmer gezielt Lösungsmöglichkeiten vorgegebenen, aus welchen er die korrekte Lösung wählen soll.
124 -
125 -|(((
126 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:image2017-3-23 15:6:59.png]]
127 -
128 -)))|(((
129 -Im Beispiel werden zunächst die Katheten ({k1}, {k2}) des Dreiecks für die Aufgabenstellung zufällig ermittelt.
130 -
131 -Als korrekte Lösung wird die gesuchte Hypotenuse ({hyp}) durch eine MAXIMA-Gleichung berechnet. Zusätzlich werden mögliche Antwortoptionen ({a}, {b}, {c}) ebenfalls durch MAXIMA-Berechnung hinterlegt.
132 -
133 -Für alle Variablen vom Typ Gleitkommazahl wurde die Anzeige zur Genauigkeit auf 2 Dezimalstellen konfiguriert.
134 -)))
135 -|(((
136 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %) [[image:attach:image2017-3-23 14:39:27.png]][[image:attach:image2017-3-23 14:51:31.png]]
137 -)))|(((
138 -Im Beispiel werden die Variablen in eine [[Auswahlaufgabe >>doc:Auswahlaufgabe]]eingebunden. Die Variablen für den Aufgabentext werden durch Angabe der Variablen-Namen {k1} und {k2} in die Aufgabenstellung eingebunden. Zusätzlich werden für die Antwortoptionen die korrekte Lösung ({hyp}) und die alternativen Antworten ({a}, {b}, {c}) eingetragen.
139 -)))
140 -|(((
141 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:image2017-3-23 14:56:46.png]]
142 -)))|(((
143 -Für den Testdurchlauf werden für jeden Teilnehmer und jeden Versuch zufällig die Werte der Katheten ({k1}, {k2}) innerhalb der gegebenen Wertbereiche gewählt.
144 -
145 -Im Beispiel wurden zufällig folgende Werte für die Variablen angezeigt {k1} = 4, {k2} = 13.
146 -
147 -Auf Basis dieser Werte und der definierten Berechnungsvorschriften werden die Hypotenuse und die alternativen Antwortoptionen berechnet und folgende Werte in der Beispielaufgabe angezeigt: {a} = 17,00, {hyp} = 13,60, {b} = 8,50 und {c} = 5,39 cm.
148 -
149 -Damit beträgt im Beispiel die korrekte gerundete Lösung der Hypotenuse {hyp} 13,60 cm. Wobei die Antwortoptionen {a}, {b} und {c} bereits mit dem Wissen, dass die Hypotenuse größer als die jeweiligen Katheten und kleiner als die Summe der Katheten ist, logisch ausgeschlossen werden können.
150 -)))
151 -
152 152  {{info}}
153 -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"]].
105 +Folgendes Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
106 +
107 +* [[Beispiel "Hypotenuse">>doc:Beispiele zum Einsatz von Variablen]]
108 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]]
154 154  {{/info}}
155 155  
156 156  == Einstellung: Anzeige formatieren ==
... ... @@ -157,7 +157,7 @@
157 157  
158 158  Für Variablen vom Typ Gleitkommazahl kann für die Anzeige die **Anzahl der Dezimalstellen** konfiguriert werden. Bitte beachten Sie, dass die Einstellung nur die Anzeige, nicht aber die Rechengenauigkeit und den Lösungsvergleich beeinflusst. Das bedeutet: Wird die Variable für die Berechnung weiterer Variablen genutzt, wird der vollständige, ungerundete Wert zur Berechnung verwendet. Ist die Variable als Lösung für eine Lücke (Berechnungsaufgabe) hinterlegt, wird die konfigurierte Anzahl der Dezimalstellen für die Lösungsanzeige verwendet, nicht aber für den Lösungsvergleich.
159 159  
160 -[[image:attach:onyx-variables-float.png]]
115 +[[image:attach:Editor - Formatierung der Dezimalstellenanzeige_de.png]]
161 161  
162 162  (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
163 163  
... ... @@ -183,13 +183,13 @@
183 183  {{layout}}
184 184  {{layout-section ac:type="two_right_sidebar"}}
185 185  {{layout-cell}}
186 -You can generate integer or fractional variable values. For this purpose, the variable types "**Integer**" and "**Floating Point**" will be available to you.
141 +For integer or fractional variable values, select the type // **Integer** //or // **Floating point** //.
187 187  
188 -[[image:attach:image2017-3-23 8:15:49.png]]
143 +[[image:attach:Editor - Ganzzahlvariable Typauswahl_de.png]]
189 189  
190 190  To alter the value for the numerical variable, different options are available, which will be explained in the following sections, just as the possibility to define the display accuracy of floating-point numbers. If a numerical variable is not assigned a value, the variable will be initialised with 0.
191 191  
192 -[[image:attach:image2017-3-23 8:20:57.png]]
147 +[[image:attach:Editor - Ganzzahlvariable Wertsetzung_de.png]]
193 193  {{/layout-cell}}
194 194  
195 195  {{layout-cell}}
... ... @@ -198,15 +198,23 @@
198 198  
199 199  
200 200  {{toc/}}
156 +{{/panel}}
201 201  
202 -**Related topics**
158 +{{panel title="Application examples"}}
159 +* [[Example "Probability">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
160 +* [[Example "Hypotenuse">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
161 +* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
162 +{{/panel}}
203 203  
204 -* [[Calculation task>>doc:Berechnungsaufgabe]]
205 -* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]]
164 +{{panel title="Related topics"}}
165 +* [[Calculation interaction>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v8.X||shape="rect"]]
166 +* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v8.X||shape="rect"]]
167 +{{/panel}}
206 206  
207 -**Further information**
208 -
209 -* [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]]
169 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}}
170 +* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]]
171 +* [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
172 +* [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
210 210  {{/panel}}
211 211  {{/scroll-ignore}}
212 212  {{/layout-cell}}
... ... @@ -216,13 +216,20 @@
216 216  {{layout-cell}}
217 217  == Range ==
218 218  
219 -For numerical variables, a value range can be defined. The variable value will be randomly determined within the defined value range. Please note that the specified limits are included in the selection. For variables of the type "Integer", the step size (setting steps) can be determined in addition to the limits (setting minimum and maximum).
182 +For numerical variables, a value range can be defined. The variable value will be randomly determined within the defined value range. Please note that the specified limits are included in the selection. For variables of the type //**Integer** //, the step size (setting steps) can be determined in addition to the limits (setting minimum and maximum).
220 220  
221 221  **Possible entries are for example:**
222 222  
223 -* //Range: Minimum=2, maximum=11, steps=3: //The following values are possible {2, 5, 8, 11}. When the variable is used, a value will be randomly selected, for example 2.
224 -\\[[image:attach:image2017-3-22 14:9:57.png]]
186 +* //Range//~:// Minimum=2//,// maximum=11//,// steps=3//: The following values are possible {2, 5, 8, 11}. When the variable is used, a value will be randomly selected, for example 2.
187 +\\[[image:attach:Editor - Bildvariable Wertsetzung Wertebereich_de.png]]
225 225  
189 +{{info}}
190 +The following examples for the use of numerical variables to generate random values show typical application scenarios:
191 +
192 +* [[Example "Probability">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
193 +* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
194 +{{/info}}
195 +
226 226  == Value (direct value assignment) ==
227 227  
228 228  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).
... ... @@ -229,8 +229,8 @@
229 229  
230 230  **Possible entries are for example:**
231 231  
232 -* //Value: 5: //The variable is assigned the value 5.
233 -* //Value: -2.25: //The variable is assigned the value -2.25.
202 +* //Value//~:// 5//~:// //The variable is assigned the value 5.
203 +* //Value//~:// -2.25//~:// //The variable is assigned the value -2.25.
234 234  
235 235  == Random ==
236 236  
... ... @@ -238,90 +238,38 @@
238 238  
239 239  **Possible entries are for example:**
240 240  
241 -* //Random selection: -5; -3; 3; 5: //One of the specified values will be randomly selected, for example 5.
242 -* //Random selection: 0; 12.25; 13.5: //One of the specified values will be randomly selected, for example 12.25.
211 +* //Random selection//~:// -5//;// -3//;// 3//;// 5//~:// //One of the specified values will be randomly selected, for example 5.
212 +* //Random selection//~:// 0//;// 12.25//;// 13.5//: One of the specified values will be randomly selected, for example 12.25.
243 243  
244 -=== **Example "probability"** ===
245 -
246 -As an example, a typical task out of probability theory and statistics will be completed. It is to calculate the probability of certain colour combinations, when different coloured spheres are randomly drawn from an urn.
247 -
248 -|(((
249 -[[image:attach:image2017-3-23 8:54:23.png]]
250 -)))|(((
251 -In the example, the numerical variables {BLUE}, {RED}, and {WHITE} are initialised with an integer value between 3 and 15, i.e. in the value range [3,15].
252 -
253 -Based on these random values, the sum of all spheres is determined ({sum}) as well as the probability of pulling a red sphere ({solution}).
254 -)))
255 -|(((
256 -[[image:attach:image2017-3-23 9:0:32.png]]
257 -)))|(((
258 -The variables are included in the task text by typing the variable names {BLUE}, {RED}, and {WHITE}. In the example, the variables are included in a task of the type [[calculation (cloze)>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]].
259 -
260 -The variables and the solutions ({RED}/{sum} and {solution}) are stored for the respective gaps.
261 -)))
262 -|(((
263 -[[image:attach:image2017-3-23 9:7:8.png]]
264 -)))|(((
265 -For the test run, values within the given value ranges are randomly selected for each participant and each test attempt. In the example, the values {BLUE} = 6, {RED} = red, and {WHITE} = 10 are randomly assigned.
266 -
267 -The solutions are automatically determined for each test run on the basis of the defined values and the calculation rule.
268 -)))
269 -
270 270  == Calculation (MAXIMA) ==
271 271  
272 -The ONYX Testsuite is connected with the [[computer algebra system MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]], which allows you to calculate variable values on the basis of other variables. For this purpose, you need to indicate the calculation rule in MAXIMA notation.
216 +The ONYX Testsuite is connected with the [[computer algebra system MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]], which allows you to calculate variable values on the basis of other variables. To do this, you need to indicate the calculation rule in MAXIMA notation.
273 273  
218 +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"]].
219 +
274 274  **Possible entries are for example:**
275 275  
276 -* //Calculation (MAXIMA): 5+{a}: //The sum of 5 and the variable value {a} is calculated. Please note that the variable {a} must have been previously defined.
277 -* //Calculation (MAXIMA): sqrt({a})/(5+sqrt({b})): //MAXIMA supports mathematical expressions such as sqrt() for square root.
278 -* //Calculation (MAXIMA): 2*sin({a})+log({b}): //Further, it is possible to use trigonometric functions or the logarithm function.
279 -\\[[image:attach:image2017-3-22 14:38:53.png]]
222 +* //Calculation (MAXIMA)//~:// 5+{a}//: The sum of 5 and the variable value {a} is calculated. Please note that the variable {a} must have been previously defined.
223 +* //Calculation (MAXIMA)//~:// sqrt({a})/(5+sqrt({b}))//~:// //MAXIMA supports mathematical expressions such as sqrt() for square root.
224 +* //Calculation (MAXIMA)//~:// 2*sin({a})+log({b})//: Further, it is possible to use trigonometric functions or the logarithm function.
225 +\\[[image:attach:Editor - Bildvariable Wertsetzung Berechnung Maxima_de.png]]
280 280  
281 -=== **Example "hypotenuse"** ===
227 +
282 282  
283 -As an example, a typical task out of geometry will be completed. The understanding of the hypotenuse is to be examined. The solution is supposed to be derivable from the knowledge that the hypotenuse is the longest side of a right triangle. To this end, the participant is given a variety of possible solutions, from which they need to choose the correct solution.
284 -
285 -|(((
286 -[[image:attach:image2017-3-23 15:6:59.png]]
287 -)))|(((
288 -(% class="WordSection1" %)
289 -(((
290 -The first step in the example is the random determination of the catheti ({k1}, {k2}) of the triangle for the definition of the task.
291 -)))
292 -
293 -To solve the task correctly, the value for the hypotenuse ({hyp}) needs to be calculated by means of a MAXIMA equation. In addition, further possible answer options ({a}, {b}, {c}) are computed by MAXIMA.
294 -
295 -For all variables of the type floating point, the display accuracy was set to 2 decimal places.
296 -)))
297 -|(((
298 -[[image:attach:image2017-3-23 14:39:27.png]][[image:attach:image2017-3-23 14:51:31.png]]
299 -)))|(((
300 -In the example, the variables are included in a [[selection task>>url:https://www.bps-system.de/help/display/ONYXintern/.Auswahlaufgabe+v1.11||shape="rect"]]. The variables for the task text are integrated into the task by declaring the variable names {k1} and {k2}. The correct solution ({hyp}) and the alternative answers ({a}, {b}, {c}) are additionally provided in the form of answer options.
301 -)))
302 -|(((
303 -[[image:attach:image2017-3-23 14:56:46.png]]
304 -)))|(((
305 -For the test run, the values of the catheti ({k1}, {k2}) are randomly selected for each participant and each test attempt within the given value ranges.
306 -
307 -In the example, the following random values were displayed for the variables: {k1} = 4, {k2} = 13.
308 -
309 -Based on these values and the defined calculation rules, the hypotenuse and the alternative answer options are calculated, and the following values are displayed in the example task: {a} = 17.00, {hyp} = 13.60, {b} = 8.50, and {c} = 5.39 cm.
310 -
311 -Thus, the correct rounded solution for the hypotenuse in the example is 13.60 cm. The answer options {a}, {b}, and {c} can be logically excluded due to the knowledge that the hypotenuse is larger than the respective catheti and smaller than the sum of the catheti.
312 -)))
313 -
314 314  {{info}}
315 -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"]].
230 +The following examples for the use of numerical variables to generate random values show typical application scenarios:
231 +
232 +* [[Example "Hypotenuse">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
233 +* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]
316 316  {{/info}}
317 317  
318 318  == Setting: Format display ==
319 319  
320 -For variables of the type floating point, the **number of decimal places **can be configured for the display. Please note that this setting only affects the display, not the computational accuracy and the solution comparison. This means: If the variable is used for the calculation of additional variables, the complete unrounded value will be used for the calculation. If the variable is stored as a solution for a gap (calculation task), the configured number of decimal places will be used for the solution display, but not for the solution comparison.
238 +For variables of the type floating point, the **number of decimal places **can be configured for the display. Please note that this setting only affects the display, not the computational accuracy and the solution comparison. This means: If the variable is used for the calculation of additional variables, the complete unrounded value will be used for the calculation. If the variable is stored as a solution for a gap (calculation interaction), the configured number of decimal places will be used for the solution display, but not for the solution comparison.
321 321  
322 322  
323 323  
324 -[[image:attach:onyx-variables-float.png]]
242 +[[image:attach:Editor - Formatierung der Dezimalstellenanzeige_de.png]]
325 325  
326 326  
327 327  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -203849919
1 +234979374
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/203849919/Numerische Variablen
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/234979374/Numerische Variablen