JP2012053547A - Electronic calculator and program - Google Patents

Electronic calculator and program Download PDF

Info

Publication number
JP2012053547A
JP2012053547A JP2010193936A JP2010193936A JP2012053547A JP 2012053547 A JP2012053547 A JP 2012053547A JP 2010193936 A JP2010193936 A JP 2010193936A JP 2010193936 A JP2010193936 A JP 2010193936A JP 2012053547 A JP2012053547 A JP 2012053547A
Authority
JP
Japan
Prior art keywords
expression
input
display
operation unit
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010193936A
Other languages
Japanese (ja)
Other versions
JP5728853B2 (en
Inventor
Yoshinaga Katayama
善永 片山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2010193936A priority Critical patent/JP5728853B2/en
Publication of JP2012053547A publication Critical patent/JP2012053547A/en
Application granted granted Critical
Publication of JP5728853B2 publication Critical patent/JP5728853B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To immediately obtain a calculation result while allowing recognition of a calculation process.SOLUTION: A scientific calculator 1 includes: a key input unit 14 which inputs, as an input expression, a mathematical expression including unary operation sections comprising unary operators and operands on the basis of user's operation; a CPU 11 which simplifies the input expression by arithmetic to calculate an output expression as a calculation result in a form including at least one unary operation section; and a display unit 15 which displays the input expression and the output expression. The CPU 11 causes the display unit 15 to display output expression-side operands included in the output expression, out of operands of unary operation sections displayed by the display unit 15, in different display modes respectively. The CPU 11 causes the display unit 15 to display input expression-side operands included in the input expression and used for arithmetic as calculation sources of output expression-side operands, out of the operands of unary operation sections displayed by the display unit 15, in display modes corresponding to the output expression-side operands.

Description

本発明は、電子計算機及びプログラムに関する。   The present invention relates to an electronic computer and a program.

従来、計算機能を有する電子計算機においては、入力された数式について演算を行い、演算結果を数式の形態で出力する場合がある。この場合、例えば「√7(√2+√5)」という数式が入力された場合には、演算結果「√35+√14」が出力される。   2. Description of the Related Art Conventionally, an electronic computer having a calculation function may perform an operation on an input mathematical formula and output the computation result in the form of a mathematical formula. In this case, for example, when a mathematical expression “√7 (√2 + √5)” is input, the calculation result “√35 + √14” is output.

ところで、このように演算結果を単純に出力する場合には、どのような演算過程で演算結果が得られたのかが分からず、特に学習初心者にとっては不親切である。   By the way, when the calculation result is simply output in this way, it is not known in which calculation process the calculation result is obtained, and it is unfriendly especially for a learning beginner.

そこで、近年の電子計算機では、演算過程に従って順次、途中解を表示するようになっている(例えば、特許文献1参照)。   Therefore, in recent electronic computers, intermediate solutions are sequentially displayed according to the calculation process (for example, see Patent Document 1).

特開平7−200483号公報Japanese Patent Application Laid-Open No. 7-200483

しかしながら、演算過程の途中解を順次表示する方法では、最終的な演算結果が表示されるのに時間が掛かったり、表示される内容が増加して最終の演算結果を見つけるのに手間が掛かったりするという新たな問題が生じる。   However, in the method of sequentially displaying the intermediate solution in the calculation process, it takes time to display the final calculation result, or the content to be displayed increases and it takes time to find the final calculation result. A new problem arises.

本発明の課題は、演算過程を把握可能としつつ、演算結果を直ぐに得ることのできる電子計算機及びプログラムを提供することである。   An object of the present invention is to provide an electronic computer and a program capable of immediately obtaining a calculation result while making it possible to grasp the calculation process.

以上の課題を解決するため、請求項1に記載の発明は、電子計算機において、
ユーザ操作に基づいて、単項演算子及びオペランドからなる単項演算部を少なくとも1つ含む数式を入力式として入力する数式入力手段と、
前記入力式を演算により単純化し、単項演算部を少なくとも1つ含む形態で計算結果としての出力式を算出する計算手段と、
前記入力式及び前記出力式を表示する表示手段と、
前記表示手段により表示される単項演算部のオペランドのうち、出力式に含まれる出力式側オペランドを、それぞれ異なる表示態様で前記表示手段に表示させる出力式表示態様制御手段と、
前記表示手段により表示される単項演算部のオペランドのうち、前記入力式に含まれるとともに前記出力式側オペランドの算出元として演算に使用された入力式側オペランドを、当該出力式側オペランドに対応する表示態様で前記表示手段に表示させる入力式表示態様制御手段と、
を備えることを特徴とする。
In order to solve the above problems, the invention according to claim 1 is an electronic computer,
Formula input means for inputting, as an input formula, a formula including at least one unary operation unit including a unary operator and an operand based on a user operation;
Calculation means for simplifying the input expression by calculation and calculating an output expression as a calculation result in a form including at least one unary operation unit;
Display means for displaying the input expression and the output expression;
Among the operands of the unary operation unit displayed by the display means, output expression display mode control means for causing the display means to display output expression side operands included in the output expression, respectively, in different display modes;
Of the operands of the unary operation unit displayed by the display means, the input expression side operand included in the input expression and used for the calculation as the calculation source of the output expression side operand corresponds to the output expression side operand. Input type display mode control means for displaying on the display means in a display mode;
It is characterized by providing.

請求項2記載の発明は、請求項1記載の電子計算機において、
前記入力式表示態様制御手段は、
前記入力式側オペランドが複数の前記出力式側オペランドの算出元として演算に使用されている場合に、これら複数の出力式側オペランドそれぞれに対応する表示態様で、当該入力式側オペランドを表示させることを特徴とする。
The invention according to claim 2 is the electronic computer according to claim 1,
The input type display mode control means includes:
When the input expression-side operand is used as a calculation source of a plurality of output expression-side operands, the input expression-side operand is displayed in a display mode corresponding to each of the plurality of output expression-side operands. It is characterized by.

請求項3記載の発明は、請求項2記載の電子計算機において、
前記出力式表示態様制御手段は、
出力式に含まれる前記出力式側オペランドを、それぞれ異なる表示色で前記表示手段に表示させ、
前記入力式表示態様制御手段は、
前記入力式側オペランドが複数の前記出力式側オペランドの算出元として演算に使用されている場合に、これら複数の出力式側オペランドそれぞれの表示色を混合した表示色で、当該入力式側オペランドを表示させることを特徴とする。
The invention according to claim 3 is the electronic computer according to claim 2,
The output type display mode control means includes:
The output expression side operands included in the output expression are displayed on the display means in different display colors, respectively.
The input type display mode control means includes:
When the input expression side operand is used as a calculation source of the plurality of output expression side operands in the operation, the input expression side operand is set to a display color obtained by mixing the display colors of the plurality of output expression side operands. It is characterized by being displayed.

請求項4記載の発明は、請求項1〜3の何れか一項に記載の電子計算機において、
前記単項演算子は、根号であることを特徴とする。
The invention according to claim 4 is the electronic computer according to any one of claims 1 to 3,
The unary operator is a root sign.

請求項5記載の発明は、プログラムにおいて、
表示手段を備えるコンピュータに、
ユーザ操作に基づいて、単項演算子及びオペランドからなる単項演算部を少なくとも1つ含む数式を入力式として入力する数式入力機能と、
前記入力式を演算により単純化し、単項演算部を少なくとも1つ含む形態で計算結果としての出力式を算出する計算機能と、
前記入力式及び前記出力式を前記表示手段に表示させる表示制御手段と、
前記表示手段により表示される単項演算部のオペランドのうち、出力式に含まれる出力式側オペランドを、それぞれ異なる表示態様で前記表示手段に表示させる出力式表示態様制御機能と、
前記表示手段により表示される単項演算部のオペランドのうち、前記入力式に含まれるとともに前記出力式側オペランドの算出元として演算に使用された入力式側オペランドを、当該出力式側オペランドに対応する表示態様で前記表示手段に表示させる入力式表示態様制御機能と、
を実現させることを特徴とする。
The invention according to claim 5 is a program,
In a computer provided with a display means,
A mathematical expression input function for inputting, as an input expression, a mathematical expression including at least one unary operation unit including a unary operator and an operand based on a user operation;
A calculation function for simplifying the input expression by calculation and calculating an output expression as a calculation result in a form including at least one unary operation unit;
Display control means for displaying the input expression and the output expression on the display means;
Among the operands of the unary operation unit displayed by the display means, an output expression display mode control function for causing the display means to display output expression side operands included in the output expression, respectively, in different display forms;
Of the operands of the unary operation unit displayed by the display means, the input expression side operand included in the input expression and used for the calculation as the calculation source of the output expression side operand corresponds to the output expression side operand. An input type display mode control function to be displayed on the display means in a display mode;
It is characterized by realizing.

本発明によれば、ユーザ操作に基づいて、少なくとも1つの単項演算子を含む数式が入力式として入力されると、入力式が演算により単純化され、少なくとも1つの単項演算子を含む形態で計算結果としての出力式が算出され、入力式及び出力式が表示されるので、演算過程の途中解を順次表示する従来の場合と異なり、最終的な演算結果が表示されるのに時間が掛かったり、表示内容が増加することで最終の演算結果を見つけるのに手間が掛かったりするのが防止され、演算結果を直ぐに得ることができる。
また、単項演算子のオペランドのうち、出力式に含まれる出力式側オペランドがそれぞれ異なる表示態様で表示され、入力式に含まれるとともに出力式側オペランドの算出元として演算に使用された入力式側オペランドが当該出力式側オペランドに対応する表示態様で表示されるので、出力式の各部分が入力式の何れの部分に起因して算出されたのかを把握することができる。従って、どのような演算過程で演算結果が得られたのかを把握することができる。
According to the present invention, when a mathematical expression including at least one unary operator is input as an input expression based on a user operation, the input expression is simplified by calculation and is calculated in a form including at least one unary operator. Since the output formula as a result is calculated and the input formula and output formula are displayed, it may take time to display the final calculation result, unlike the conventional case of sequentially displaying the intermediate solution of the calculation process. Since the display content increases, it is prevented that it takes time to find the final calculation result, and the calculation result can be obtained immediately.
In addition, among the operands of unary operators, the output expression side operands included in the output expression are displayed in different display forms, and the input expression side included in the input expression and used as the calculation source of the output expression side operand Since the operand is displayed in a display form corresponding to the output-expression-side operand, it is possible to grasp which part of the input expression is calculated for each part of the output expression. Therefore, it is possible to grasp in which calculation process the calculation result is obtained.

関数電卓の概略構成を示す平面図である。It is a top view which shows schematic structure of a scientific calculator. 関数電卓の機能構成を示すブロック図である。It is a block diagram which shows the function structure of a scientific calculator. 計算処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a calculation process. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display.

以下、添付図面を参照して本発明に係る実施の形態の一例を詳細に説明する。ただし、発明の範囲は、図示例に限定されない。   Hereinafter, an example of an embodiment according to the present invention will be described in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.

[1.1 外観構成]
図1は、本発明に係る電子機器を適用した関数電卓1の概略構成を示す平面図である。
この図に示すように、関数電卓1は、各種キー群を有する入力キー群2と、ディスプレイ3と、を備えている。
[1.1 External configuration]
FIG. 1 is a plan view showing a schematic configuration of a scientific calculator 1 to which an electronic apparatus according to the present invention is applied.
As shown in the figure, the scientific calculator 1 includes an input key group 2 having various key groups and a display 3.

入力キー群2は、ユーザから数値や演算記号等の数式構成要素の入力操作を受けたり、各種処理の指示操作を受けたりするためのキー群であり、それぞれ固有の機能を割り当てられた複数のキーを備えている。本実施の形態においては、入力キー群2は、テンキー20や演算記号キー21、カーソルキー22、EXEキー23、DELキー24等を備えている。   The input key group 2 is a key group for receiving an input operation of a mathematical expression component such as a numerical value or an arithmetic symbol from a user or an instruction operation of various processes, and a plurality of keys each assigned a unique function. Has a key. In the present embodiment, the input key group 2 includes a numeric keypad 20, an operation symbol key 21, a cursor key 22, an EXE key 23, a DEL key 24, and the like.

このうち、テンキー20は数値の入力操作を受けるキーであり、演算記号キー21は四則演算の演算子や括弧、分数の括線、定数(円周率「π」や光速度「c」等)などの入力操作を受けるキーである。また、この演算記号キー21は、根号(√)や対数記号、三角関数記号などの単項演算子の入力操作を受けることも可能となっている。   Among them, the numeric keypad 20 is a key for receiving a numerical value input operation, and the operation symbol key 21 is an arithmetic operation operator, parentheses, fractional line, constant (circumference ratio “π”, light velocity “c”, etc.). It is a key that receives input operations such as. The operation symbol key 21 can also receive input operations of unary operators such as a root sign (√), a logarithmic symbol, and a trigonometric function symbol.

カーソルキー22は、ディスプレイ3内で編集対象位置や選択対象位置を示すカーソルを所定の方向に移動させる場合等に押下されるキーであり、本実施の形態においては、上下左右の4方向について入力可能に構成されている。   The cursor key 22 is a key that is pressed when the cursor indicating the editing target position or the selection target position is moved in a predetermined direction in the display 3. In the present embodiment, the cursor key 22 is input in four directions, up, down, left, and right. It is configured to be possible.

EXEキー23は、処理の実行指示や決定指示の入力操作を受けるキーであり、例えば数式の入力後には演算処理の実行を指示するキーとして機能するようになっている。DELキー24は、ディスプレイ3に表示されている数値や演算記号などの削除操作を受けるキーである。   The EXE key 23 is a key that receives an input operation of a process execution instruction or a determination instruction. For example, after the mathematical expression is input, the EXE key 23 functions as a key that instructs the execution of the arithmetic process. The DEL key 24 is a key for receiving a deletion operation such as a numerical value or a calculation symbol displayed on the display 3.

ディスプレイ3は、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等により構成されており、入力キー群2などの操作に応じた文字や符号、数式、演算結果などの他、関数電卓1を使用するために必要な各種データを表示するようになっている。なお、本実施の形態におけるディスプレイ3には、タッチパネル30が表示画面全面に亘って一体的に設けられている。   The display 3 is composed of an LCD (Liquid Crystal Display), an ELD (Electronic Luminescent Display), etc. In addition to characters, symbols, mathematical formulas, calculation results, etc. according to the operation of the input key group 2, the scientific calculator 1 is provided. Various data necessary for use is displayed. Note that the display 3 in the present embodiment is integrally provided with a touch panel 30 over the entire display screen.

[1.2 機能構成]
続いて、関数電卓1の機能構成を説明する。
図2は、関数電卓1の概略的な機能構成を示すブロック図である。
[1.2 Functional configuration]
Next, the functional configuration of the scientific calculator 1 will be described.
FIG. 2 is a block diagram illustrating a schematic functional configuration of the scientific calculator 1.

この図に示すように、関数電卓1は、キー入力部14と、表示部15と、RAM(Random Access Memory)12と、記憶部13と、CPU(Central Processing Unit)11と、を備えて構成されている。   As shown in the figure, the scientific calculator 1 includes a key input unit 14, a display unit 15, a RAM (Random Access Memory) 12, a storage unit 13, and a CPU (Central Processing Unit) 11. Has been.

キー入力部14は、上述の入力キー群2を備えており、押下されたキーに対応する操作信号をCPU11に出力するようになっている。   The key input unit 14 includes the input key group 2 described above, and outputs an operation signal corresponding to the pressed key to the CPU 11.

表示部15は、上述のディスプレイ3を備えており、CPU11からの表示信号に従って各種情報をディスプレイ3に表示するようになっている。また、この表示部15は、ディスプレイ3と一体的に設けられたタッチパネル30を備えており、表示画面に対する入力ペンの接触位置情報をCPU11に出力するようになっている。   The display unit 15 includes the display 3 described above, and displays various types of information on the display 3 in accordance with display signals from the CPU 11. Further, the display unit 15 includes a touch panel 30 provided integrally with the display 3, and outputs contact position information of the input pen with respect to the display screen to the CPU 11.

RAM12は、情報を一時的に格納する揮発性のメモリであり、実行される各種プログラムやこれら各種プログラムに係るデータ等を格納する複数のワークエリアを有する。例えば、本実施の形態におけるRAM12は、ワークエリアとして入力式記憶領域120、出力式記憶領域121、引継ぎ情報記憶領域122などを有するようになっている。   The RAM 12 is a volatile memory that temporarily stores information, and has a plurality of work areas that store various programs to be executed and data related to these various programs. For example, the RAM 12 in the present embodiment has an input type storage area 120, an output type storage area 121, a takeover information storage area 122, and the like as work areas.

入力式記憶領域120には、後述の計算処理(図3参照)において入力される数式が記憶されるようになっている。   In the input formula storage area 120, mathematical formulas input in calculation processing (see FIG. 3) described later are stored.

出力式記憶領域121には、後述の計算処理(図3参照)において算出される計算結果としての出力式が記憶されるようになっている。   The output formula storage area 121 stores an output formula as a calculation result calculated in a calculation process (see FIG. 3) described later.

なお、これらの入力式記憶領域120及び出力式記憶領域121は、単項演算子及びオペランドからなる単項演算部を1つ以上、入力式,出力式に含めて記憶することが可能となっている。   The input expression storage area 120 and the output expression storage area 121 can store one or more unary operation units each including a unary operator and an operand in the input expression and the output expression.

引継ぎ情報記憶領域122には、後述の計算処理(図3参照)において入力式における何れの単項演算部の内容が出力式の単項演算部に引き継がれたかについての情報、換言すれば、算出元の単項演算部と算出結果の単項演算部との対応関係を示す情報(以下、引継ぎ情報とする)が、入力式の単項演算部ごとに記憶されるようになっている。   In the takeover information storage area 122, information about which unary operation unit contents in the input expression are transferred to the unary operation unit of the output expression in the calculation process (see FIG. 3) described later, in other words, the calculation source Information (hereinafter referred to as takeover information) indicating the correspondence between the unary operation unit and the unary operation unit of the calculation result is stored for each unary operation unit of the input expression.

記憶部13は、ROM(Read Only Memory)等により構成される不揮発性のメモリであり、各種プログラム及び各種データを記憶している。具体的には、記憶部13は、本発明に係るプログラムとしての計算プログラム130と、色割り当て順テーブル131とを記憶している。   The storage unit 13 is a non-volatile memory composed of a ROM (Read Only Memory) or the like, and stores various programs and various data. Specifically, the storage unit 13 stores a calculation program 130 as a program according to the present invention and a color assignment order table 131.

計算プログラム130は、後述の計算処理(図3参照)をCPU11に実行させるためのプログラムである。   The calculation program 130 is a program for causing the CPU 11 to execute calculation processing (see FIG. 3) described later.

色割り当て順テーブル131は、後述の計算処理(図3参照)において単項演算部のオペランドに割り当てるべき表示色を割り当て順に記憶したテーブルであり、本実施の形態においては、1番目,2番目の表示色として「青色」,「赤色」を記憶している。   The color assignment order table 131 is a table in which display colors to be assigned to the operands of the unary operation unit in calculation processing (see FIG. 3) described later are stored in the order of assignment. In the present embodiment, the first and second displays are displayed. “Blue” and “Red” are stored as colors.

CPU11は、関数電卓1の各部を中央制御する。具体的には、CPU11は、記憶部13に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM12に展開し、RAM12に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 centrally controls each part of the scientific calculator 1. Specifically, the CPU 11 expands a program specified from the system program and various application programs stored in the storage unit 13 in the RAM 12 and performs various processes in cooperation with the program expanded in the RAM 12. Execute.

[1.3 関数電卓の動作]
続いて、関数電卓1の動作について説明する。
[1.3 Operation of scientific calculator]
Next, the operation of the scientific calculator 1 will be described.

図3は、計算処理の動作を説明するためのフローチャートである。なお、この計算処理は、ユーザによりタッチパネル30やキー入力部14を介して計算処理の実行指示が入力されると、記憶部13から計算プログラム130が読み出されてRAM12に適宜展開される結果、当該計算プログラム130とCPU11との協働によって実行される。   FIG. 3 is a flowchart for explaining the operation of the calculation process. This calculation process is a result of the calculation program 130 being read from the storage unit 13 and appropriately expanded in the RAM 12 when a user inputs a calculation process execution instruction via the touch panel 30 or the key input unit 14. The calculation program 130 is executed in cooperation with the CPU 11.

この図に示すように、計算処理においては、まずユーザが入力キー群2を操作して、数式を入力式として入力すると(ステップS1)、CPU11は、当該入力式を入力式記憶領域120に記憶させるとともに、当該入力式をディスプレイ3に表示させる。そして、演算の実行指示が行われるか否かを判定し(ステップS2)、行われないと判定した場合(ステップS2;No)には、ステップS1に移行する。   As shown in this figure, in the calculation process, when the user first operates the input key group 2 and inputs a mathematical expression as an input expression (step S1), the CPU 11 stores the input expression in the input expression storage area 120. And the input formula is displayed on the display 3. Then, it is determined whether or not a calculation execution instruction is performed (step S2). When it is determined that the calculation is not performed (step S2; No), the process proceeds to step S1.

また、ステップS2において演算の実行指示が行われたと判定した場合(ステップS2;Yes)には、CPU11は、入力式を演算により単純化して演算結果としての出力式を算出し、この出力式を出力式記憶領域121に記憶させた後、これらの入力式及び出力式に単項演算部がそれぞれ少なくとも1つ含まれるか否かを判定する(ステップS3)。   If it is determined in step S2 that an operation execution instruction has been issued (step S2; Yes), the CPU 11 simplifies the input expression by calculation and calculates an output expression as the calculation result. After being stored in the output expression storage area 121, it is determined whether or not at least one unary operation unit is included in each of these input expressions and output expressions (step S3).

このステップS3において単項演算部が入力式及び出力式の少なくとも一方には含まれないと判定した場合(ステップS3;No)には、CPU11は、入力式と、演算結果としての出力式とをディスプレイ3に表示させた後(ステップS4)、計算処理を終了する。   When it is determined in step S3 that the unary operation unit is not included in at least one of the input expression and the output expression (step S3; No), the CPU 11 displays the input expression and the output expression as the operation result. 3 (step S4), the calculation process is terminated.

また、ステップS3において入力式及び出力式に単項演算部がそれぞれ少なくとも1つ含まれると判定した場合(ステップS3;Yes)には、CPU11は、入力式における何れの単項演算部の内容が出力式の単項演算部に引き継がれたかについての引継ぎ情報を、入力式の単項演算部ごとに引き継ぎ情報記憶領域122に記憶させる(ステップS5)。   If it is determined in step S3 that the input expression and the output expression each include at least one unary operation unit (step S3; Yes), the CPU 11 determines that the contents of any unary operation unit in the input expression are output expressions. The takeover information as to whether or not it has been taken over by the unary operation unit is stored in the takeover information storage region 122 for each input type unary operation unit (step S5).

次に、CPU11は、出力式に含まれる各単項演算部のオペランドに対し、色割り当て順テーブル131内の順序に従って表示色を設定する(ステップS6)。   Next, the CPU 11 sets a display color according to the order in the color assignment order table 131 for the operands of each unary operation unit included in the output expression (step S6).

次に、CPU11は、入力式に含まれる何れかの単項演算部を処理対象として設定し(ステップS11)、引き継ぎ情報記憶領域122内の引継ぎ情報において処理対象の単項演算部に対応付けられた単項演算部が出力式内に存在するか否か、つまり処理対象の単項演算部を元に算出された単項演算部が出力式内に存在するか否かを判定する(ステップS12)。   Next, the CPU 11 sets any unary operation unit included in the input expression as a processing target (step S11), and the unary associated with the unary operation unit to be processed in the takeover information in the takeover information storage area 122. It is determined whether or not the operation unit exists in the output expression, that is, whether or not the unary operation unit calculated based on the unary operation unit to be processed exists in the output expression (step S12).

このステップS12において処理対象の単項演算部に対応付けられた単項演算部が出力式内に存在しないと判定した場合(ステップS12;No)には、CPU11は、処理対象の単項演算部におけるオペランドの表示色を「既定色」に設定し(ステップS13)、後述のステップS21に移行する。ここで「既定色」とは、数式を表示する際に用いる通常の色で、ステップS1において入力された入力式を表示する際など、特に色の指定がないときには既定色が用いられる。通常は「規定色」として黒など目立たない色が用いられる。   If it is determined in step S12 that the unary operation unit associated with the unary operation unit to be processed does not exist in the output expression (step S12; No), the CPU 11 determines the operand of the unary operation unit to be processed. The display color is set to “default color” (step S13), and the process proceeds to step S21 described later. Here, the “default color” is a normal color used when displaying the mathematical formula, and the default color is used when no color is specified, such as when the input formula input in step S1 is displayed. Usually, an inconspicuous color such as black is used as the “specified color”.

また、ステップS12において処理対象の単項演算部に対応付けられた単項演算部が出力式内に存在すると判定した場合(ステップS12;Yes)には、CPU11は、このような単項演算部(処理対象の単項演算部に対応付けられた単項演算部)が出力式内に複数存在するか否かを判定する(ステップS15)。   Further, when it is determined in step S12 that the unary operation unit associated with the unary operation unit to be processed exists in the output equation (step S12; Yes), the CPU 11 selects such a unary operation unit (processing object). It is determined whether or not there are a plurality of unary operation units associated with the unary operation unit in the output expression (step S15).

このステップS15において処理対象の単項演算部に対応付けられた単項演算部が出力式内に複数存在しない、つまり1つのみ存在すると判定した場合(ステップS15;No)には、CPU11は、処理対象の単項演算部におけるオペランドの表示色を、当該出力式内の単項演算部におけるオペランドの表示色と同じ色に設定し(ステップS16)、後述のステップS21に移行する。   If it is determined in step S15 that there are not a plurality of unary operation units associated with the unary operation unit to be processed in the output expression, that is, only one exists (step S15; No), the CPU 11 The display color of the operand in the unary operation unit is set to the same color as the display color of the operand in the unary operation unit in the output expression (step S16), and the process proceeds to step S21 described later.

また、ステップS15において処理対象の単項演算部に対応付けられた単項演算部が出力式内に複数存在すると判定した場合(ステップS15;Yes)には、CPU11は、処理対象の単項演算部におけるオペランドの表示色を、これら出力式内の単項演算部におけるオペランドの各表示色の混合色に設定する(ステップS17)。   If it is determined in step S15 that there are a plurality of unary operation units associated with the unary operation unit to be processed in the output expression (step S15; Yes), the CPU 11 performs an operand in the unary operation unit to be processed. Is set to a mixed color of the display colors of the operands in the unary operation unit in these output expressions (step S17).

そして、以上のステップS13,S16,S17により、入力式に含まれるオペランドが出力式のオペランドの算出元として演算に使用されている場合には、当該入力式のオペランドがそれぞれ当該出力式のオペランドに対応する表示色で表示されることとなる。更に、入力式のオペランドが出力式の複数のオペランドの算出元として演算に使用されている場合には、当該入力式のオペランドが出力式における当該複数のオペランドそれぞれの混合色で表示されることとなる。   If the operands included in the input expression are used in the calculation as the calculation source of the operand of the output expression by the above steps S13, S16, and S17, the operands of the input expression are respectively converted to the operands of the output expression. It will be displayed in the corresponding display color. Furthermore, when the operand of the input expression is used in the calculation as a calculation source of the plurality of operands of the output expression, the operand of the input expression is displayed in a mixed color of each of the plurality of operands in the output expression. Become.

次に、CPU11は、処理対象として設定されていない単項演算部が未だ入力式に存在するか否かを判定し(ステップS21)、存在すると判定した場合(ステップS21;Yes)には、上述のステップS11に移行する。   Next, the CPU 11 determines whether or not a unary operation unit that is not set as a processing target still exists in the input expression (step S21), and if it is determined that it exists (step S21; Yes), The process proceeds to step S11.

また、ステップS21において処理対象として設定されていない単項演算部が入力式に存在しないと判定した場合(ステップS21;No)には、CPU11は、入力式と、演算結果としての出力式とをディスプレイ3に表示させるとともに、入力式及び出力式の各単項演算部におけるオペランドを、設定された表示色で表示させ(ステップS22)、計算処理を終了する。なお、このステップS22においてCPU11は、入力式におけるオペランドの表示色が出力式における複数のオペランドの表示色の混合色である場合には、出力式のオペランドの各表示色をドット単位で混合して入力式のオペランドを表示させても良いし、出力式のオペランドの各表示色の中間色としてあらかじめ設定された表示色で、入力式のオペランドを表示しても良い。   Further, when it is determined in step S21 that the unary arithmetic unit not set as the processing target does not exist in the input formula (step S21; No), the CPU 11 displays the input formula and the output formula as the calculation result. 3, the operands in each unary operation unit of the input expression and output expression are displayed in the set display color (step S <b> 22), and the calculation process is terminated. In step S22, if the display color of the operand in the input expression is a mixed color of the display colors of the plurality of operands in the output expression, the CPU 11 mixes the display colors of the operands in the output expression in dot units. The input expression operand may be displayed, or the input expression operand may be displayed in a display color preset as an intermediate color between the display colors of the output expression operand.

[1.4 動作例]
続いて、図面を参照しつつ、上述した関数電卓1の動作を具体的に説明する。但し、以下の動作例では、単項演算部の単項演算子及びオペランドが同色で表示されるとともに、同色の下線を付されて表示されるようになっている。また、図中、ディスプレイ3の表示画面において破線で囲まれている領域は、この領域に対する符号の対応色(「B」:青色(Blue)、「R」:赤色(Red)、「P」:紫色(Purple))によって当該領域内の文字が表示されていることを示している。
[1.4 Operation example]
Next, the operation of the scientific calculator 1 described above will be specifically described with reference to the drawings. However, in the following operation example, the unary operators and operands of the unary operation unit are displayed in the same color and are displayed with the same color underlined. In the drawing, the area surrounded by a broken line on the display screen of the display 3 is a color corresponding to the area (“B”: blue (Blue), “R”: red (Red), “P”: Purple indicates that characters in the area are displayed.

(動作例1)
まず図4(a)に示すように、ユーザが数式「√12」を入力式として入力すると(ステップS1)、入力式「√12」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「√12」が演算により単純化されて演算結果としての出力式「2√3」が算出されて、入力式「√12」及び出力式「2√3」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 1)
First, as shown in FIG. 4A, when the user inputs the mathematical expression “√12” as an input expression (step S1), the input expression “√12” is displayed. Subsequently, when the user gives an instruction to execute the calculation (step S2; Yes), the input expression “√12” is simplified by the calculation, and the output expression “2√3” as the calculation result is calculated. It is determined that at least one unary operation unit is included in each of “√12” and the output formula “2√3” (step S3; Yes).

次に、入力式「√12」における単項演算部「√12」の内容が出力式「2√3」の単項演算部「√3」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「2√3」に含まれる単項演算部「√3」に対し、表示色「青色」が設定される(ステップS6)。   Next, takeover information indicating that the content of the unary operation unit “√12” in the input expression “√12” is taken over by the unary operation unit “√3” of the output equation “2√3” is stored in the takeover information storage area 122. After being stored (step S5), the display color “blue” is set for the unary operation unit “√3” included in the output equation “2√3” (step S6).

次に、入力式「√12」に含まれる単項演算部「√12」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√12」に対応付けられた単項演算部「√3」が出力式「2√3」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√12」の表示色が、出力式「2√3」内の単項演算部「√3」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√12” included in the input expression “√12” is set as the processing target (step S11), the unary operation unit associated with the unary operation unit “√12” to be processed It is determined that “√3” is present in the output expression “2√3” (step S12; Yes), and the display color of the processing target unary operation unit “√12” is the unary in the output expression “2√3”. The display color “blue” of the calculation unit “√3” is set (step S16).

そして、図4(b)に示すように、入力式「√12」及び出力式「2√3」が表示されるとともに、これらに含まれる単項演算部「√12」,「√3」が表示色「青色」で表示される(ステップS22)。   Then, as shown in FIG. 4B, an input expression “√12” and an output expression “2√3” are displayed, and unary arithmetic units “√12” and “√3” included therein are displayed. The color “blue” is displayed (step S22).

(動作例2)
まず図5(a)に示すように、ユーザが数式「√45−√8+√20−√50」を入力式として入力すると(ステップS1)、入力式「√45−√8+√20−√50」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「√45−√8+√20−√50」が演算により単純化されて演算結果としての出力式「5√5−7√2」が算出されて、入力式「√45−√8+√20−√50」及び出力式「5√5−7√2」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 2)
First, as shown in FIG. 5A, when the user inputs the mathematical expression “√45−√8 + √20−√50” as an input formula (step S1), the input formula “√45−√8 + √20−√50”. Is displayed. Subsequently, when the user instructs to execute the calculation (step S2; Yes), the input expression “√45−√8 + √20−√50” is simplified by the calculation and the output expression “5√5−5” as the calculation result is obtained. 7√2 ”is calculated, and it is determined that the input expression“ √45−√8 + √20−√50 ”and the output expression“ 5√5-7√2 ”each include at least one unary operation unit. (Step S3; Yes).

