Wiki-Quellcode von Text Variables

Version 464.1 von Carina Enke am 19.12.2023

Zeige letzte Bearbeiter
1
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5 \\
6 {{/layout-cell}}
7 {{/layout-section}}
8
9 {{layout-section ac:type="two_right_sidebar"}}
10 {{layout-cell}}
11 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung.
12
13 [[image:attach:Editor - Textvariable Typauswahl_de.png]]
14
15 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt.
16
17 [[image:attach:Editor - Textvariable Wertsetzung_de.png]]
18
19 \\
20
21 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
22
23 {{/layout-cell}}
24
25 {{layout-cell}}
26
27 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
28
29
30 {{toc/}}
31 {{/panel}}
32
33 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
34 * [[doc:Berechnungsaufgabe]]
35 * [[doc:Formelvergleich]]
36 {{/panel}}
37
38 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
39 * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]]
40 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
41 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
42 {{/panel}}
43
44 {{/layout-cell}}
45 {{/layout-section}}
46
47 {{layout-section ac:type="single"}}
48 {{layout-cell}}
49 == Zufällige Auswahl ==
50
51 Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt.
52 Wenn im Auswahlwert ein Komma enthalten ist, setzen Sie dieses bitte mit einem Backslash vor dem Komma um. //(Beispiel: "Die Bedingung\, dass ...")//
53
54 **Mögliche Eingaben sind beispielsweise:**
55
56 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad".
57 \\
58
59 {{info}}
60 Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
61
62 * [[Beispiel "Digging a hole">>doc:Beispiele zum Einsatz von Variablen]]
63 * [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]]
64 {{/info}}
65
66 == Direkte Wert-Setzung ==
67
68 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).
69
70 **Mögliche Eingaben sind beispielsweise:**
71
72 * //Wert: Hans: //Die Variable wird auf den Wert "Hans" gesetzt.
73 * //Wert: Die Funktion ist monoton wachsend: //Die Variable wird auf den Wert "Die Funktion ist monoton wachsend" gesetzt.
74
75 == Berechnung (MAXIMA) ==
76
77 [[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.
78
79 {{info}}
80 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"]].
81 {{/info}}
82
83 **Mögliche Eingaben sind beispielsweise:**
84
85 * //Berechnung (MAXIMA): string({a}*x+5): //Es wird eine einfache Funktionsgleichung durch Einsatz des Variablenwertes {a} berechnet. Die Variable {a} muss zuvor definiert sein.
86 * //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.
87 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten.
88
89 [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]]
90 {{/layout-cell}}
91 {{/layout-section}}
92 {{/layout}}
93
94
95
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
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
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}}