Assigning a Value to a Variable in the Calculator
- Updated2024-09-12
- 1 minute(s) read
Mathematics > Assigning a Value to a Variable in the Calculator
Assigning a Value to a Variable in the Calculator
Use the Calculator to assign values to scalar variables or to single elements in vector variables. To assign a value to a variable in the Calculator dialog box, complete the following steps:
Select the DIAdem ANALYSIS panel.
-
Click the Calculator.
Enter the assignment in the Formula entry field.
-
You can assign a value to a scalar variable, for example:
L1 = 34
-
You can assign a formula result to a scalar variable, for example:
R1 = Sin(Pi/2)
-
You can assign a formula result to an element of a vector variable, for example:
RV1(1) = Sin(Pi/2)
-
Click Calculate after each entry. The Calculator dialog box displays the contents of the variable in the Result bar.