次に、入力式「√45−√8+√20−√50」における単項演算部「√45」,「√20」の内容が出力式「5√5−7√2」の単項演算部「5√5」に引き継がれ、単項演算部「√8」,「√50」の内容が出力式「5√5−7√2」の単項演算部「7√2」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「5√5−7√2」に含まれる単項演算部「√5」,「√2」に対し、表示色「青色」,「赤色」が設定される(ステップS6)。   Next, the contents of the unary operation units “√45” and “√20” in the input expression “√45−√8 + √20−√50” are the unary operation unit “5” of the output expression “5√5-7√2”. Successive information indicating that the contents of the unary operation units “√8” and “√50” are inherited by the unary operation unit “7√2” of the output formula “5√5-7√2”. Is stored in the takeover information storage area 122 (step S5), the display color “blue” is applied to the unary operation units “√5” and “√2” included in the output formula “5√5-7√2”. , “Red” is set (step S6).

次に、入力式「√45−√8+√20−√50」に含まれる単項演算部「√45」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√45」に対応付けられた単項演算部「√5」が出力式内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√45」の表示色が、出力式内の単項演算部「√5」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√45” included in the input expression “√45−√8 + √20−√50” is set as the processing target (step S11), the unary operation unit “√45” to be processed is set. Is determined to exist in the output expression (step S12; Yes), and the display color of the processing target unary operation section “√45” is the unary operation section in the output expression. The display color “blue” of “√5” is set (step S16).

