Changes for page ONYX und MAXIMA

Last modified by Carina Enke on 12.12.2025

From version 5.1
edited by Anna Paul-Hasenfuss
on 30.06.2024
Change comment: There is no comment for this version
To version 6.1
edited by Carina Enke
on 15.11.2025
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.anna
1 +XWiki.carina
Content
... ... @@ -1,59 +4,45 @@
1 -{{layout}}
2 -{{layout-section ac:type="two_right_sidebar"}}
3 -{{layout-cell}}
4 4  To perform more complex calculations and to fulfill specific requirements, the computer algebra system MAXIMA, which is linked to ONYX, can be used. The [[Netzwerk Mathematik>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/88308307976325||shape="rect"]] has gathered a number of [[Good-Practice-Examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/||shape="rect"]]. This collection of typical applications, tricks and pitfalls will help you understand how to use the MAXIMA connection in ONYX. Please find below a selection of topics that are described in detail.
5 -{{/layout-cell}}
2 +~{~{/layout-cell}}
6 6  
7 -{{layout-cell}}
4 +{{section}}
5 +{{column width="60%"}}
6 +
7 +{{/column}}
8 +
9 +{{column width="30%"}}
8 8  {{panel title="Content"}}
9 9  {{toc start="2"/}}
12 +{{/panel}}
10 10  
11 -**Related Topics**
12 -
14 +{{panel title="Related Topics"}}
13 13  * [[Good-Practice-Examples Maxima/ONYX in Netzwerk Mathematik>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
14 14  {{/panel}}
15 15  
18 +{{panel title="Further information"}}
19 +*
20 +{{/panel}}
16 16  
22 +{{panel title="Best practice"}}
23 +*
24 +{{/panel}}
25 +{{/column}}
26 +{{/section}}
17 17  
18 -
19 -{{/layout-cell}}
20 -{{/layout-section}}
21 21  
22 -{{layout-section ac:type="single"}}
23 -{{layout-cell}}
24 24  == Calculating with signed variables ==
25 25  
26 26  {{display reference="ONYX._Include Library.MAXIMA Sammlung.Rechnen mit vorzeichenbehafteten Variablen"/}}
27 27  
28 -
29 -{{/layout-cell}}
30 -{{/layout-section}}
31 31  
32 -{{layout-section ac:type="single"}}
33 -{{layout-cell}}
34 34  == Analysing user responses with the help of variables ==
35 35  
36 36  By using maxima queries in the Variables tab, you can access the answer selected by the user and the correct task solution. More details can be found here [[Expert assessment>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Bewertung festlegen.Expertenbewertung.WebHome]].
37 -{{/layout-cell}}
38 -{{/layout-section}}
39 39  
40 -{{layout-section ac:type="single"}}
41 -{{layout-cell}}
42 -
43 -{{/layout-cell}}
44 -{{/layout-section}}
45 -
46 -{{layout-section ac:type="single"}}
47 -{{layout-cell}}
48 48  (% id="HAutomatischeErgE4nzungungFCltigerMAXIMA-Terme" title="Klicken Sie zum Bearbeiten" class="editable-field inactive" %)
49 49  == Auto-completion of invalid MAXIMA terms ==
50 50  
51 51  If during the creation or editing process of a variable the user enters a non-valid MAXIMA expression in the field for determining the value, ONYX converts the expression into a valid expression before transferring it to MAXIMA.
52 -{{/layout-cell}}
53 -{{/layout-section}}
54 54  
55 -{{layout-section ac:type="single"}}
56 -{{layout-cell}}
57 57  === Value of a numerical variable ===
58 58  
59 59  When determining a numerical (variable) value, the "invalid" calculation defined by the author is completed with a** float command**: float(...);.
... ... @@ -65,53 +65,25 @@
65 65  * If the value of a variable type "Integer" is set by the calculation "1+2", the result value of the MAXIMA calculation is "3.0", the variable value is set accordingly to "3" as an integer value.
66 66  * Consider possible limits of the value range in the selected data type. If you wish to use the extended data range of integer values, the MAXIMA calculation should be formulated accordingly with a valid expression, for example "2^53+1;".
67 67  * Exception: Should the "invalid" calculation begin with a float command already, then only the addition of a semicolon is required to complete "invalid" calculations of text-based values.
68 -{{/layout-cell}}
69 -{{/layout-section}}
70 70  
71 -{{layout-section ac:type="single"}}
72 -{{layout-cell}}
73 -
74 -{{/layout-cell}}
75 -{{/layout-section}}
76 -
77 -{{layout-section ac:type="three_equal"}}
78 -{{layout-cell}}
55 +{{section}}
56 +{{column width="30%"}}
79 79  [[image:attach:Editor - Variable Maxima_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
80 -{{/layout-cell}}
81 -
82 -{{layout-cell}}
83 -[[image:attach:Editor - Variable Maxima1_IMS_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
84 -{{/layout-cell}}
85 -
86 -{{layout-cell}}
87 -[[image:attach:Player - Variable Maxima1_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
88 -{{/layout-cell}}
89 -{{/layout-section}}
90 -
91 -{{layout-section ac:type="three_equal"}}
92 -{{layout-cell}}
93 -(% style="text-align: center;" %)
94 94  Entry in the text field
95 -{{/layout-cell}}
59 +{{/column}}
96 96  
97 -{{layout-cell}}
98 -(% style="text-align: center;" %)
61 +{{column width="30%"}}
62 +[[image:attach:Editor - Variable Maxima1_IMS_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
99 99  IMS QTI source code view
100 -{{/layout-cell}}
64 +{{/column}}
101 101  
102 -{{layout-cell}}
66 +{{column width="30%"}}
67 +[[image:attach:Player - Variable Maxima1_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
103 103  Preview display with output of the maxima calculation
104 -{{/layout-cell}}
105 -{{/layout-section}}
69 +{{/column}}
70 +{{/section}}
106 106  
107 -{{layout-section ac:type="single"}}
108 -{{layout-cell}}
109 -
110 -{{/layout-cell}}
111 -{{/layout-section}}
112 112  
113 -{{layout-section ac:type="single"}}
114 -{{layout-cell}}
115 115  === Value of a text variable ===
116 116  
117 117  When determining a text-based (variable) value, the "invalid" calculation defined by the author is completed with a semicolon.
... ... @@ -121,86 +121,39 @@
121 121  * The entry "a" is changed to the MAXIMA command "a;".
122 122  * The data type of the variable is taken into account for the result regardless of the MAXIMA calculation performed.
123 123  * If the value of the variable is set to the type "Text", the result value of the MAXIMA calculation is "a" and the variable value is accordingly set to "a".
124 -{{/layout-cell}}
125 -{{/layout-section}}
126 126  
127 -{{layout-section ac:type="single"}}
128 -{{layout-cell}}
129 -
130 -{{/layout-cell}}
131 -{{/layout-section}}
132 -
133 -{{layout-section ac:type="three_equal"}}
134 -{{layout-cell}}
83 +{{section}}
84 +{{column width="30%"}}
135 135  [[image:attach:Editor - Variable Maxima3_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
136 -{{/layout-cell}}
137 -
138 -{{layout-cell}}
139 -[[image:attach:Editor - Variable Maxima3_IMS_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
140 -{{/layout-cell}}
141 -
142 -{{layout-cell}}
143 -[[image:attach:Player - Variable Maxima3_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
144 -{{/layout-cell}}
145 -{{/layout-section}}
146 -
147 -{{layout-section ac:type="three_equal"}}
148 -{{layout-cell}}
149 -(% style="text-align: center;" %)
150 150  Entry in the text field
151 -{{/layout-cell}}
87 +{{/column}}
152 152  
153 -{{layout-cell}}
154 -(% style="text-align: center;" %)
89 +{{column width="30%"}}
90 +[[image:attach:Editor - Variable Maxima3_IMS_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
155 155  IMS QTI source code view
156 -{{/layout-cell}}
92 +{{/column}}
157 157  
158 -{{layout-cell}}
159 -(% style="text-align: center;" %)
94 +{{column width="30%"}}
95 +[[image:attach:Player - Variable Maxima3_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
160 160  Preview display with output of the maxima calculation
161 -{{/layout-cell}}
162 -{{/layout-section}}
97 +{{/column}}
98 +{{/section}}
163 163  
164 -{{layout-section ac:type="single"}}
165 -{{layout-cell}}
166 -
167 -{{/layout-cell}}
168 -{{/layout-section}}
169 -
170 -{{layout-section ac:type="single"}}
171 -{{layout-cell}}
172 172  * If you require the output of a term instead of the calculation value, the entry must be enclosed by an apostrophe. For example, if the value of the variable is specified as "1+2", the result value of the MAXIMA calculation is "1+2" and the variable value is set to "1+2" accordingly.
173 -{{/layout-cell}}
174 -{{/layout-section}}
175 175  
176 -{{layout-section ac:type="three_equal"}}
177 -{{layout-cell}}
102 +{{section}}
103 +{{column width="30%"}}
178 178  [[image:attach:Editor - Variable Maxima2_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
179 -{{/layout-cell}}
180 -
181 -{{layout-cell}}
182 -[[image:attach:Editor - Variable Maxima2_IMS_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
183 -{{/layout-cell}}
184 -
185 -{{layout-cell}}
186 -[[image:attach:Player - Variable Maxima2_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
187 -{{/layout-cell}}
188 -{{/layout-section}}
189 -
190 -{{layout-section ac:type="three_equal"}}
191 -{{layout-cell}}
192 -(% style="text-align: center;" %)
193 193  Entry in the text field
194 -{{/layout-cell}}
106 +{{/column}}
195 195  
196 -{{layout-cell}}
197 -(% style="text-align: center;" %)
108 +{{column width="30%"}}
109 +[[image:attach:Editor - Variable Maxima2_IMS_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
198 198  IMS QTI source code view
199 -{{/layout-cell}}
111 +{{/column}}
200 200  
201 -{{layout-cell}}
202 -(% style="text-align: center;" %)
113 +{{column width="30%"}}
114 +[[image:attach:Player - Variable Maxima2_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
203 203  Preview display with output of the maxima calculation
204 -{{/layout-cell}}
205 -{{/layout-section}}
206 -{{/layout}}
116 +{{/column}}
117 +{{/section}}