摘要 |
PROBLEM TO BE SOLVED: To provide a program capable of optimizing processing efficiency and allowing a computer to calculate the values of variables, irrespective of the sequence of description or the sequence of execution of calculation expressions. SOLUTION: An assumed value is set for an unknown variable (step S1). Each time an assumptive value is set for the unknown variable, the solutions of the respective calculation expressions are calculated, based on predetermined values of known variables and on the assumptive value set for the unknown variable (step S3). The solution calculated, based on each of the plurality of calculation expressions, is set as a new assumptive value for the unknown variable to be calculated by the calculation expression (step S4). Each time such an assumed value is set as unknown variable, identify is determined between assumptive values for the unknown variable before and after the setting (step S5). When the assumed values for the unknown variable, before and after the setting, are determined as being the same, the assumed value set for the unknown variable is outputted as the result 3 of the calculation (step S6).
|