次に、入力式「√45−√8+√20−√50」に含まれる単項演算部「√8」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√8」に対応付けられた単項演算部「√2」が出力式内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√8」の表示色が、出力式内の単項演算部「√2」の表示色「赤色」に設定される(ステップS16)。   Next, after the unary operation unit “√8” included in the input expression “√45−√8 + √20−√50” is set as the processing target (step S11), the unary operation unit “√8” to be processed is set. Is determined to be present in the output expression (step S12; Yes), and the display color of the processing target unary operation section “√8” is the unary operation section in the output expression. The display color “√2” is set to “red” (step S16).

次に、入力式「√45−√8+√20−√50」に含まれる単項演算部「√20」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√20」に対応付けられた単項演算部「√5」が出力式内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√20」の表示色が、出力式内の単項演算部「√5」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√20” included in the input expression “√45−√8 + √20−√50” is set as the processing target (step S11), the unary operation unit “√20” to be processed is set. Is determined to be present in the output expression (step S12; Yes), and the display color of the processing target unary operation section “√20” is the unary operation section in the output expression. The display color “blue” of “√5” is set (step S16).

次に、入力式「√45−√8+√20−√50」に含まれる単項演算部「√50」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√50」に対応付けられた単項演算部「√2」が出力式内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√50」の表示色が、出力式内の単項演算部「√2」の表示色「赤色」に設定される(ステップS16)。   Next, after the unary operation unit “√50” included in the input expression “√45−√8 + √20−√50” is set as the processing target (step S11), the unary operation unit “√50” to be processed is set. Is determined to be present in the output expression (step S12; Yes), and the display color of the processing target unary operation section “√50” is the unary operation section in the output expression. The display color “√2” is set to “red” (step S16).

