CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the priority and benefits of Japanese Patent Application No. 2023-180674, filed on Oct. 20, 2023. The specification, claims, and drawings of Japanese Patent Application No. 2023-180674 are incorporated herein by reference in their entirety.
TECHNICAL FIELD
The present disclosure relates to a computing device, an information processing method, and a storage medium.
DESCRIPTION OF RELATED ART
There has been disclosed a scientific calculator having a graph analysis function in which a characteristic point of a drawn graph such as a maximum, a minimum, a root, a y-intercept, an integral value, an inflection point, or an intersection point is derived from a functional expression (see, for example, JP 2005-070880A).
BRIEF DESCRIPTION OF DRAWINGS
In the drawings: FIG. 1 is a perspective view of the appearance of a scientific calculator;
FIG. 2 is a block diagram of the functional configuration of the scientific calculator;
FIG. 3 illustrates an example of the content of a variable list table;
FIG. 4 is a flowchart illustrating the control procedure of graph analysis process for “y-Cal”;
FIG. 5 illustrates an example of a graph display screen;
FIG. 6 illustrates an example of a tool menu screen;
FIG. 7 illustrates an example of an analysis menu screen;
FIG. 8 illustrates an example of a variable x input screen;
FIG. 9 illustrates an example of the variable x input screen;
FIG. 10 illustrates an example of the graph display screen;
FIG. 11 illustrates an example of a variable list screen;
FIG. 12 is a flowchart illustrating the control procedure of graph analysis process for “x-Cal”;
FIG. 13 illustrates an example of a variable y input screen;
FIG. 14 illustrates an example of the variable y input screen;
FIG. 15 illustrates an example of the graph display screen; and
FIG. 16 illustrates an example of the variable list screen.
DETAILED DESCRIPTION
Hereinafter, one or more embodiments according to the present disclosure will be described with reference to the drawings. FIG. 1 is a perspective view of the appearance of a scientific calculator 1 as an example of a computing device according to the present disclosure. As shown in FIG. 1, the scientific calculator 1 includes an input key group 2 having various key groups, and a display 10.
The input key group 2 is a group of keys for receiving an input of a component of a mathematical expression such as a numerical value or a calculation symbol from a user or receiving an instruction of various processes. The input key group 2 includes a plurality of keys each assigned a unique function. In the present embodiment, the input key group 2 includes, for example, a home key 21, an OK key 22, cursor keys 23 for each of up, down, left, and right directions, a tool key 24, a variable key 25, a numeric keypad 26, and the like.
The display 10 includes, for example, a liquid crystal display (LCD) or the like, and displays various data such as a character, a symbol, a sign, a mathematical expression, a calculation result, d a graph according to an operation on the input key group 2.
Next, the functional configuration of the scientific calculator 1 will be described. As shown in FIG. 2, the scientific calculator 1 includes a central processing unit (CPU) 11, a random-access memory (RAM) 12, a display driver 13, an operation unit 14, a storage 15, and a power supplier 16.
The CPU 11 is a processor that controls behavior of each unit of the scientific calculator 1 by reading and executing a program 151 stored in the storage 15 and performing various arithmetic processing. The CPU 11 functions as a controller (processor) of the present disclosure. In FIG. 2, a single CPU 11 is shown, but the present disclosure is not limited thereto. Two or more processors such as CPUs may be provided, and the processing executed by the CPU 11 according to the present embodiment may be shared among the two or more processors to execute.
The RAM 12 provides a working memory space for the CPU 11 and stores temporary data. The display driver 13 performs drive control to display various kinds of information on the display 10 described above under the control of the CPU 11. The operation unit 14 includes the input key group 2 described above, and outputs an operation signal corresponding to a key operation by the user to the CPU 11. The storage 15 is a memory such as a flash memory. The storage 15 stores the program 151 executed by the CPU 11, various setting data, and the like. The program 151 is stored in the storage 15 in the form of a computer-readable program code. The storage 15 also stores a variable list table 152.
As shown in FIG. 3, the variable list table 152 is a table for storing values of nine preset variables (A, B, C, D, E, F, x, y, and z). The value of each variable is stored in the variable list table 152 under the control of the CPU 11. Specifically, the variable list table 152 can store a user-specified value in association with a user-specified variable name among a plurality of variable names (A, B, C, D, E, F, x, y, and z) included in the variable list table 152. When various functions that require an input value are executed, the value of each variable stored in the variable list table 152 can be input (utilized) as the input value by specifying a desired variable name (for example, “x”), thereby allowing the value stored in association with the desired variable name (for example, “0.66666666”) to be input (utilized). That is, the CPU 11 can execute a universal-purpose variable utilization function in which the value of a variable name specified by the user among the plurality of variable names included in the variable list table 152 is input as an input value required for a function specified by the user. In the present embodiment, when the variable key 25 (see FIG. 1) is pressed, a variable list screen displaying a list of the values of the nine variables stored in the variable list table 152 is displayed on the display 10. Examples of the variable list screen include a variable list screen G5 (see FIG. 11) and a variable list screen G7 (see FIG. 16). In this embodiment, the stored content of the variable list table 152 is retained even after the user has finished executing the specified function or turned off the power, and thus can be used at any time by a function requiring an input value.
Returning to FIG. 2, the power supplier 16 includes a battery or the like, and supplies power to each unit of the scientific calculator 1.
Next, operations of the scientific calculator 1 will be explained. Specifically, with reference to FIG. 4, an operation in which the CPU 11 of the scientific calculator 1 analyzes a y-coordinate value with respect to a desired x-coordinate value of a graph G11 (for example, y=sin (x)) displayed on a graph display screen G1 (see FIG. 5) will be described. Hereinafter, analyzing the y-coordinate value with respect to the desired x-coordinate value of the graph G11 is referred to as “y-Cal”. In order to achieve the above operation, the CPU 11 executes a graph analysis process for “y-Cal” shown in FIG. 4. The graph analysis process can be executed when a graph application among a plurality of applications included in the scientific calculator 1 is activated.
As shown in FIG. 4, it is assumed that the CPU 11 of the scientific calculator 1 displays the graph display screen G1 (see FIG. 5) on the display 10 before executing the graph analysis process for “y-Cal”. The graph G11 on the graph display screen G1 is generated based on a calculation formula (e.g., y=sin (x)) specified by an operation of the input key group 2. Here, it is assumed for two variables of “x” as the first variable and “y” as the second variable in the calculation formula that one variable is dependent on the other, and vice versa.
As shown in FIG. 4, when the graph analysis process for “y-Cal” is started, the CPU 11 first determines whether the tool key 24 (see FIG. 1) has been operated (step S101). In step S101, if it is determined that the tool key 24 has not been operated (step S101; NO), the CPU 11 repeatedly performs the determination process of step S101 until the tool key 24 is operated. In step S101, if it is determined that the tool key 24 has been operated (step S101; YES), the CPU 11 displays the tool menu screen G2 on the display 10 (step S102).
As shown in FIG. 6, the tool menu screen G2 displays menu items specific to the graph application such as a “View Window” G21, a″ Graph Solve “G22, a “Trace” G23, and a″ Zoom” G24 as a tool menu in a selectable manner. The “View Window” G21 is for setting the graph G11 displayed on the graph display screen G1. The “Graph Solve” G22 is for performing various analyses related to the graph G11. The “Trace” G23 is for reading coordinate values on the graph G11. The “Zoom” G24 is for enlarging and reducing the graph G11.
Returning to FIG. 4, the CPU 11 then determines whether the “Graph Solve” G22 has been selected on the tool menu screen G2 (step S103). In step S103, if it is determined that the “Graph Solve” G22 has not been selected (step S103; NO), the CPU 11 repeatedly performs the determination process of step S103 until the “Graph Solve” G22 is selected. In step S103, if it is determined that the “Graph Solve” G22 has been selected (step S103; YES), the CPU 11 displays the analysis menu screen G3 on the display 10 (step S104).
As shown in FIG. 7, the analysis menu screen G3 displays items such as an “Intersection” G31, a “y-Intercept” G32, a “y-Cal” G33, and a “x-Cal” G34 as an analysis menu in a selectable manner. The “Intersection” G31 is for analyzing an intersection of two graphs (not shown) displayed on the graph display screen G1. The “y-Intercept” G32 (fourth condition) is for analyzing a y-axis intercept of the graph G11 displayed on the graph display screen G1. The “y-Cal” G33 (sixth condition) is for analyzing a y-coordinate value with respect to an x-coordinate value of the graph G11. The “x-Cal” G34 (seventh condition) is for analyzing an x-coordinate value with respect to a y-coordinate value of the graph G11. In the present embodiment, in addition to the above four items, the following items are set as menu items in the analysis menu: a “ROOT” (first condition) for analyzing a root of the graph G11; a “Maximum Value” (second condition) for analyzing a maximum value of the graph G11; and a “Minimum Value” (third condition) for analyzing a minimum value of the graph G11. That is, in the present embodiment, a graph analysis function of the scientific calculator 1 can perform analysis on the seven items of “ROOT”, “Maximum Value”, “Minimum Value”, “Intersection”, “y-Intercept”, “y-Cal”, and “x-Cal”.
Returning to FIG. 4, the CPU 11 then determines whether the “y-Cal” G33 has been selected on the analysis menu screen G3 (step S105). In step S105, if it is determined that the “y-Cal” G33 has not been selected (step S105; NO), the CPU 11 repeatedly performs the determination process of step S105 until the “y-Cal” G33 is selected. In step S105, if it is determined that the “y-Cal” G33 has been selected (step S105; YES), the CPU 11 displays a variable x input screen G4 on the display 10 (step S106).
As shown in FIG. 8, the variable x input screen G4 includes a value input region G41 for inputting a value of the variable x, and a “Draw Graph” G42. In the value input region G41, a fraction can be input besides an integer or a decimal. In addition, in the value input region G41, the variable names (A, B, C, D, E, F, x, y, and z) of the variables that can store values in the variable list table 152 can be input. In the example of FIG. 8, “⅔”, which is a fraction, is input in the value input region G41. However, when a fraction or a variable name is input in the value input region G41, it is necessary to convert the value into an integer or a decimal by operating the OK key 22 (see FIG. 1). When an integer or a decimal is not input in the value input region G41, that is, when the value input region G41 is left blank or when a fraction or a variable name is input in the value input region G41, a symbol (a symbol with a horizontal bar surrounded by a circle) indicating restriction of the analysis of “y-Cal” is attached to the head of the “Draw Graph” G42, and the “Draw Graph” G42 is displayed in a gray-out state, making it impossible to execute the analysis of “y-Cal”.
FIG. 9 illustrates an example of the variable x input screen G4 when “⅔” input in the value input region G41 is converted to a decimal. As shown in FIG. 9, on the variable x input screen G4, when “⅔” input in the value input region G41 is converted to “0.66666666”, which is a decimal, a symbol (a symbol with a right-pointing triangle surrounded by a circle) indicating that the analysis of “y-Cal” is possible is attached to the head of the “Draw Graph” G42, and the “Draw Graph” G42 is highlighted, making it possible to execute the analysis of “y-Cal”.
Returning to FIG. 4, the CPU 11 then determines whether an input related to the variable x has been made in the value input region G41 on the variable x input screen G4 (step S107). In step S107, if it is determined that no input related to the variable x has been made in the value input region G41 on the variable x input screen G4 (step S107; NO), the CPU 11 repeatedly performs the determination process of step S107 until an input related to the variable x is made. In step S107, if it is determined that an input related to the variable x has been made (step S107; YES), the CPU 11 determines whether the input is an integer or a decimal (step S108).
In step S108, if it is determined that the input is an integer or a decimal (step S108; YES), the CPU 11 advances the process to step S113. In step S108, if it is determined that the input is not an integer or a decimal (step S108; NO), the CPU 11 determines whether the input is a predetermined variable name (step S109). Here, the predetermined variable name means one of the variable names (A to F, x, y, and z) of the nine variables set in the variable list table 152.
In step S109, if it is determined that the input is not the predetermined variable name (step S109; NO), the CPU 11 returns the process to step S107 and performs the subsequent process. Here, for example, the input is a fraction as described above is a case where it is determined that the input is not the predetermined variable name. In step S109, if it is determined that the input is the predetermined variable name (step S109; YES), the CPU 11 determines whether the OK key 22 (see FIG. 1) has been operated (step S110).
In step S110, if it is determined that the OK key 22 has not been operated (step S110; NO), the CPU 11 returns the process to step S107 and performs the subsequent process. In step S110, if it is determined that the OK key 22 has been operated (step S110; YES), the CPU 11 acquires the value corresponding to the input variable name from the variable list table 152 (see FIG. 3) (step S111).
Next, the CPU 11 converts the variable name input in the value input region G41 on the variable x input screen G4 into the value acquired in step S111 and displays the value (step S112). Then, the CPU 11 advances the process to step S113 and determines whether the OK key 22 has been operated (step S113). In step S113, if it is determined that the OK key 22 has not been operated (step S113; NO), the CPU 11 returns the process to step S107 and performs the subsequent process.
In step S113, if it is determined that the OK key 22 has been operated (step S113; YES), the CPU 11 derives a y-coordinate value (analysis value) of the graph G11 (see FIG. 5) with respect to the value of the variable x (x-coordinate value) input in the value input region G41 on the variable x input screen G4 (step S114). Here, the CPU 11 executes the graph analysis function in which the analysis value is derived by analyzing, based on the specified condition (“y-Cal” (sixth condition)), the graph G11 expressed in the coordinate system (xy coordinates) corresponding to the specified calculation formula (y=sin (x)). The analysis value also includes the value (x-coordinate value) of the variable x input in the value input region G41 on the variable x input screen G4.
Next, as shown in FIG. 10, the CPU 11 displays the graph display screen G1 on the display 10, where the graph G11 is displayed again, and displays xy coordinate values G12 (x=0.66666666, y=0.01163526) as the analysis results of “y-Cal” on the graph display screen G1. The CPU 11 also stores the value “0.66666666” of the variable x and the value “0.01163526” of the variable y in the variable list table 152 (step S115). Here, the CPU 11 executes an analysis value storing function in which the analysis values (xy coordinate values (variable solutions)) derived by the graph analysis function are stored as the value of the variable x and the value of the variable y in the variable list table 152. In the analysis value storing function, the CPU 11 stores the analysis values in association with the variable names (variable x and variable y) handled in the graph analysis function among the plurality of variable names included in the variable list table 152 without the user performing an operation of specifying the variable names. In other words, in the analysis value storing function, after the analysis values are derived by the graph analysis function, the CPU 11 stores the analysis values in association with the variable names (variable x and variable y) of the variables included in the calculation formula (y=sin (x)) or the variable names in the variable list table 152 corresponding to the variable names indicating the coordinate axes (x-axis and y-axis) of the graph G11, without the user performing an operation of instructing to store the analysis values or an operation of specifying the variable names in which the analysis values are stored. In step S115, the coordinate position corresponding to the xy coordinate values (x=0.66666666, y=0.01163526) on the graph display screen G1 is plotted by a cross symbol G13, and information G14 (for example, text information of “y-Cal”) indicating that the graph analysis process for “y-Cal” has been performed is displayed. After executing the process of step S115, the CPU 11 ends the graph analysis process for “y-Cal”. After the graph analysis process is completed, when the variable key 25 (see FIG. 1) is pressed, the variable list screen G5 is displayed on the display 10, as shown in FIG. 11. This makes it possible to confirm that the xy coordinate values (analysis values), which are the analysis results of “y-Cal,” are stored in the variable list table 152.
Next, with reference to FIG. 12, an operation in which the CPU 11 of the scientific calculator 1 analyzes a x-coordinate value with respect to a desired y-coordinate value of the graph G11 (for example, y=sin (x)) displayed on the graph display screen G1 (see FIG. 10) will be described. Hereinafter, analyzing the x-coordinate value with respect to the desired y-coordinate value of the graph G11 is referred to as “x-Cal”. In order to realize the above operation, the CPU 11 executes a graph analysis process for “x-Cal” shown in FIG. 12. The graph analysis process can be executed when a graph application among a plurality of applications included in the scientific calculator 1 is activated.
As shown in FIG. 12, it is assumed that the CPU 11 of the scientific calculator 1 displays the graph display screen G1 (see FIG. 10) on the display 10 before executing the graph analysis process for “x-Cal”. In the following description, it is assumed that the graph analysis process for “y-Cal” described above has been executed in advance, and the value “0.66666666” of the variable x and the value “0.01163526” of the variable y, which are the analysis results of “y-Cal”, are stored in the variable list table 152 (see FIG. 3).
As shown in FIG. 12, when the graph analysis process for “x-Cal” is started, the CPU 11 first determines whether the tool key 24 (see FIG. 1) has been operated (step S201). In step S201, if it is determined that the tool key 24 has not been operated (step S201; NO), the CPU 11 repeatedly performs the determination process of step S201 until the tool key 24 is operated. In step S201, if it is determined that the tool key 24 has been operated (step S201; YES), the CPU 11 displays the tool menu screen G2 (see FIG. 6) on the display 10 (step S202).
The CPU 11 then determines whether the “Graph Solve” G22 has been selected on the tool menu screen G2 (step S203). In step S203, if it is determined that the “Graph Solve” G22 has not been selected (step S203; NO), the CPU 11 repeatedly performs the determination process of step S203 until the “Graph Solve” G22 is selected. In step S203, if it is determined that the “Graph Solve” G22 has been selected (step S203; YES), the CPU 11 displays the analysis menu screen G3 (see FIG. 7) on the display 10 (step S204).
The CPU 11 then determines whether the “x-Cal” G34 has been selected on the analysis menu screen G3 (step S205). In step S205, if it is determined that the “x-Cal” G34 has not been selected (step S205; NO), the CPU 11 repeatedly performs the determination process of step S205 until the “x-Cal” G34 is selected. In step S205, if it is determined that the “x-Cal” G34 has been selected (step S205; YES), the CPU 11 displays a variable y input screen G6 on the display 10 (step S206).
As shown in FIG. 13, the variable y input screen G6 includes a value input region G61 for inputting the value of the variable y, and a “Draw Graph” G62. In the value input region G61, a fraction can be input besides an integer or a decimal. In addition, in the value input region G61, the variable names (A, B, C, D, E, F, x, y, and z) of the variables that can store values in the variable list table 152 can be input. In the example of FIG. 13, “x”, which is one of the variable names, is input in the value input region G61. However, when a fraction or a variable name is input in the value input region G61, it is necessary to convert the value into an integer or a decimal by operating the OK key 22 (see FIG. 1). When an integer or a decimal is not input in the value input region G61, that is, when the value input region G61 is left blank or when a fraction or a variable name is input in the value input region G61, a symbol (a symbol with a horizontal bar surrounded by a circle) indicating restriction of the analysis of “x-Cal” is attached to the head of the “Draw Graph” G62, and the “Draw Graph” G62 is displayed in a gray-out state, making it impossible to execute the analysis of “x-Cal”.
FIG. 14 illustrates an example of the variable y input screen G6 when “x” input in the value input region G61 is converted to a decimal. As shown in FIG. 14, on the variable y input screen G6, when “x” (variable name) input in the value input region G61 is converted to “0.66666666”, which is the decimal stored in the variable list table 152 associated with the “variable x”, a symbol (a symbol with a right-pointing triangle surrounded by a circle) indicating that the analysis of “x-Cal” is possible is attached to the head of the “Draw Graph” G62, and the “Draw Graph” G62 is highlighted, allowing the analysis of “x-Cal” to be executed.
Returning to FIG. 12, the CPU 11 then determines whether an input related to the variable y has been made in the value input region G61 on the variable y input screen G6 (step S207). In step S207, if it is determined that no input related to the variable y has been made in the value input region G61 on the variable y input screen G6 (step S207; NO), the CPU 11 repeatedly performs the determination process of step S207 until an input related to the variable y is made. In step S207, if it is determined that an input related to the variable y has been made (step S207; YES), the CPU 11 determines whether the input is an integer or a decimal (step S208).
In step S208, if it is determined that the input is an integer or a decimal (step S208; YES), the CPU 11 advances the process to step S213. In step S208, if it is determined that the input is not an integer or a decimal (step S208; NO), the CPU 11 determines whether the input is a predetermined variable name (step S209). Here, the predetermined variable name means one of the variable names (A, B, C, D, E, F, x, y, and z) of the nine variables set in the variable list table 152.
In step S209, if it is determined that the input is not the predetermined variable name (step S209; NO), the CPU 11 returns the process to step S207 and performs the subsequent process. Here, cases where it is determined that the input is not the predetermined variable name include, for example, the case where the input is a fraction as described above. In step S209, if it is determined that the input is the predetermined variable name, which is, for example, “x” (variable name), (step S209; YES), the CPU 11 determines whether the OK key 22 (see FIG. 1) has been operated (step S210).
In step S210, if it is determined that the OK key 22 has not been operated (step S210; NO), the CPU 11 returns the process to step S207 and performs the subsequent process. In step S210, if it is determined that the OK key 22 has been operated (step S210; YES), the CPU 11 acquires the value (for example, “0.66666666”) corresponding to the input variable name (for example, “x”) from the variable list table 152 (see FIG. 3) (step S211).
Next, the CPU 11 converts the variable name (for example, “x”) input in the value input region G61 on the variable y input screen G6 into the value (for example, “0.66666666”) acquired in step S211 and displays the value (step S212; see FIG. 14). Here, the CPU 11 executes an analysis value reuse function in which, when a specific function (graph analysis function) that requires an input value is executed, an analysis value stored as the value of a predetermined variable name is input as the input value required for the specific function (graph analysis function) in response to specification of the predetermined variable name in the variable list table 152. Then, the CPU 11 advances the process to step S213.
Next, the CPU 11 determines whether the OK key 22 has been operated (step S213). In step S213, if it is determined that the OK key 22 has not been operated (step S213; NO), the CPU 11 returns the process to step S207 and performs the subsequent process.
In step S213, if it is determined that the OK key 22 has been operated (step S213; YES), the CPU 11 derives a x-coordinate value (analysis value) of the graph G11 (see FIG. 15) with respect to the value of the variable y (y-coordinate value) input in the value input region G61 on the variable y input screen G6 (step S214). Here, the CPU 11 executes the graph analysis function in which the analysis value is derived by analyzing, based on the specified condition (“x-Cal” (seventh condition)), the graph G11 expressed in the coordinate system (xy coordinates) corresponding to the specified calculation formula (y=sin (x)). The analysis value also includes the value (y-coordinate value) of the variable y input in the value input region G61 on the variable y input screen G6.
Next, as shown in FIG. 15, the CPU 11 displays the graph display screen G1 on the display 10, where the graph G11 is displayed again, and displays xy coordinate values G15 (x=−318.18968, y=0.66666666) as the analysis results of “x-Cal” on the graph display screen G1. The CPU 11 also stores the value “−318.18968” of the variable x and the value “0.66666666” of the variable y in the variable list table 152 (step S215). Here, the CPU 11 executes the analysis value storing function in which the analysis values (xy coordinate values (variable solutions)) derived by the graph analysis function are stored as the value of the variable x and the value of the variable y in the variable list table 152. In the analysis value storing function, the CPU 11 stores the analysis values in association with the variable names (variable x and variable y) handled in the graph analysis function among the plurality of variable names included in the variable list table 152 without the user performing an operation of specifying the variable names. In other words, in the analysis value storing function, after the analysis values are derived by the graph analysis function, the CPU 11 stores the analysis values in association with the variable names (variable x and variable y) of the variables included in the calculation formula (y=sin (x)) or the variable names in the variable list table 152 corresponding to the variable names indicating the coordinate axes (x-axis and y-axis) of the graph G11, without the user performing an operation of instructing to store the analysis values or an operation of specifying the variable names in which the analysis values are stored. In step S215, the coordinate position corresponding to the xy coordinate values (x=−318.18968, y=0.66666666) on the graph display screen G1 is plotted by a cross symbol G16, and information G17 (for example, text information of “x-Cal”) indicating that the graph analysis process for “x-Cal” has been performed is displayed. After executing the process of step S215, the CPU 11 ends the graph analysis process for “x-Cal”. After the graph analysis process is completed, when the variable key 25 (see FIG. 1) is pressed, the variable list screen G7 is displayed on the display 10, as shown in FIG. 16. This makes it possible to confirm that the xy coordinate values (analysis values), which are the analysis results of “x-Cal,” are stored in the variable list table 152.
As described above, the scientific calculator 1 according to the present embodiment t includes the CPU 11 (controller) that executes: the graph analysis function in which an analysis value is derived by analyzing, based on a specified condition (e.g., “y-Cal”), the graph G11 (see FIG. 5) expressed in the coordinate system (e.g., xy coordinates) corresponding to the specified calculation formula; the analysis value storing function in which the analysis value derived by the graph analysis function is stored in the storage 15 as the value of a predetermined variable name (e.g., variable x and variable y) in the variable list table 152 in which a plurality of variable names are associated with respective values; and the analysis value reuse function in which, when a specific function (e.g., the graph analysis function) that requires an input value is executed, the analysis value stored as the value of a predetermined variable name is input as the input value required for the specific function in response to specification of the predetermined variable name in the variable list table 152. Therefore, according to the scientific calculator 1, when a specific function that requires an input value is executed, by executing the analysis value reuse function, the analysis values (xy coordinate values) derived by executing the graph analysis function can be universally used. As a result, when a specific function that requires an input value is executed, even for an analysis value that can be erroneously input by a manual input such as a repeating decimal or a circumference ratio, the analysis value can be accurately and easily input. That is, the interaction process between the user and the scientific calculator 1 can reliably assist the user in performing a technical task, which is to use graph analysis values universally.
The CPU 11 of the scientific calculator 1 stores a value specified by the user in association with a variable name specified by the user among the plurality of variable names included in the variable list table 152, and executes the universal-purpose variable utilization function in which the value of the variable name specified by the user among the plurality of variable names included in the variable list table 152 is input as an input value required for a function specified by the user. Therefore, according to the scientific calculator 1, executing the universal-purpose variable utilization function makes it possible to improve the convenience of the function specified by the user. In the analysis value storing function, when an analysis value is derived by the graph analysis function, the CPU 11 stores the analysis value in association with the variable name handled in the graph analysis function among the plurality of variable names included in the variable list table 152 without the user performing an operation of specifying the variable name. Therefore, according to the scientific calculator 1, the analysis value derived by the graph analysis function can be smoothly stored in the variable list table 152.
In the analysis value storing function, after an analysis value is derived by the graph analysis function, the CPU 11 of the scientific calculator 1 stores the analysis value in association with the variable name of the variable included in the calculation formula or the variable name in the variable list table 152 corresponding to the variable name indicating the coordinate axis of a graph (e.g., the graph G11), without the user performing an operation of instructing to store the analysis value or an operation of specifying the variable name in which the analysis value is stored. Therefore, according to the scientific calculator 1, the analysis value derived by the graph analysis function can be smoothly stored in the variable list table 152.
In the graph analysis function, the CPU 11 of the scientific calculator 1 displays coordinate values (xy coordinate values) satisfying a specified condition (for example, “y-Cal” or “x-Cal”) on the graph display screen G1 displaying the graph G11 (see FIG. 10 and FIG. 15). In the analysis value storing function, the CPU 11 stores the coordinate values in association with the variable names in the variable list table 152 corresponding to the variable names indicating the coordinate axes of the graph G11. In the analysis value reuse function, the CPU 11 inputs the coordinate values stored as the values corresponding to the variable names indicating the coordinate axes of the graph G11 as input values required for a specific function. Therefore, according to the scientific calculator 1, since the coordinate values (xy coordinate values) satisfying the specified condition (for example, “y-Cal”, “x-Cal”) are displayed on the graph display screen G1 displaying the graph G11, the coordinate values can be easily grasped. In addition, in the analysis value storing function, the CPU 11 stores the coordinate values in association with the variable names in the variable list table 152 corresponding to the variable names indicating the coordinate axes of the graph G11. In the analysis value reuse function, the CPU 11 inputs the coordinate values stored as the values corresponding to the variable names indicating the coordinate axes of the graph G11 as input values required for a specific function. These allow the coordinate values to be used universally when a specific function that requires an input value is executed.
In the analysis value storing function, when storing an analysis value as the value of a predetermined variable name in the variable list table 152, the CPU 11 of the scientific calculator 1 displays a list of values corresponding to a plurality of variable names including the predetermined variable name and other variable names in the variable list table 152. Therefore, according to the scientific calculator 1, it is possible to confirm that the analysis value has been stored, i.e., it is possible to check the technical status of the device, and it is also possible to confirm the values corresponding to variable names other than the predetermined variable name in which the analysis value is stored. This makes it possible to expand the use of the analysis value reuse function.
In the graph analysis function, the CPU 11 of the scientific calculator 1 associates a plurality of variable names (variable x and variable y) included in a specified calculation formula (y=sin (x)) with a plurality of coordinate axes (x-axis and y-axis) in a coordinate system corresponding to the calculation formula, draws the graph G11 corresponding to the calculation formula in the coordinate system, and derives solutions of the variables included in the specified calculation formula. In the analysis value storing function, the CPU stores the derived solutions of the variables in association with the variable names corresponding to the solutions in the variable list table 152. These makes it possible to improve the convenience of the graph application of the scientific calculator 1.
In the analysis value storing function, the CPU 11 of the scientific calculator 1 stores the solutions of the variables derived by the graph analysis function in the variable list table 152 as the same variable names as the variable names of the variables included in the calculation formula. Therefore, according to the scientific calculator 1, the solutions of the variables can be smoothly stored (saved) in the variable list table 152. This allows the analysis value reuse function to be smoothly performed as well.
In the analysis value reuse function, when the graph analysis function is specified as a specific function, the CPU 11 of the scientific calculator 1 can input the derived solutions of the variables to the variables of the calculation formula with variable names different from the variable names in the variable list table 152 in which the derived solutions of the variables are stored, thereby expanding the use of the analysis value reuse function.
The description of the above embodiment is an example of a computing device, an information processing method, and a storage medium according to the present disclosure, and is not limited thereto.
For example, in the above embodiment, when the graph analysis function (“x-Cal”) that requires an input value for the variable y is executed, the analysis value reuse function was described with an exemplary case where the analysis value “0.66666666” stored as the value of the variable x was input as the value of the variable y by specifying the variable x in the variable list table 152. However, this case is merely an example.
For example, the analysis value reuse function can be executed even in a case where four arithmetic operations are performed in a basic calculation function. Specifically, when the addition (x+y) of the variable x and the variable y is executed, by inputting the variable x, the calculation symbol “+”, the variable y, and the calculation symbol “=” in that order, the result of adding the analysis value stored as the value of the variable x (for example, “0.66666666”) and the analysis value stored as the value of the variable y (for example, “0.01163526”) is displayed on the display 10.
In the above embodiment, it is possible to perform analysis on the seven items in the graph analysis function: “ROOT”, “Maximum Value”, “Minimum Value”, “Intersection”, “y-Intercept”, “y-Cal”, and “x-Cal”. However, in addition to the seven items, an item for deriving the gradient of a tangent, a local maximum, a local minimum, an inflection point, a trace point, or the like of a graph may be included. In this case, values indicated by the coordinates of the graph, such as a local maximum, a local minimum, an inflection point, or a trace point, may be automatically stored in association with the variable names in the variable list table 152 corresponding to the variable names indicating the coordinate axes of the graph. For a value not indicated by the coordinates of the graph, such as the gradient of a tangent of the graph, which variable name in the variable list table 152 the value is to be associated with and automatically stored in may be specified in advance.
In the above embodiment, each time the graph analysis process is executed, each derived analysis value may be stored in a predetermined table in an identifiable manner. In such a case, the analysis value reuse function is configured such that a desired analysis value can be specified and used from among the analysis values stored in the predetermined table.
In the above embodiment, in the graph analysis process, when a solution of a variable of a predetermined variable name is derived as an analysis value with respect to a calculation formula including variable of the predetermined variable name, or when an analysis value is displayed as a coordinate value on a graph having the variable of the predetermined variable name as the coordinate axis, the derived analysis value is stored automatically as the value of the variable of the same variable name as the predetermined variable name in the variable list table 152 without the user performing an operation of storing the analysis value or an operation of specifying a variable name in which the derived analysis value is stored separately from the operation of instructing the derivation of the analysis value or the graph display. This makes it possible to save time and effort for the user to perform the operation of storing the analysis value or the operation of specifying a variable name. However, the derived analysis value may be stored as the variable of a specified variable name in the variable list table 152 after the user performs an operation of storing the analysis value or an operation of specifying the variable name. When a derived analysis value is stored automatically in the variable list table 152, if a value has already been stored as the same variable name, the derived analysis value may be stored after confirming the user whether the stored value can be overwritten, or after automatically changing a part of the variable name (for example, changing “x” to “x1” or “x2”).
In the above embodiment, the scientific calculator 1 has been described as an application example of the computing device according to the present disclosure, but the scientific calculator 1 is applicable to electronic devices in general such as an electronic dictionary, a mobile phone, a smartphone, and a personal computer.
Further, the detailed configuration and the detailed operation of each constituent element of the scientific calculator 1 in the above embodiment can be appropriately modified without departing from the gist of the present disclosure.