Wiki-Quellcode von Numerische Variablen

Version 424.1 von Carina Enke am 29.01.2019

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5
6
7 {{conditionalcontent 0="Zielgruppe: (BPS)" sv-attr:866DE48701525447C13BC59401CD793F="866DE48701525447C13C469E1E314A59" atlassian-macro-output-type="INLINE"}}{{details}}
8 |=(((
9 Verantwortlicher
10 )))|(((
11
12 )))
13 |=(% colspan="1" %)(% colspan="1" %)
14 (((
15 Status
16 )))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
17 (((
18 {{sv-metadata type="workflow-status"/}}
19
20 {{status colour="Green" title="Fertig"/}}
21 )))
22 |=(% colspan="1" %)(% colspan="1" %)
23 (((
24 Varianten
25 )))|(% colspan="1" %)(% colspan="1" %)
26 (((
27 {{sv-metadata type="variants"/}}
28 )))
29 |=(% colspan="1" %)(% colspan="1" %)
30 (((
31 Attribute
32 )))|(% colspan="1" %)(% colspan="1" %)
33 (((
34 {{sv-metadata type="attributes"/}}
35 )))
36 |=(% colspan="1" %)(% colspan="1" %)
37 (((
38 Pagekey
39 )))|(% colspan="1" %)(% colspan="1" %)
40 (((
41 {{sv-metadata type="pagekey"/}}
42 )))
43 |=(% colspan="1" %)(% colspan="1" %)
44 (((
45 Übersetzung
46 )))|(% colspan="1" %)(% colspan="1" %)
47 (((
48 {{status colour="Green" title="fertig"/}}
49 )))
50 |=(% colspan="1" %)(% colspan="1" %)
51 (((
52 TODOs
53 )))|(% colspan="1" %)(% colspan="1" %)
54 (((
55 (% class="task-list" %)
56 (((
57 {{task reference="/Tasks/Task_1" status="Done"}}
58 carina: MARKETING-143 Versionstypen angepasst
59 Deutsche Bildüberschriften und englische Bilder fehlen noch.
60 carina: Info Update mit 1.11 zum Stand 11.01. Autor Yvonne
61 {{/task}}
62 )))
63 )))
64 {{/details}}{{/conditionalcontent}}
65
66
67 {{/layout-cell}}
68 {{/layout-section}}
69
70 {{layout-section ac:type="two_right_sidebar"}}
71 {{layout-cell}}
72 Sie können ganzzahlige oder gebrochene Variablen-Werte generieren. Hierfür stehen Ihnen die Variablen-Typen "**Ganze Zahl**" und "**Gleitkommazahl**" zur Verfügung.
73
74 [[image:attach:image2017-3-23 8:15:49.png]]
75
76 Nachfolgend werden Ihnen die Möglichkeiten zur Wertsetzung von Numerischen Variablen vorgestellt, sowie die Möglichkeit die Anzeige-Genauigkeit von Gleitkommazahlen zu definieren.
77 Setzen Sie für eine numerische Variable keinen Wert, wird die Variable mit 0 initialisiert.
78
79 [[image:attach:image2017-3-23 8:22:0.png]]
80
81 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
82
83 {{/layout-cell}}
84
85 {{layout-cell}}
86 {{scroll-ignore}}
87 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
88
89
90 {{toc/}}
91 {{/panel}}
92
93 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
94 * [[doc:Berechnungsaufgabe]]
95 * [[doc:Formelvergleich]]
96 {{/panel}}
97
98 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
99 * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]
100 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
101 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
102 {{/panel}}
103 {{/scroll-ignore}}
104 {{/layout-cell}}
105 {{/layout-section}}
106
107 {{layout-section ac:type="single"}}
108 {{layout-cell}}
109 == Wertebereich ==
110
111 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.
112
113 **Mögliche Eingaben sind beispielsweise:**
114
115 * //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.
116
117 [[image:attach:image2017-3-22 14:9:57.png]]
118
119 == Wert (Direkte Wert-Setzung) ==
120
121 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).
122
123 **Mögliche Eingaben sind beispielsweise:**
124
125 * //Wert: 5~:// Die Variable wird auf den Wert 5 gesetzt.
126 * //Wert: -2,25: //Die Variable wird auf den Wert -2,25 gesetzt.
127
128 == Zufällige Auswahl ==
129
130 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.
131
132 **Mögliche Eingaben sind beispielsweise:**
133
134 * //Zufällige Auswahl: -5; -3; 3; 5: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. -5.
135 * //Zufällige Auswahl: 0; 12,25; 13,5~:// Es wird zufällig einer der angegebenen Werte ausgewählt bspw. 12,25.
136
137 === Beispiel "Wahrscheinlichkeit" ===
138
139 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.
140
141 |(((
142 [[image:attach:image2017-3-23 8:54:23.png]]
143 )))|(((
144 Im Beispiel werden die Numerischen Variablen {BLUE}, {RED} und {WHITE} mit einem ganzzahligen Wert zwischen 3 und 15, also im Wertebereich [3,15] initialisiert.
145
146 Auf Basis dieser zufälligen Werte wird die Summe aller Kugeln ermittelt ({summe}) und die Wahrscheinlichkeit für das Ziehen einer roten Kugel ({solution}).
147 )))
148 |(((
149 [[image:attach:image2017-3-23 9:0:32.png]]
150 )))|(((
151 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.
152
153 Die Variablen mit den Lösungen ({RED}/{summe} und {solution}) werden für die jeweiligen Lücken hinterlegt.
154 )))
155 |(((
156 [[image:attach:image2017-3-23 9:7:8.png]]
157 )))|(((
158 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.
159
160 Die Lösungen werden für jeden Testdurchlauf auf Basis der festgelegten Werte und der Berechnungsvorschrift automatisch ermittelt.
161 )))
162
163 == Berechnung (MAXIMA) ==
164
165 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.
166
167 **Mögliche Eingaben sind beispielsweise:**
168
169 * //Berechnung (MAXIMA): 5+{a}: //Es wird die Summe aus 5 und dem Variablenwert {a} berechnet. Die Variable {a} muss zuvor definiert sein.
170 * //Berechnung (MAXIMA): sqrt({a})/(5+sqrt({b}))~:// MAXIMA unterstützt mathematische Ausdrücke wie sqrt() für die Quadratwurzel.
171 * //Berechnung (MAXIMA): 2*sin({a})+log({b}): //Ebenso können trigonometrische Funktionen oder die Logarithmusfunktion genutzt werden.
172
173 [[image:attach:image2017-3-22 14:38:53.png]]
174
175 === Beispiel "Hypotenuse" ===
176
177 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.
178
179 |(((
180 (% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:image2017-3-23 15:6:59.png]]
181
182 )))|(((
183 Im Beispiel werden zunächst die Katheten ({k1}, {k2}) des Dreiecks für die Aufgabenstellung zufällig ermittelt.
184
185 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.
186
187 Für alle Variablen vom Typ Gleitkommazahl wurde die Anzeige zur Genauigkeit auf 2 Dezimalstellen konfiguriert.
188 )))
189 |(((
190 (% 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]]
191 )))|(((
192 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.
193 )))
194 |(((
195 (% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:image2017-3-23 14:56:46.png]]
196 )))|(((
197 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.
198
199 Im Beispiel wurden zufällig folgende Werte für die Variablen angezeigt {k1} = 4, {k2} = 13.
200
201 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.
202
203 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.
204 )))
205
206 {{info}}
207 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"]].
208 {{/info}}
209
210 == Einstellung: Anzeige formatieren ==
211
212 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.
213
214 [[image:attach:onyx-variables-float.png]]
215
216 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
217
218
219 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
220
221
222 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
223
224
225 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
226
227
228 {{info}}
229 Möchten Sie erreichen, dass der Teilnehmer Berechnungsaufgaben nur mit einer bestimmten Genauigkeit lösen muss, verwenden Sie die Einstellung zur Definition eines [[Toleranzbereiches >>url:https://www.bps-system.de/help/display/ONYX/Berechnungsaufgabe#Berechnungsaufgabe-Schritt5%28optional%29:DefinitioneinesToleranzbereiches||shape="rect"]]im Bearbeitungsfenster der Lücke.
230 {{/info}}
231 {{/layout-cell}}
232 {{/layout-section}}
233 {{/layout}}
234 {{/sv-translation}}
235
236 {{sv-translation language="en"}}
237 {{layout}}
238 {{layout-section ac:type="two_right_sidebar"}}
239 {{layout-cell}}
240 You can generate integer or fractional variable values. For this purpose, the variable types "**Integer**" and "**Floating Point**" will be available to you.
241
242 [[image:attach:image2017-3-23 8:15:49.png]]
243
244 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.
245
246 [[image:attach:image2017-3-23 8:20:57.png]]
247 {{/layout-cell}}
248
249 {{layout-cell}}
250 {{scroll-ignore}}
251 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}}
252
253
254 {{toc/}}
255
256 **Related topics**
257
258 * [[Calculation task>>doc:Berechnungsaufgabe]]
259 * [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]]
260
261 **Further information**
262
263 * [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]]
264 {{/panel}}
265 {{/scroll-ignore}}
266 {{/layout-cell}}
267 {{/layout-section}}
268
269 {{layout-section ac:type="single"}}
270 {{layout-cell}}
271 == Range ==
272
273 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).
274
275 **Possible entries are for example:**
276
277 * //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.
278 \\[[image:attach:image2017-3-22 14:9:57.png]]
279
280 == Value (direct value assignment) ==
281
282 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).
283
284 **Possible entries are for example:**
285
286 * //Value: 5: //The variable is assigned the value 5.
287 * //Value: -2.25: //The variable is assigned the value -2.25.
288
289 == Random ==
290
291 Define a value list from which a value is randomly selected. The alternative values are separated by a line break or semicolon.
292
293 **Possible entries are for example:**
294
295 * //Random selection: -5; -3; 3; 5: //One of the specified values will be randomly selected, for example 5.
296 * //Random selection: 0; 12.25; 13.5: //One of the specified values will be randomly selected, for example 12.25.
297
298 === **Example "probability"** ===
299
300 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.
301
302 |(((
303 [[image:attach:image2017-3-23 8:54:23.png]]
304 )))|(((
305 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].
306
307 Based on these random values, the sum of all spheres is determined ({sum}) as well as the probability of pulling a red sphere ({solution}).
308 )))
309 |(((
310 [[image:attach:image2017-3-23 9:0:32.png]]
311 )))|(((
312 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"]].
313
314 The variables and the solutions ({RED}/{sum} and {solution}) are stored for the respective gaps.
315 )))
316 |(((
317 [[image:attach:image2017-3-23 9:7:8.png]]
318 )))|(((
319 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.
320
321 The solutions are automatically determined for each test run on the basis of the defined values and the calculation rule.
322 )))
323
324 == Calculation (MAXIMA) ==
325
326 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.
327
328 **Possible entries are for example:**
329
330 * //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.
331 * //Calculation (MAXIMA): sqrt({a})/(5+sqrt({b})): //MAXIMA supports mathematical expressions such as sqrt() for square root.
332 * //Calculation (MAXIMA): 2*sin({a})+log({b}): //Further, it is possible to use trigonometric functions or the logarithm function.
333 \\[[image:attach:image2017-3-22 14:38:53.png]]
334
335 === **Example "hypotenuse"** ===
336
337 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.
338
339 |(((
340 [[image:attach:image2017-3-23 15:6:59.png]]
341 )))|(((
342 (% class="WordSection1" %)
343 (((
344 The first step in the example is the random determination of the catheti ({k1}, {k2}) of the triangle for the definition of the task.
345 )))
346
347 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.
348
349 For all variables of the type floating point, the display accuracy was set to 2 decimal places.
350 )))
351 |(((
352 [[image:attach:image2017-3-23 14:39:27.png]][[image:attach:image2017-3-23 14:51:31.png]]
353 )))|(((
354 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.
355 )))
356 |(((
357 [[image:attach:image2017-3-23 14:56:46.png]]
358 )))|(((
359 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.
360
361 In the example, the following random values were displayed for the variables: {k1} = 4, {k2} = 13.
362
363 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.
364
365 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.
366 )))
367
368 {{info}}
369 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"]].
370 {{/info}}
371
372 == Setting: Format display ==
373
374 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.
375
376
377
378 [[image:attach:onyx-variables-float.png]]
379
380
381
382
383
384 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
385
386
387 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
388
389
390 {{info}}
391 If you want the participant to solve calculation tasks with a certain precision, use the setting for defining a [[tolerance range>>url:https://www.bps-system.de/help/display/ONYX/Berechnungsaufgabe#Berechnungsaufgabe-Schritt5(optional):DefinitioneinesToleranzbereiches||shape="rect"]] in the edit window of the gap.
392 {{/info}}
393 {{/layout-cell}}
394 {{/layout-section}}
395 {{/layout}}
396 {{/sv-translation}}