そして、図5(b)に示すように、入力式「√45−√8+√20−√50」及び出力式「5√5−7√2」が表示されるとともに、これらに含まれる単項演算部「√45」,「√20」,「√5」が表示色「青色」で表示され、単項演算部「√8」,「√50」,「√2」が表示色「赤色」で表示される(ステップS22)。   Then, as shown in FIG. 5B, an input expression “√45−√8 + √20−√50” and an output expression “5√5-7√2” are displayed, and unary operations included in these expressions are displayed. The units “√45”, “√20”, and “√5” are displayed in the display color “blue”, and the unary operation units “√8”, “√50”, and “√2” are displayed in the display color “red”. (Step S22).

(動作例3)
まず図6(a)に示すように、ユーザが数式「√12×√63」を入力式として入力すると(ステップS1)、入力式「√12×√63」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「√12×√63」が演算により単純化されて演算結果としての出力式「6√21」が算出されて、入力式「√12×√63」及び出力式「6√21」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 3)
First, as shown in FIG. 6A, when the user inputs the mathematical expression “√12 × √63” as an input formula (step S1), the input formula “√12 × √63” is displayed. Subsequently, when the user instructs to execute the calculation (Step S2; Yes), the input expression “√12 × √63” is simplified by the calculation, and the output expression “6√21” as the calculation result is calculated. It is determined that at least one unary operation unit is included in the input expression “√12 × √63” and the output expression “6√21” (step S3; Yes).

次に、入力式「√12×√63」における単項演算部「√12」,「√63」の内容が出力式「6√21」の単項演算部「√21」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「6√21」に含まれる単項演算部「√21」に対し、表示色「青色」が設定される(ステップS6)。   Next, it is assumed that the contents of the unary operation units “√12” and “√63” in the input expression “√12 × √63” are inherited by the unary operation unit “√21” in the output expression “6√21”. After the information is stored in the takeover information storage area 122 (step S5), the display color “blue” is set for the unary operation unit “√21” included in the output expression “6√21” (step S6). .

次に、入力式「√12×√63」に含まれる単項演算部「√12」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√12」に対応付けられた単項演算部「√21」が出力式「6√21」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√12」の表示色が、出力式「6√21」内の単項演算部「√21」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√12” included in the input expression “√12 × √63” is set as the processing target (step S11), it is associated with the unary operation unit “√12” to be processed. It is determined that the unary operation unit “√21” exists in the output expression “6√21” (step S12; Yes), and the display color of the unary operation unit “√12” to be processed is the output expression “6√21”. The display color “blue” of the unary operation unit “√21” is set (step S16).

次に、入力式「√12×√63」に含まれる単項演算部「√63」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√63」に対応付けられた単項演算部「√21」が出力式「6√21」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√63」の表示色が、出力式「6√21」内の単項演算部「√21」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√63” included in the input expression “√12 × √63” is set as the processing target (step S11), it is associated with the unary operation unit “√63” to be processed. It is determined that the unary operation unit “√21” exists in the output expression “6√21” (step S12; Yes), and the display color of the unary operation unit “√63” to be processed is the output expression “6√21”. The display color “blue” of the unary operation unit “√21” is set (step S16).

そして、図6(b)に示すように、入力式「√12×√63」及び出力式「6√21」が表示されるとともに、これらに含まれる単項演算部「√12」,「√63」,「√21」が表示色「青色」で表示される(ステップS22)。   Then, as shown in FIG. 6B, the input formula “√12 × √63” and the output formula “6√21” are displayed, and the unary arithmetic units “√12” and “√63” included therein are displayed. ”And“ √21 ”are displayed in the display color“ blue ”(step S22).

(動作例4)
まず図7(a)に示すように、ユーザが数式「√7(√2+√5)」を入力式として入力すると(ステップS1)、入力式「√7(√2+√5)」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「√7(√2+√5)」が演算により単純化されて演算結果としての出力式「√35+√14」が算出されて、入力式「√7(√2+√5)」及び出力式「√35+√14」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 4)
First, as shown in FIG. 7A, when the user inputs the mathematical expression “√7 (√2 + √5)” as an input expression (step S1), the input expression “√7 (√2 + √5)” is displayed. The Subsequently, when the user instructs to execute the calculation (step S2; Yes), the input expression “√7 (√2 + √5)” is simplified by the calculation, and the output expression “√35 + √14” as the calculation result is obtained. It is determined that at least one unary operation unit is included in the input expression “√7 (√2 + √5)” and the output expression “√35 + √14” (step S3; Yes).

次に、入力式「√7(√2+√5)」における単項演算部「√7」の内容が出力式「√35+√14」の単項演算部「√35」,「√14」に引き継がれ、単項演算部「√2」の内容が出力式「√35+√14」の単項演算部「√14」に引き継がれ、単項演算部「√5」の内容が出力式「√35+√14」の単項演算部「√35」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「√35+√14」に含まれる単項演算部「√35」,「√14」に対し、表示色「青色」,「赤色」が設定される(ステップS6)。   Next, the contents of the unary operation part “√7” in the input expression “√7 (√2 + √5)” are transferred to the unary operation parts “√35” and “√14” in the output expression “√35 + √14”. The contents of the unary operation unit “√2” are carried over to the unary operation unit “√14” of the output formula “√35 + √14”, and the contents of the unary operation unit “√5” of the output expression “√35 + √14” After the takeover information that has been taken over by the unary operation unit “√35” is stored in the takeover information storage area 122 (step S5), the unary operation unit “√35” included in the output expression “√35 + √14”, Display colors “blue” and “red” are set for “√14” (step S6).

次に、入力式「√7(√2+√5)」に含まれる単項演算部「√7」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√7」に対応付けられた単項演算部「√35」,「√14」が出力式「√35+√14」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√7」の表示色が、出力式「√35+√14」内の単項演算部「√35」,「√14」の各表示色「青色」,「赤色」の混合色「紫色」に設定される(ステップS17)。   Next, after the unary operation unit “√7” included in the input expression “√7 (√2 + √5)” is set as the processing target (step S11), it corresponds to the unary operation unit “√7” to be processed. It is determined that the attached unary operation units “√35” and “√14” exist in the output expression “√35 + √14” (step S12; Yes), and the display color of the unary operation unit “√7” to be processed Is set to the mixed color “purple” of the display colors “blue” and “red” of the unary operation units “√35” and “√14” in the output formula “√35 + √14” (step S17).

次に、入力式「√7(√2+√5)」に含まれる単項演算部「√2」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√2」に対応付けられた単項演算部「√14」が出力式「√35+√14」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√2」の表示色が、出力式「√35+√14」内の単項演算部「√14」の表示色「赤色」に設定される(ステップS16)。   Next, after the unary operation unit “√2” included in the input expression “√7 (√2 + √5)” is set as the processing target (step S11), it corresponds to the unary operation unit “√2” to be processed. It is determined that the attached unary operation unit “√14” is present in the output expression “√35 + √14” (step S12; Yes), and the display color of the unary operation unit “√2” to be processed is the output expression “ The display color “red” of the unary operation unit “√14” within √35 + √14 ”is set (step S16).

次に、入力式「√7(√2+√5)」に含まれる単項演算部「√5」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√5」に対応付けられた単項演算部「√35」が出力式「√35+√14」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√5」の表示色が、出力式「√35+√14」内の単項演算部「√35」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√5” included in the input expression “√7 (√2 + √5)” is set as the processing target (step S11), it corresponds to the unary operation unit “√5” to be processed. It is determined that the attached unary operation unit “√35” exists in the output expression “√35 + √14” (step S12; Yes), and the display color of the unary operation unit “√5” to be processed is changed to the output expression “ The display color “blue” of the unary operation unit “√35” within √35 + √14 ”is set (step S16).

そして、図7(b)に示すように、入力式「√7(√2+√5)」及び出力式「√35+√14」が表示されるとともに、これらに含まれる単項演算部「√5」,「√35」が表示色「青色」で表示され、単項演算部「√2」,「√14」が表示色「赤色」で表示され、単項演算部「√7」が表示色「紫色」で表示される(ステップS22)。   Then, as shown in FIG. 7B, the input expression “√7 (√2 + √5)” and the output expression “√35 + √14” are displayed, and the unary operation unit “√5” included therein is displayed. , “√35” is displayed in the display color “blue”, the unary operation units “√2” and “√14” are displayed in the display color “red”, and the unary operation unit “√7” is displayed in the “purple” color. Is displayed (step S22).

(動作例5)
まず図8(a)に示すように、ユーザが数式「√9×2√3」を入力式として入力すると(ステップS1)、入力式「√9×2√3」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「√9×2√3」が演算により単純化されて演算結果としての出力式「6√3」が算出されて、入力式「√9×2√3」及び出力式「6√3」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 5)
First, as shown in FIG. 8A, when the user inputs the mathematical expression “√9 × 2√3” as an input formula (step S1), the input formula “√9 × 2√3” is displayed. Subsequently, when the user instructs to execute the calculation (step S2; Yes), the input expression “√9 × 2√3” is simplified by the calculation, and the output expression “6√3” is calculated as the calculation result. Then, it is determined that at least one unary operation unit is included in each of the input expression “√9 × 2√3” and the output expression “6√3” (step S3; Yes).

次に、入力式「√9×2√3」における単項演算部「√3」の内容が出力式「6√3」の単項演算部「√3」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「6√3」に含まれる単項演算部「√3」に対し、表示色「青色」が設定される(ステップS6)。   Next, the takeover information indicating that the content of the unary operation unit “√3” in the input expression “√9 × 2√3” is transferred to the unary operation unit “√3” of the output equation “6√3” is the takeover information. After being stored in the storage area 122 (step S5), the display color “blue” is set for the unary operation unit “√3” included in the output expression “6√3” (step S6).

次に、入力式「√9×2√3」に含まれる単項演算部「√9」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√9」に対応付けられた単項演算部が出力式「6√3」内に存在しないと判定され(ステップS12;No)、処理対象の単項演算部「√9」の表示色が「既定色」に設定される(ステップS13)。   Next, after the unary operation unit “√9” included in the input expression “√9 × 2√3” is set as the processing target (step S11), it is associated with the unary operation unit “√9” to be processed. It is determined that the unary arithmetic unit does not exist in the output formula “6√3” (step S12; No), and the display color of the unary arithmetic unit “√9” to be processed is set to “default color” (step S12). S13).

次に、入力式「√9×2√3」に含まれる単項演算部「√3」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√3」に対応付けられた単項演算部「√3」が出力式「6√3」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√3」の表示色が、出力式「6√3」内の単項演算部「√3」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√3” included in the input expression “√9 × 2√3” is set as the processing target (step S11), it is associated with the unary operation unit “√3” to be processed. It is determined that the unary operation unit “√3” is present in the output expression “6√3” (step S12; Yes), and the display color of the unary operation unit “√3” to be processed is the output expression “6√3”. The display color “blue” of the unary operation unit “√3” in “” is set (step S16).

そして、図8(b)に示すように、入力式「√9×2√3」及び出力式「6√3」が表示されるとともに、これらに含まれる単項演算部「√3」が表示色「青色」で表示される(ステップS22)。   As shown in FIG. 8B, the input expression “√9 × 2√3” and the output expression “6√3” are displayed, and the unary operation unit “√3” included in these is displayed in the display color. Displayed in “blue” (step S22).

(動作例6)
まず図9(a)に示すように、ユーザが数式「√8+√5−2√2+2√3」を入力式として入力すると(ステップS1)、入力式「√8+√5−2√2+2√3」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「√8+√5−2√2+2√3」が演算により単純化されて演算結果としての出力式「√5+2√3」が算出されて、入力式「√8+√5−2√2+2√3」及び出力式「√5+2√3」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 6)
First, as shown in FIG. 9A, when the user inputs the mathematical expression “√8 + √5-2-22 + 2 + √3” as an input expression (step S1), the input expression “√8 + √5-2-2√2 + 2√3”. Is displayed. Subsequently, when the user instructs to execute the calculation (step S2; Yes), the input expression “√8 + √5-2-2√2 + 2√3” is simplified by the calculation and the output expression “√5 + 2√3” is obtained as the calculation result. ”Is calculated, and it is determined that the input expression“ √8 + √5-2-2√2 + 2√3 ”and the output expression“ √5 + 2√3 ”each include at least one unary operation unit (step S3; Yes). .

次に、入力式「√8+√5−2√2+2√3」における単項演算部「√5」の内容が出力式「√5+2√3」の単項演算部「√5」に引き継がれ、入力式「√8+√5−2√2+2√3」における単項演算部「√3」の内容が出力式「√5+2√3」の単項演算部「√3」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「√5+2√3」に含まれる単項演算部「√5」,「√3」に対し、表示色「青色」,「赤色」が設定される(ステップS6)。   Next, the contents of the unary operation unit “√5” in the input expression “√8 + √5-2-22 + 2 + √3” are transferred to the unary operation unit “√5” of the output expression “√5 + 2√3”, and the input expression Inheritance information is that the content of the unary operation unit “√3” in “√8 + √5-2√2 + 2√3” is inherited by the unary operation unit “√3” of the output expression “√5 + 2√3” After being stored in the storage area 122 (step S5), the display colors “blue” and “red” are set for the unary operation units “√5” and “√3” included in the output formula “√5 + 2√3”. (Step S6).

次に、入力式「√8+√5−2√2+2√3」に含まれる単項演算部「√8」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√8」に対応付けられた単項演算部が出力式「√5+2√3」内に存在しないと判定され(ステップS12;No)、処理対象の単項演算部「√8」の表示色が「既定色」に設定される(ステップS13)。
また、同様に、「√8+√5−2√2+2√3」に含まれる単項演算部「√2」の表示色が「既定色」に設定される(ステップS13)。
Next, after the unary operation unit “√8” included in the input expression “√8 + √5-2-22 + 2 + √3” is set as the processing target (step S11), the unary operation unit “√8” to be processed is set. Is determined not to exist in the output expression “√5 + 2√3” (step S12; No), and the display color of the processing target unary operation unit “√8” is set to “default color”. It is set (step S13).
Similarly, the display color of the unary operation unit “√2” included in “√8 + √5-2-22 + 2 + √3” is set to “default color” (step S13).

次に、入力式「√8+√5−2√2+2√3」に含まれる単項演算部「√5」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√5」に対応付けられた単項演算部「√5」が出力式「√5+2√3」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√5」の表示色が、出力式「√5+2√3」内の単項演算部「√5」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “√5” included in the input expression “√8 + √5-2-22 + 2 + √3” is set as the processing target (step S11), the unary operation unit “√5” to be processed is set. Is determined to exist in the output expression “√5 + 2√3” (step S12; Yes), and the display color of the processing target unary operation unit “√5” is output. The display color “blue” of the unary operation unit “√5” in the expression “√5 + 2√3” is set (step S16).

次に、入力式「√8+√5−2√2+2√3」に含まれる単項演算部「√3」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「√3」に対応付けられた単項演算部「√3」が出力式「√5+2√3」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「√3」の表示色が、出力式「√5+2√3」内の単項演算部「√3」の表示色「赤色」に設定される(ステップS16)。   Next, after the unary operation unit “√3” included in the input expression “√8 + √5-2-22 + 2 + √3” is set as the processing target (step S11), the unary operation unit “√3” to be processed Is determined to exist in the output expression “√5 + 2√3” (step S12; Yes), and the display color of the unary operation unit “√3” to be processed is output. The display color “red” of the unary operation unit “√3” in the expression “√5 + 2√3” is set (step S16).

そして、図9(b)に示すように、入力式「√8+√5−2√2+2√3」及び出力式「√5+2√3」が表示されるとともに、これらに含まれる単項演算部「√5」が表示色「青色」で表示され、単項演算部「√3」が表示色「赤色」で表示される(ステップS22)。   Then, as shown in FIG. 9B, an input expression “√8 + √5−2√2 + 2√3” and an output expression “√5 + 2√3” are displayed, and a unary operation unit “√” included therein is displayed. 5 ”is displayed in the display color“ blue ”, and the unary operation unit“ √3 ”is displayed in the display color“ red ”(step S22).

(動作例7)
まず図10(a)に示すように、ユーザが数式「log2+log3」を入力式として入力すると(ステップS1)、入力式「log2+log3」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「log2+log3」が演算により単純化されて演算結果としての出力式「log6」が算出されて、入力式「log2+log3」及び出力式「log6」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 7)
First, as shown in FIG. 10A, when the user inputs the mathematical expression “log2 + log3” as an input expression (step S1), the input expression “log2 + log3” is displayed. Subsequently, when the user issues an operation execution instruction (step S2; Yes), the input expression “log2 + log3” is simplified by the operation, and the output expression “log6” as the operation result is calculated, and the input expression “log2 + log3” and It is determined that the output expression “log6” includes at least one unary operation unit (step S3; Yes).

次に、入力式「log2+log3」における単項演算部「log2」,「log3」の内容が出力式「log6」の単項演算部「log6」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「log6」に含まれる単項演算部「log6」に対し、表示色「青色」が設定される(ステップS6)。   Next, the takeover information that the contents of the unary operation units “log2” and “log3” in the input expression “log2 + log3” have been taken over by the unary operation unit “log6” of the output expression “log6” is stored in the takeover information storage area 122 (Step S5), the display color “blue” is set for the unary operation unit “log6” included in the output expression “log6” (Step S6).

次に、入力式「log2+log3」に含まれる単項演算部「log2」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「log2」に対応付けられた単項演算部「log6」が出力式「log6」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「log2」の表示色が、出力式「log6」内の単項演算部「log6」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “log2” included in the input expression “log2 + log3” is set as the processing target (step S11), the unary operation unit “log6” associated with the processing target unary operation unit “log2” Is present in the output expression “log6” (step S12; Yes), the display color of the unary operation unit “log2” to be processed is the display color “of the unary operation unit“ log6 ”in the output expression“ log6 ”. “Blue” is set (step S16).

次に、入力式「log2+log3」に含まれる単項演算部「log3」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「log3」に対応付けられた単項演算部「log6」が出力式「log6」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「log3」の表示色が、出力式「log6」内の単項演算部「log6」の表示色「青色」に設定される(ステップS16)。   Next, after the unary operation unit “log3” included in the input expression “log2 + log3” is set as the processing target (step S11), the unary operation unit “log6” associated with the processing target unary operation unit “log3” Is present in the output expression “log6” (step S12; Yes), the display color of the unary operation unit “log3” to be processed is the display color “of the unary operation unit“ log6 ”in the output expression“ log6 ”. “Blue” is set (step S16).

そして、図10(b)に示すように、入力式「log2+log3」及び出力式「log6」が表示されるとともに、これらに含まれる単項演算部「log2」,「log3」,「log6」が表示色「青色」で表示される(ステップS22)。   Then, as shown in FIG. 10B, the input expression “log2 + log3” and the output expression “log6” are displayed, and the unary operation units “log2”, “log3”, “log6” included therein are displayed in display colors. Displayed in “blue” (step S22).

(動作例8)
まず図11(a)に示すように、ユーザが数式「sin(π/4)+3sin(π/4)」を入力式として入力すると(ステップS1)、入力式「sin(π/4)+3sin(π/4)」が表示される。続けてユーザが演算の実行指示を行うと(ステップS2;Yes)、入力式「sin(π/4)+3sin(π/4)」が演算により単純化されて演算結果としての出力式「4sin(π/4)」が算出されて、入力式「sin(π/4)+3sin(π/4)」及び出力式「4sin(π/4)」に単項演算部がそれぞれ少なくとも1つ含まれると判定される(ステップS3;Yes)。
(Operation example 8)
First, as shown in FIG. 11A, when the user inputs the mathematical expression “sin (π / 4) + 3sin (π / 4)” as an input expression (step S1), the input expression “sin (π / 4) + 3sin ( π / 4) ”is displayed. Subsequently, when the user instructs to execute the calculation (step S2; Yes), the input expression “sin (π / 4) + 3sin (π / 4)” is simplified by the calculation and the output expression “4sin ( π / 4) ”is calculated, and it is determined that the input expression“ sin (π / 4) + 3sin (π / 4) ”and the output expression“ 4sin (π / 4) ”each include at least one unary operation unit. (Step S3; Yes).

次に、入力式「sin(π/4)+3sin(π/4)」における単項演算部「sin(π/4)」の内容が出力式「4sin(π/4)」の単項演算部「sin(π/4)」に引き継がれた旨の引継ぎ情報が引き継ぎ情報記憶領域122に記憶された後(ステップS5)、出力式「4sin(π/4)」に含まれる単項演算部「sin(π/4)」に対し、表示色「青色」が設定される(ステップS6)。   Next, the content of the unary operation unit “sin (π / 4)” in the input expression “sin (π / 4) + 3sin (π / 4)” is the unary operation unit “sin” of the output expression “4sin (π / 4)”. After the takeover information that has been taken over by (π / 4) ”is stored in the takeover information storage area 122 (step S5), the unary operation unit“ sin (π) included in the output expression “4sin (π / 4)” / 4) ", the display color" blue "is set (step S6).

次に、入力式「sin(π/4)+3sin(π/4)」に含まれる1つ目の単項演算部「sin(π/4)」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「sin(π/4)」に対応付けられた単項演算部「sin(π/4)」が出力式「4sin(π/4)」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「sin(π/4)」の表示色が、出力式「4sin(π/4)」内の単項演算部「sin(π/4)」の表示色「青色」に設定される(ステップS16)。   Next, after the first unary operation unit “sin (π / 4)” included in the input expression “sin (π / 4) + 3sin (π / 4)” is set as a processing target (step S11), It is determined that the unary operation unit “sin (π / 4)” associated with the unary operation unit “sin (π / 4)” to be processed exists in the output expression “4sin (π / 4)” (step S12). Yes), the display color of the unary operation unit “sin (π / 4)” to be processed is the display color of the unary operation unit “sin (π / 4)” in the output expression “4sin (π / 4)”. “Blue” is set (step S16).

次に、入力式「sin(π/4)+3sin(π/4)」に含まれる2つ目の単項演算部「sin(π/4)」が処理対象として設定された後(ステップS11)、処理対象の単項演算部「sin(π/4)」に対応付けられた単項演算部「sin(π/4)」が出力式「4sin(π/4)」内に存在すると判定され(ステップS12;Yes)、処理対象の単項演算部「sin(π/4)」の表示色が、出力式「4sin(π/4)」内の単項演算部「sin(π/4)」の表示色「青色」に設定される(ステップS16)。   Next, after the second unary operation unit “sin (π / 4)” included in the input expression “sin (π / 4) + 3sin (π / 4)” is set as a processing target (step S11), It is determined that the unary operation unit “sin (π / 4)” associated with the unary operation unit “sin (π / 4)” to be processed exists in the output expression “4sin (π / 4)” (step S12). Yes), the display color of the unary operation unit “sin (π / 4)” to be processed is the display color of the unary operation unit “sin (π / 4)” in the output expression “4sin (π / 4)”. “Blue” is set (step S16).

そして、図11(b)に示すように、入力式「sin(π/4)+3sin(π/4)」及び出力式「4sin(π/4)」が表示されるとともに、これらに含まれる単項演算部「sin(π/4)」が表示色「青色」で表示される(ステップS22)。   Then, as shown in FIG. 11 (b), the input expression “sin (π / 4) + 3sin (π / 4)” and the output expression “4sin (π / 4)” are displayed, and the unary included in them is displayed. The calculation unit “sin (π / 4)” is displayed in the display color “blue” (step S22).

以上、本実施の形態によれば、図3のステップS22や図4〜図11等に示したように、ユーザ操作に基づいて、少なくとも1つの単項演算子を含む数式が入力式として入力されると、入力式が演算により単純化され、少なくとも1つの単項演算子を含む形態で計算結果としての出力式が算出され、入力式及び出力式が表示されるので、演算過程の途中解を順次表示する従来の場合と異なり、最終的な演算結果が表示されるのに時間が掛かったり、表示内容が増加することで最終の演算結果を見つけるのに手間が掛かったりするのが防止され、演算結果を直ぐに得ることができる。
また、図3のステップS6,S16、S17や図4〜図11等に示したように、単項演算子のオペランドのうち、出力式に含まれる出力式側オペランドがそれぞれ異なる表示態様で表示され、入力式に含まれるとともに出力式側オペランドの算出元として演算に使用された入力式側オペランドが当該出力式側オペランドに対応する表示態様で表示されるので、出力式の各部分が入力式の何れの部分に起因して算出されたのかを把握することができる。従って、どのような演算過程で演算結果が得られたのかを把握することができる。
As described above, according to the present embodiment, as shown in step S22 of FIG. 3, FIGS. 4 to 11, and the like, a mathematical expression including at least one unary operator is input as an input expression based on a user operation. And the input expression is simplified by calculation, the output expression as the calculation result is calculated in a form including at least one unary operator, and the input expression and output expression are displayed, so the intermediate solution of the calculation process is displayed in order Unlike the conventional case, it takes time to display the final calculation result, and it is prevented that it takes time to find the final calculation result due to the increase in display contents. Can be obtained immediately.
Also, as shown in steps S6, S16, S17 of FIG. 3 and FIGS. 4 to 11, etc., among the operands of the unary operator, the output expression side operands included in the output expression are displayed in different display modes, The input expression-side operand that is included in the input expression and used as the calculation source of the output-expression-side operand is displayed in a display mode corresponding to the output-expression-side operand. It is possible to grasp whether it was calculated due to the portion of. Therefore, it is possible to grasp in which calculation process the calculation result is obtained.

また、図3のステップS17や図7(b)等に示したように、入力式側オペランドが複数の出力式側オペランドの算出元として演算に使用されている場合には、これら複数の出力式側オペランドそれぞれに対応する表示態様で当該入力式側オペランドが表示されるので、出力式の一部分が入力式の複数の部分に起因して算出されている場合であっても、その対応関係を把握することができる。従って、どのような演算過程で演算結果が得られたのかを確実に把握することができる。   Also, as shown in step S17 of FIG. 3, FIG. 7B, etc., when the input expression side operand is used in the calculation as the calculation source of the plurality of output expression side operands, the plurality of output expressions Because the input expression side operand is displayed in a display mode corresponding to each of the side operands, even if a part of the output expression is calculated due to multiple parts of the input expression, the correspondence is grasped can do. Therefore, it is possible to reliably grasp in which calculation process the calculation result is obtained.

また、図3のステップS17や図7(b)等に示したように、出力式に含まれる出力式側オペランドはそれぞれ異なる表示色で表示され、入力式側オペランドが複数の出力式側オペランドの算出元として演算に使用されている場合には、これら複数の出力式側オペランドそれぞれの表示色を混合した表示色で当該入力式側オペランドが表示されるので、出力式の一部分が入力式の複数の部分に起因して算出されている場合に、その対応関係を容易に把握することができる。従って、どのような演算過程で演算結果が得られたのかを確実かつ容易に把握することができる。   Also, as shown in step S17 of FIG. 3, FIG. 7B, etc., the output expression side operands included in the output expression are displayed in different display colors, and the input expression side operand is a plurality of output expression side operands. When used as a calculation source in an operation, the input expression-side operand is displayed in a display color that is a mixture of the display colors of each of the plurality of output-expression-side operands. In the case where it is calculated due to this part, the correspondence can be easily grasped. Therefore, it is possible to reliably and easily grasp in which calculation process the calculation result is obtained.

なお、上記の実施の形態における関数電卓1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更可能であることは勿論である。   In addition, it is needless to say that the detailed configuration and detailed operation of each component of the scientific calculator 1 in the above embodiment can be appropriately changed without departing from the gist of the present invention.

例えば、本発明に係る電子計算機を関数電卓1として説明したが、本発明が適用可能なものは、このような製品に限定されず、携帯電話、パソコン、PDA(Personal Digital Assistant)、ゲーム機などの電子機器全般に適用可能である。また、本発明に係る計算プログラム130は、関数電卓1に対して着脱可能なメモリカード、CD等に記憶されることとしてもよい。   For example, although the electronic calculator according to the present invention has been described as the scientific calculator 1, the present invention is not limited to such a product, but a mobile phone, a personal computer, a PDA (Personal Digital Assistant), a game machine, etc. It can be applied to all electronic devices. Further, the calculation program 130 according to the present invention may be stored in a memory card, a CD, or the like that is detachable from the scientific calculator 1.

また、出力式に含まれる単項演算部のオペランドを、それぞれ異なる表示色で表示することとして説明したが、出力式の各オペランドが互いに異なる表示態様で表示されれば良く、例えば出力式の各オペランドを異なる書体で表示することとしてもよい。この場合には、入力式側のオペランドが複数の出力式側オペランドの算出元として演算に使用されているときに、これら複数の出力式側オペランドそれぞれに対応する表示態様で、当該入力式側オペランドが表示される。   Further, the operands of the unary operation unit included in the output expression have been described as being displayed in different display colors. However, each operand of the output expression only needs to be displayed in a different display mode. For example, each operand of the output expression May be displayed in different typefaces. In this case, when the operand on the input expression side is used as the calculation source of the plurality of operands on the output expression side, the input expression side operand is displayed in a display mode corresponding to each of the plurality of operands on the output expression side. Is displayed.

1 関数電卓
2 入力キー群
3 ディスプレイ
11 CPU
12 RAM
13 記憶部
14 キー入力部
15 表示部
130 計算プログラム
1 Scientific calculator 2 Input key group 3 Display 11 CPU
12 RAM
13 Storage Unit 14 Key Input Unit 15 Display Unit 130 Calculation Program

Claims (5)

ユーザ操作に基づいて、単項演算子及びオペランドからなる単項演算部を少なくとも1つ含む数式を入力式として入力する数式入力手段と、
前記入力式を演算により単純化し、単項演算部を少なくとも1つ含む形態で計算結果としての出力式を算出する計算手段と、
前記入力式及び前記出力式を表示する表示手段と、
前記表示手段により表示される単項演算部のオペランドのうち、出力式に含まれる出力式側オペランドを、それぞれ異なる表示態様で前記表示手段に表示させる出力式表示態様制御手段と、
前記表示手段により表示される単項演算部のオペランドのうち、前記入力式に含まれるとともに前記出力式側オペランドの算出元として演算に使用された入力式側オペランドを、当該出力式側オペランドに対応する表示態様で前記表示手段に表示させる入力式表示態様制御手段と、
を備えることを特徴とする電子計算機。
Formula input means for inputting, as an input formula, a formula including at least one unary operation unit including a unary operator and an operand based on a user operation;
Calculation means for simplifying the input expression by calculation and calculating an output expression as a calculation result in a form including at least one unary operation unit;
Display means for displaying the input expression and the output expression;
Among the operands of the unary operation unit displayed by the display means, output expression display mode control means for causing the display means to display output expression side operands included in the output expression, respectively, in different display modes;
Of the operands of the unary operation unit displayed by the display means, the input expression side operand included in the input expression and used for the calculation as the calculation source of the output expression side operand corresponds to the output expression side operand. Input type display mode control means for displaying on the display means in a display mode;
An electronic computer comprising:
請求項1記載の電子計算機において、
前記入力式表示態様制御手段は、
前記入力式側オペランドが複数の前記出力式側オペランドの算出元として演算に使用されている場合に、これら複数の出力式側オペランドそれぞれに対応する表示態様で、当該入力式側オペランドを表示させることを特徴とする電子計算機。
The electronic computer according to claim 1,
The input type display mode control means includes:
When the input expression-side operand is used as a calculation source of a plurality of output expression-side operands, the input expression-side operand is displayed in a display mode corresponding to each of the plurality of output expression-side operands. An electronic computer characterized by
請求項2記載の電子計算機において、
前記出力式表示態様制御手段は、
出力式に含まれる前記出力式側オペランドを、それぞれ異なる表示色で前記表示手段に表示させ、
前記入力式表示態様制御手段は、
前記入力式側オペランドが複数の前記出力式側オペランドの算出元として演算に使用されている場合に、これら複数の出力式側オペランドそれぞれの表示色を混合した表示色で、当該入力式側オペランドを表示させることを特徴とする電子計算機。
The electronic computer according to claim 2, wherein
The output type display mode control means includes:
The output expression side operands included in the output expression are displayed on the display means in different display colors, respectively.
The input type display mode control means includes:
When the input expression side operand is used as a calculation source of the plurality of output expression side operands in the operation, the input expression side operand is set to a display color obtained by mixing the display colors of the plurality of output expression side operands. An electronic computer characterized by being displayed.
請求項1〜3の何れか一項に記載の電子計算機において、
前記単項演算子は、根号であることを特徴とする電子計算機。
In the electronic computer as described in any one of Claims 1-3,
An electronic computer, wherein the unary operator is a root sign.
表示手段を備えるコンピュータに、
ユーザ操作に基づいて、単項演算子及びオペランドからなる単項演算部を少なくとも1つ含む数式を入力式として入力する数式入力機能と、
前記入力式を演算により単純化し、単項演算部を少なくとも1つ含む形態で計算結果としての出力式を算出する計算機能と、
前記入力式及び前記出力式を前記表示手段に表示させる表示制御手段と、
前記表示手段により表示される単項演算部のオペランドのうち、出力式に含まれる出力式側オペランドを、それぞれ異なる表示態様で前記表示手段に表示させる出力式表示態様制御機能と、
前記表示手段により表示される単項演算部のオペランドのうち、前記入力式に含まれるとともに前記出力式側オペランドの算出元として演算に使用された入力式側オペランドを、当該出力式側オペランドに対応する表示態様で前記表示手段に表示させる入力式表示態様制御機能と、
を実現させることを特徴とするプログラム。
In a computer provided with a display means,
A mathematical expression input function for inputting, as an input expression, a mathematical expression including at least one unary operation unit including a unary operator and an operand based on a user operation;
A calculation function for simplifying the input expression by calculation and calculating an output expression as a calculation result in a form including at least one unary operation unit;
Display control means for displaying the input expression and the output expression on the display means;
Among the operands of the unary operation unit displayed by the display means, an output expression display mode control function for causing the display means to display output expression side operands included in the output expression, respectively, in different display forms;
Of the operands of the unary operation unit displayed by the display means, the input expression side operand included in the input expression and used for the calculation as the calculation source of the output expression side operand corresponds to the output expression side operand. An input type display mode control function to be displayed on the display means in a display mode;
A program characterized by realizing.
JP2010193936A 2010-08-31 2010-08-31 Electronic computer and program Active JP5728853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010193936A JP5728853B2 (en) 2010-08-31 2010-08-31 Electronic computer and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010193936A JP5728853B2 (en) 2010-08-31 2010-08-31 Electronic computer and program

Publications (2)

Publication Number Publication Date
JP2012053547A true JP2012053547A (en) 2012-03-15
JP5728853B2 JP5728853B2 (en) 2015-06-03

Family

ID=45906822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010193936A Active JP5728853B2 (en) 2010-08-31 2010-08-31 Electronic computer and program

Country Status (1)

Country Link
JP (1) JP5728853B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023071056A (en) * 2021-11-10 2023-05-22 カシオ計算機株式会社 Electronic apparatus, display control method and display program
US20230342013A1 (en) * 2020-09-16 2023-10-26 Casio Computer Co., Ltd. Information processing method, system, information processing device, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200483A (en) * 1993-12-28 1995-08-04 Sharp Corp Electronic calculator
JP2008140148A (en) * 2006-12-01 2008-06-19 Casio Comput Co Ltd Formula display control device and formula display control program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200483A (en) * 1993-12-28 1995-08-04 Sharp Corp Electronic calculator
JP2008140148A (en) * 2006-12-01 2008-06-19 Casio Comput Co Ltd Formula display control device and formula display control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230342013A1 (en) * 2020-09-16 2023-10-26 Casio Computer Co., Ltd. Information processing method, system, information processing device, and program
JP2023071056A (en) * 2021-11-10 2023-05-22 カシオ計算機株式会社 Electronic apparatus, display control method and display program

Also Published As

Publication number Publication date
JP5728853B2 (en) 2015-06-03

Similar Documents

Publication Publication Date Title
JP5488058B2 (en) Graph display device and program
JP5029721B2 (en) Graph display device and graph display control program
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
JP2007264741A (en) Mathematical expression display controller and mathematical expression display control program
AU2011200565B2 (en) Electronic calculator and display method for displaying mathematical expression in full color
JP5012935B2 (en) Formula arithmetic device and program
JP5652104B2 (en) Electronic computer and program
JP5589433B2 (en) Formula input device and program
JP5728853B2 (en) Electronic computer and program
JP2016027473A (en) Formula display control unit and program
JP2018077917A (en) Tax calculator, tax calculation method and program
JP5104045B2 (en) Graph display device and control program thereof
JP7110847B2 (en) Calculator, calculation confirmation method, information registration method, and program
JP6028329B2 (en) Mathematical expression display device and mathematical expression display program
JP5692317B2 (en) Calculation apparatus and calculation program
JP2020057263A (en) Computer, computing method, and program
JP2014149642A (en) Mathematical expression display control device, mathematical expression display control method, and program
JP2006099256A (en) Arithmetic and control unit and program
JP2013073427A (en) Mathematical expression display device and program
JP5487997B2 (en) Electronic computer and program
JP2011070249A (en) Calculator and program
JP2000122979A (en) Calculating device and storage medium
JP5380981B2 (en) Mathematical formula calculation apparatus and mathematical formula calculation program
JP5392343B2 (en) Electronic device and program
JP2008146532A (en) Mathematical expression processor, and mathematical expression processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130827

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150108

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150310

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150323

R150 Certificate of patent or registration of utility model

Ref document number: 5728853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150