JP5919699B2 - Mathematical expression display device and program - Google Patents
Mathematical expression display device and program Download PDFInfo
- Publication number
- JP5919699B2 JP5919699B2 JP2011212044A JP2011212044A JP5919699B2 JP 5919699 B2 JP5919699 B2 JP 5919699B2 JP 2011212044 A JP2011212044 A JP 2011212044A JP 2011212044 A JP2011212044 A JP 2011212044A JP 5919699 B2 JP5919699 B2 JP 5919699B2
- Authority
- JP
- Japan
- Prior art keywords
- formula
- display
- mathematical expression
- line
- mathematical
- 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.)
- Active
Links
Images
Description
本発明は、数式表示装置及びプログラムに関する。 The present invention relates to a mathematical expression display device and a program.
従来、電子式計算機などの数式表示装置においては、括弧を複数段含む数式を入力すると、対応する開括弧と閉括弧を段数毎に同色で表示することができるようになっている(例えば特許文献1参照)。 Conventionally, in a mathematical expression display device such as an electronic calculator, when a mathematical expression including a plurality of parentheses is input, a corresponding open parenthesis and closed parenthesis can be displayed in the same color for each number of stages (for example, Patent Documents). 1).
しかしながら、特許文献1記載の技術では、対応する開括弧と閉括弧に同色が付されるために括弧の対応関係は明確になるものの、式変形により括弧の段数が変化すると括弧に付される色が変化するので、式変形前後における数式部分の対応関係がわからなくなってしまう。
However, in the technique described in
本発明の課題は、計算式中で同値の数式部分を分かりやすく識別表示することのできる数式表示装置及びプログラムを提供することである。 The subject of this invention is providing the numerical formula display apparatus and program which can carry out identification display of the equivalent numerical formula part in a calculation formula in an easy-to-understand manner.
以上の課題を解決するため、請求項1に記載の発明は、数式表示装置において、
表示部と、
前記表示部に計算式を表示させる計算式表示制御手段と、
前記計算式が、変数と数式部分との置換式である場合に、当該数式部分と当該変数とを対応付けて記憶する数式部分変数記憶手段と、
前記計算式から、括弧で囲まれた部分を含む数式部分を検出する数式部分検出手段と、
前記数式部分検出手段により検出された数式部分を記憶する数式部分記憶手段と、
前記計算式のうち、前記数式部分記憶手段に記憶された数式部分と、当該数式部分の一部を前記置換式の変数で置き換えた各数式部分とを、同一表示形態で表示させる数式部分識別表示制御手段と、
を備えることを特徴とする。
In order to solve the above problems, the invention according to
A display unit;
A calculation formula display control means for Ru display the calculation formula on the display unit,
Formula part variable storage means for storing the formula part and the variable in association with each other when the calculation formula is a substitution formula for the variable and formula part;
Formula part detection means for detecting a formula part including a part enclosed in parentheses from the formula,
Formula part storage means for storing the formula part detected by the formula part detection means;
Wherein among the formulas, and it remembers been mathematical expression part into the equation partial storage means and each formula moiety by replacing part of the mathematical expression part in the variable of the substituent formula, formulas partial identification to be displayed in the same display form Display control means;
It is characterized by providing.
本発明によれば、計算式中で同値の数式部分を分かりやすく識別表示することができる。 According to the present invention, it is possible to easily identify and display an equivalent mathematical part in a calculation formula.
以下、添付図面を参照して本発明に係る実施形態の一例を詳細に説明する。ただし、発明の範囲は、図示例に限定されない。 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
As shown in the figure, the
入力キー群2は、ユーザから数値や演算記号等の数式構成要素の入力操作を受けたり、各種処理の指示操作を受けたりするためのキー群であり、それぞれ固有の機能を割り当てられた複数のキーを備えている。本実施の形態においては、入力キー群2は、テンキー20や演算記号キー21、カーソルキー22、EXEキー23、DELキー24等を備えている。
The
このうち、テンキー20は数値の入力操作を受けるキーであり、演算記号キー21は四則演算の演算子や括弧などの入力操作を受けるキーである。
Among these, the
カーソルキー22は、ディスプレイ3内で編集対象位置や選択対象位置を示すカーソルを所定の方向に移動させる場合等に押下されるキーであり、本実施の形態においては、上下左右の4方向について入力可能に構成されている。
The
EXEキー23は、処理の実行指示や決定指示の入力操作を受けるキーであり、例えば数式の入力後には演算処理の実行を指示するキーとして機能するようになっている。DELキー24は、ディスプレイ3に表示されている数値や演算記号などの削除操作を受けるキーである。
The
ディスプレイ3は、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等により構成されており、入力キー群2などの操作に応じた文字や符号、数式、演算結果などの他、関数電卓1を使用するために必要な各種データを表示するようになっている。なお、本実施の形態におけるディスプレイ3には、タッチパネル30が表示画面全面に亘って一体的に設けられている。
The
[1.2 機能構成]
続いて、関数電卓1の機能構成を説明する。
図2は、関数電卓1の概略的な機能構成を示すブロック図である。
[1.2 Functional configuration]
Next, the functional configuration of the
FIG. 2 is a block diagram illustrating a schematic functional configuration of the
この図に示すように、関数電卓1は、入力部14と、表示部15と、記録媒体読取部17と、メモリ12と、CPU(Central Processing Unit)11と、を備えて構成されている。
As shown in the figure, the
入力部14は、上述の入力キー群2やタッチパネル30を備えており、押下されたキーやタッチパネル30の位置に対応する操作信号をCPU11に出力するようになっている。
The
表示部15は、上述のディスプレイ3を備えており、CPU11からの表示信号に従って各種情報をディスプレイ3に表示するようになっている。
The
記録媒体読取部17は、着脱自在に装着されるUSBメモリ等の外部情報記憶媒体17Aから情報を読み取るものである。
The recording
メモリ12は、各種プログラム及び各種データを記憶している。具体的には、メモリ12は、本発明に係るプログラムとしての数式表示処理プログラム122を記憶している。また、メモリ12は、実行される各種プログラムやこれら各種プログラムに係るデータ等を格納する複数のワークエリアを有する。例えば、本実施の形態におけるメモリ12は、ワークエリアとして数式部分記憶エリア120や入力データ記憶エリア121などを有するようになっている。
The
数式表示処理プログラム122は、後述の数式表示処理(図4参照)をCPU11に実行させるためのプログラムである。
The mathematical expression
数式部分記憶エリア120は、図3に示すように、後述の数式表示処理(図4参照)における識別表示の表示形態として複数種類の表示形態を記憶しており、この数式表示処理において入力された計算式中、識別表示の対象とすべき各数式部分を、表示形態に対応付けて記憶するようになっている。また、変数に等号で結ばれた数式部分を記憶する場合には、数式部分記憶エリア120は、この数式部分に対応する表示形態に当該変数(置き換える変数)を更に対応付けて記憶するようになっている。ここで、本実施の形態においては、識別表示の表示形態として、複数種類の色(識別表示の対象とすべき数式部分を構成する文字の表示色)及び下線(識別表示の対象とすべき数式部分に付される下線)が用いられている。そして、識別表示の対象とすべき各数式部分は、対応する表示形態(色、下線)で表示されるようになっている。
As shown in FIG. 3, the formula
入力データ記憶エリア121は、ユーザにより入力された計算式のデータを記憶するようになっている。
The input
CPU11は、関数電卓1の各部を中央制御する。具体的には、CPU11は、メモリ12に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをワークエリアに展開し、ワークエリアに展開されたプログラムとの協働で、各種処理を実行する。
The
[1.3 関数電卓の動作]
続いて、関数電卓1の動作について説明する。
[1.3 Operation of scientific calculator]
Next, the operation of the
図4は、数式表示処理の動作を説明するためのフローチャートである。なお、この数式表示処理は、ユーザにより入力部14を介して数式表示処理の実行指示が入力されると、メモリ12から数式表示処理プログラム122が読み出されてメモリ12内のワークエリアに適宜展開される結果、当該数式表示処理プログラム122とCPU11との協働によって実行される。
FIG. 4 is a flowchart for explaining the operation of the mathematical expression display process. In addition, in this mathematical expression display process, when an instruction to execute the mathematical expression display process is input by the user via the
この図に示すように、数式表示処理においては、まずCPU11は、数式部分記憶エリア120の数式部分をリセットし(ステップS1)、ユーザ操作による1行目の計算式の入力を検知する(ステップS2)。ここで、本実施の形態においては、計算式として、ユーザ操作により入力される入力式、または、当該入力式を変形してユーザ操作により入力される変形式が用いられる。また各計算式に括弧又は関数が含まれていてもよい。
As shown in this figure, in the formula display process, first, the
次に、CPU11は、入力操作に応じた計算式をディスプレイ3に表示させる(ステップS3)。
Next, the
次に、CPU11は、入力された計算式の中に、変数に等号で結ばれた数式部分が含まれるか否かを判定し(ステップS4)、変数に等号で結ばれた数式部分が含まれないと判定した場合(ステップS4;No)には、後述のステップS7に移行する。ここで、本実施の形態においては、変数に等号で結ばれた数式部分とは、少なくとも1つの変数を含むものであり、変数に等号で結ばれた数値(定数)は、変数に等号で結ばれた数式部分に該当しない。
Next, the
また、ステップS4において入力された計算式の中に、変数に等号で結ばれた数式部分が含まれると判定した場合(ステップS4;Yes)には、CPU11は、ステップS4にて検出された数式部分と同値の数式部分が数式部分記憶エリア120にあるか否かを判定する(ステップS5)。
On the other hand, when it is determined that the formula entered in step S4 includes a mathematical expression part connected with an equal sign in the variable (step S4; Yes), the
このステップS5において同値の数式部分があると判定した場合(ステップS5;Yes)には、CPU11は、後述のステップS7に移行する。
If it is determined in step S5 that there is an equivalent mathematical part (step S5; Yes), the
また、ステップS5において同値の数式部分がないと判定した場合(ステップS5;No)には、CPU11は、変数に等号で結ばれた数式部分と、当該変数と、これらの表示形態としての色及び下線の種類とを対応付けて数式部分記憶エリア120に記憶させる(ステップS6)。
On the other hand, if it is determined in step S5 that there is no equivalent mathematical part (step S5; No), the
次に、CPU11は、入力された計算式中に開括弧または関数があるか否かを判定し(ステップS7)、開括弧または関数がないと判定した場合(ステップS7;No)には、後述のステップS11に移行する。
Next, the
ここで、本実施の形態においては、関数とは、前置関数、後置関数若しくは括弧付き関数又はこれらの合成関数である。前置関数としては、√,log,ln,ex,10x,sin,cos,tan などが挙げられる。後置関数としては、x2,x-1,x!,x√ などが挙げられる。括弧付き関数としては、d/dx,d2/dx2,∫dx,Σ などが挙げられる。 Here, in the present embodiment, the function is a prefix function, a postfix function, a function with parentheses, or a composite function thereof. Examples of the prefix function include √, log, ln, e x , 10 x , sin, cos, and tan. Examples of postfix functions include x 2 , x −1 , x !, x√, and the like. Examples of functions with parentheses include d / dx, d 2 / dx 2 , ∫dx, and Σ.
また、上述のステップS7において開括弧または関数があると判定した場合(ステップS7;Yes)には、CPU11は、入力された計算式中の各開括弧について、この開括弧及びこれに対応する閉括弧により囲まれた部分を、それぞれ数式部分として検出するとともに、入力された計算式中の各関数について、引数を含むこの関数全体を、それぞれ数式部分として検出する(ステップS8)。なお、本実施の形態においては、括弧により囲まれた数式部分には、開括弧及び閉括弧それ自体が含まれる。
If it is determined in step S7 that there is an open parenthesis or a function (step S7; Yes), the
次に、CPU11は、ステップS8にて検出された各数式部分について、これと同値の数式部分が数式部分記憶エリア120にあるか否かを判定し(ステップS9)、同値の数式部分があると判定した場合(ステップS9;Yes)には、後述のステップS11に移行する。
Next, the
また、ステップS9において同値の数式部分がないと判定した場合(ステップS9;No)には、CPU11は、ステップS8において検出した各数式部分とこれらの表示形態としての色及び下線の種類とを対応付けて数式部分記憶エリア120に記憶させる(ステップS10)。
When it is determined in step S9 that there is no equivalent mathematical part (step S9; No), the
次に、CPU11は、入力された計算式の中に、分子又は分母に加減算を具備する分数が含まれるか否かを判定し(ステップS11)、分子又は分母に加減算を具備する分数が含まれないと判定した場合(ステップS11;No)には、後述のステップS15に移行する。
Next, the
また、ステップS11において分子又は分母に加減算を具備する分数が含まれると判定した場合(ステップS11;Yes)には、CPU11は、このような分数をそれぞれ数式部分として検出する(ステップS12)。
If it is determined in step S11 that the numerator or denominator includes a fraction having addition and subtraction (step S11; Yes), the
次に、CPU11は、ステップS12にて検出した各数式部分について、これと同値の数式部分が数式部分記憶エリア120にあるか否かを判定し(ステップS13)、同値の数式部分があると判定した場合(ステップS13;Yes)には、後述のステップS15に移行する。
Next, the
また、ステップS13において同値の数式部分がないと判定した場合(ステップS13;No)には、CPU11は、ステップS12にて検出した各数式部分とこれらの表示形態としての色及び下線の種類とを対応付けて数式部分記憶エリア120に記憶させる(ステップS14)。
When it is determined in step S13 that there is no equivalent mathematical part (step S13; No), the
次に、CPU11は、入力された計算式中で、数式部分記憶エリア120に記憶された数式部分と同値の各数式部分を、各数式部分に対応して記憶された表示形態でディスプレイ3に識別表示させる(ステップS15)。
Next, the
より詳細には、このときCPU11は、入力された計算式中で数式部分記憶エリア120に記憶された数式部分と同値の各数式部分について、各数式部分に対応して記憶された表示形態を、数式部分の長さの降順で上書き設定し、この上書き設定した表示形態で各数式部分をディスプレイ3に識別表示させる。具体的には、まず、CPU11は、数式部分記憶エリア120に記憶された数式部分のうち最長の数式部分について、これに対応する表示形態(色、下線)を設定する。次に、CPU11は、2番目に長い数式部分について、これに対応する表示形態(色、下線)を、それまでの表示形態に上書き設定する。これにより、最長の数式部分と2番目に長い数式部分が重畳している場合には、この重畳部分について、2番目に長い数式部分に対応する表示形態(色、下線)が設定される。以降同様にして、CPU11は、数式部分記憶エリア120に記憶された全ての数式部分について、長い数式部分から順に、各数式部分に対応する表示形態(色、下線)を、それまでの表示形態に上書き設定する。これにより、入力された計算式中で複数の数式部分が重畳している場合には、この重畳部分は、重畳している数式部分のうち最後に表示される数式部分(最短の数式部分)に対応する表示形態(色、下線)でディスプレイ3に表示される。
More specifically, at this time, the
次に、CPU11は、2行目以降の変形式の入力操作が行われるか否かを判定し(ステップS16)、変形式の入力操作が行われたと判定した場合(ステップS16;Yes)には、前述のステップS3に移行する。
Next, the
また、ステップS16において変形式の入力操作が行われたと判定した場合(ステップS16;No)には、CPU11は、ユーザによる終了操作が行われるか否かを判定する(ステップS17)。
If it is determined in step S16 that a deformable input operation has been performed (step S16; No), the
そして、このステップS17において、終了操作が行われていないと判定した場合(ステップS17;No)には、CPU11は、他の処理を行う一方、終了操作が行われたと判定した場合(ステップS17;Yes)には、数式表示処理を終了する。
If it is determined in step S17 that the end operation has not been performed (step S17; No), the
[1.4 動作例]
続いて、図面を参照しつつ、上述した関数電卓1の動作を具体的に説明する。なお、以下の動作例1及び動作例2で参照する図中、破線で囲まれている領域は、この領域に対する符号の対応色(「B」:青色(Blue)、「R」:赤色(Red)、「G」:緑色(Green)、「P」:ピンク(Pink)、「Lb」:水色(Light blue)、「Yg」:黄緑色(Yellow green)、「V」:バイオレット(Violet))によって当該領域内の文字が表示されていることを示している。また、以下の動作例3で参照する図中、囲み枠Fの符号「F」に対する添え字「b」は、当該囲み枠Fが青(blue)で表示されていることを示している。同様に、囲み枠Fの符号「F」に対する添え字「b」,「r」,「g」,「p」,「lb」,「yg」,「v」,「o」,「ib」,「br」は、当該囲み枠Fが青色(blue),赤色(red),緑色(green),ピンク(pink),水色(light blue),黄緑色(yellow green),バイオレット(violet),橙色(orange),藍色(indigo blue),茶色(brown)で表示されていることを示している。
[1.4 Operation example]
Next, the operation of the
(動作例1)
まず、数式表示処理が実行されると、数式部分記憶エリア120の数式部分がリセットされる(ステップS1)。
(Operation example 1)
First, when the formula display process is executed, the formula portion in the formula
次に図5の1行目に示すように、ユーザが計算式「a+b=A」を入力すると(ステップS2)、入力操作に応じた計算式「a+b=A」がディスプレイ3の1行目に入力されて表示される(ステップS3)。
Next, as shown in the first line of FIG. 5, when the user inputs the calculation formula “a + b = A” (step S <b> 2), the calculation formula “a + b = A” corresponding to the input operation is displayed on the first line of the
ここで、本動作例1の関数電卓1は、入力された計算式を、少ない行数での表示形式(一行表示形式)にて、ディスプレイ3に表示するようになっている。これにより、例えば、aの2乗は「a^2」と表示されるようになっている。
Here, the
次に、1行目の計算式「a+b=A」に変数「A」と等号で結ばれた数式部分「a+b」が含まれると判定されて(ステップS4;Yes)、この変数に等号で結ばれた数式部分「a+b」と同値の数式部分が数式部分記憶エリア120にないと判定されると(ステップS5;No)、図3に示すように、数式部分「a+b」及び変数「A」が、表示形態としての「青色」及び「直線の下線」に対応付けて数式部分記憶エリア120に記憶される(ステップS6)。
Next, it is determined that the formula part “a + b” connected with the variable “A” and the equal sign is included in the calculation formula “a + b = A” in the first line (step S4; Yes), and the equal sign is included in this variable. When it is determined that there is no mathematical expression part having the same value as the mathematical expression part “a + b” connected in the mathematical expression part storage area 120 (step S5; No), as shown in FIG. 3, the mathematical expression part “a + b” and the variable “A” "Is stored in the mathematical formula
次に、1行目の計算式「a+b=A」中に開括弧又は関数がないと判定されて(ステップS7;No)、当該計算式「a+b=A」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の1行目に示すように、ディスプレイ3に表示されている1行目の計算式「a+b=A」のうち数式部分記憶エリア120に記憶された数式部分「a+b」及び同値の変数「A」が、対応する表示形態(「青色」、「直線の下線」)で識別表示される(ステップS15)。なお、図5においては、識別表示された数式部分に付される下線の図示を省略している。
Next, it is determined that there is no open parenthesis or function in the calculation formula “a + b = A” in the first line (Step S7; No), and the numerator or denominator is provided with addition / subtraction in the calculation formula “a + b = A”. If it is determined that the fraction to be included is not included (step S11; No), as shown in the first line of FIG. 5, the mathematical expression “a + b = A” in the first line displayed on the
次に図5の2行目に示すように、ユーザが計算式「(a+b+c)^2」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「(a+b+c)^2」がディスプレイ3の2行目に入力されて表示される(ステップS3)。 Next, as shown in the second line of FIG. 5, when the user inputs the calculation formula “(a + b + c) ^ 2” (step S16; Yes), the calculation formula “(a + b + c) ^ 2” corresponding to the input operation is displayed. 3 is input and displayed on the second line (step S3).
次に、2行目の計算式「(a+b+c)^2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、当該計算式中に開括弧及び関数があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part ((a + b + c) ^ 2) on the second line does not include the formula part connected to the variable with an equal sign (step S4; No), It is determined that there is a function (step S7; Yes).
次に、括弧に囲まれた数式部分として「(a+b+c)」が検出されるとともに、関数の数式部分として「(a+b+c)^2」が検出されると(ステップS8)、これらの数式部分(「(a+b+c)」又は「(a+b+c)^2」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして図3に示すように、数式部分「(a+b+c)」は表示形態としての「赤色」及び「二重線の下線」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「(a+b+c)^2」は表示形態としての「緑色」及び「破線の下線」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “(a + b + c)” is detected as an equation part enclosed in parentheses and “(a + b + c) ^ 2” is detected as an equation part of a function (step S8), these equation parts (“ (A + b + c) ”or“ (a + b + c) ^ 2 ”) is determined that there is no mathematical expression part in the mathematical expression partial storage area 120 (No in step S9). Then, as shown in FIG. 3, the formula part “(a + b + c)” is stored in the formula
次に、2行目の計算式「(a+b+c)^2」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の2行目に示すように、ディスプレイ3に表示されている2行目の計算式「(a+b+c)^2」のうち数式部分記憶エリア120に記憶された数式部分「a+b」、「(a+b+c)」、及び「(a+b+c)^2」が、対応する表示形態(色、下線)で、長い数式部分から順に識別表示される(ステップS15)。
Next, if it is determined that the calculation formula “(a + b + c) ^ 2” in the second row does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), the second row in FIG. As shown, the formula parts “a + b”, “(a + b + c)” and “((a + b + c) ^ 2” stored in the formula
具体的には、先ず、これらのうち最長の数式部分である「(a+b+c)^2」について、対応する表示形態(「緑色」、「波線の下線」)が、設定される。次に、2番目に長い数式部分である「(a+b+c)」について、対応する表示形態(「赤色」、「二重線の下線」)が、上書き設定される。そして最後に、最短の数式部分である「a+b」について、対応する表示形態(「青色」、「直線の下線」)が、上書き設定される。従って図5の2行目に示すように、2行目の計算式「(a+b+c)^2」は、計算式の左の構成要素から順に「(」が表示形態(「赤色」、「二重線の下線」)で、「a+b」が表示形態(「青色」、「直線の下線」)で、「+c)」が表示形態(「赤色」、「二重線の下線」)で、「^2」が表示形態(「緑色」、「波線の下線」)でディスプレイ3に表示される。
Specifically, first, a corresponding display form (“green”, “underline of wavy line”) is set for “(a + b + c) ^ 2” which is the longest mathematical expression portion among them. Next, for “(a + b + c)”, which is the second longest mathematical expression portion, the corresponding display form (“red”, “underlined double line”) is overwritten. Finally, the corresponding display form (“blue”, “straight line underline”) is overwritten for “a + b” which is the shortest mathematical expression portion. Therefore, as shown in the second line of FIG. 5, the calculation formula “(a + b + c) ^ 2” in the second line is displayed in order from the left component of the calculation formula with “(” in the display form (“red”, “double” "A + b" is a display form ("blue", "straight line underline"), "+ c)" is a display form ("red", "double line underline"), and "^ 2 ”is displayed on the
次に図5の3行目に示すように、ユーザが2行目の計算式「(a+b+c)^2」を変形した変形式「=(A+c)^2」を入力すると(ステップS16;Yes)、入力操作に応じた変形式「=(A+c)^2」がディスプレイ3の3行目に入力されて表示される(ステップS3)。 Next, as shown in the third line of FIG. 5, when the user inputs a modified expression “= (A + c) ^ 2” obtained by modifying the calculation expression “(a + b + c) ^ 2” in the second line (step S16; Yes). The modified expression “= (A + c) ^ 2” corresponding to the input operation is input and displayed on the third line of the display 3 (step S3).
次に、3行目の計算式「=(A+c)^2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、当該計算式「=(A+c)^2」中に開括弧及び関数があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “= (A + c) ^ 2” on the third line does not include the formula part connected to the variable by an equal sign (step S4; No), and the formula “= (A + c) ) ^ "Is determined to have an open parenthesis and a function (step S7; Yes).
次に、括弧に囲まれた数式部分として「(A+c)」が検出されるとともに、関数の数式部分として「(A+c)^2」が検出されると(ステップS8)、これらの数式部分(「(A+c)」又は「(A+c)^2」)と同値の数式部分である「(a+b+c)」と「(a+b+c)^2」とが数式部分記憶エリア120にあると判定される(ステップS9;Yes)。 Next, when “(A + c)” is detected as an equation part surrounded by parentheses and “(A + c) ^ 2” is detected as an equation part of a function (step S8), these equation parts (“ It is determined that “(a + b + c)” and “(a + b + c) ^ 2”, which are mathematical parts equivalent to (A + c) ”or“ (A + c) ^ 2 ”), are in the mathematical expression part storage area 120 (step S9; Yes).
次に、3行目の計算式「=(A+c)^2」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の3行目に示すように、ディスプレイ3に表示されている3行目の計算式「=(A+c)^2」のうち数式部分記憶エリア120に記憶された数式部分と同値の数式部分「(A+c)」(数式部分「(a+b+c)」と同値)及び「(A+c)^2」(数式部分「(a+b+c)^2」と同値)、並びに数式部分「a+b」と同値の変数「A」が、対応する表示形態(色、下線)で、長い数式部分から順に識別表示される(ステップS15)。
Next, if it is determined that the calculation formula “= (A + c) ^ 2” in the third row does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), the third row in FIG. As shown in FIG. 4, in the calculation formula “= (A + c) ^ 2” on the third line displayed on the
具体的には、先ず、これらのうち最長の数式部分である「(A+c)^2」について、対応する表示形態(「緑色」、「波線の下線」)が、設定される。次に、2番目に長い数式部分である「(A+c)」について、対応する表示形態(「赤色」、「二重線の下線」)が、上書き設定される。そして最後に、最短の数式部分である「a+b」と同値の変数「A」について、対応する表示形態(「青色」、「直線の下線」)が、上書き設定される。従って図5の3行目に示すように、3行目の計算式「=(A+c)^2」は、計算式の左の構成要素から順に「(」が表示形態(「赤色」、「二重線の下線」)で、「A」が表示形態(「青色」、「直線の下線」)で、「+c)」が表示形態(「赤色」、「二重線の下線」)で、「^2」が表示形態(「緑色」、「波線の下線」)でディスプレイ3に表示される。
Specifically, first, a corresponding display form (“green”, “underline of wavy line”) is set for “(A + c) ^ 2” which is the longest mathematical expression portion among them. Next, for “(A + c)” which is the second longest mathematical expression portion, the corresponding display form (“red”, “underlined double line”) is overwritten. Finally, the corresponding display form (“blue”, “straight line underline”) is overwritten for the variable “A” having the same value as “a + b” which is the shortest mathematical expression portion. Therefore, as shown in the third line of FIG. 5, the calculation formula “= (A + c) ^ 2” in the third line is displayed in order from the left component of the calculation formula with “(” in the display form (“red”, “two "A" is the display form ("blue", "straight line underline"), "+ c)" is the display form ("red", "double line underline"), ^ 2 "is displayed on the
次に図5の4行目に示すように、ユーザが3行目の計算式「=(A+c)^2」を変形した変形式「=A^2+2Ac+c^2」を入力すると(ステップS16;Yes)、入力操作に応じた変形式「=A^2+2Ac+c^2」がディスプレイ3の4行目に入力されて表示される(ステップS3)。 Next, as shown in the fourth line of FIG. 5, when the user inputs a modified expression “= A ^ 2 + 2Ac + c ^ 2” obtained by modifying the calculation expression “= (A + c) ^ 2” in the third line (step S16; Yes). ), A modified expression “= A ^ 2 + 2Ac + c ^ 2” corresponding to the input operation is input and displayed on the fourth line of the display 3 (step S3).
次に、4行目の計算式「=A^2+2Ac+c^2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、当該計算式「=A^2+2Ac+c^2」中に関数があると判定される(ステップS7;Yes)。 Next, it is determined that the mathematical expression “= A ^ 2 + 2Ac + c ^ 2” in the fourth row does not include a mathematical expression part connected to the variable by an equal sign (step S4; No). It is determined that there is a function in “2 + 2Ac + c ^ 2” (step S7; Yes).
次に、関数の数式部分として「A^2」と「c^2」が検出されると(ステップS8)、これらの数式部分(「A^2」又は「c^2」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして図3に示すように、数式部分「A^2」は表示形態としての「ピンク」及び「点線の下線」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「c^2」は表示形態としての「水色」及び「二重点線の下線」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “A ^ 2” and “c ^ 2” are detected as the mathematical expression part of the function (step S8), mathematical expressions equivalent to these mathematical expression parts (“A ^ 2” or “c ^ 2”). It is determined that the portion is not in the formula partial storage area 120 (step S9; No). As shown in FIG. 3, the formula part “A ^ 2” is stored in the formula
次に、4行目の計算式「=A^2+2Ac+c^2」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の4行目に示すように、ディスプレイ3に表示されている4行目の計算式「=A^2+2Ac+c^2」のうち数式部分記憶エリア120に記憶された数式部分「A^2」及び「c^2」、数式部分記憶エリア120に記憶された数式部分と同値の数式部分「A^2+2Ac+c^2」(数式部分「(a+b+c)^2」と同値)、並びに数式部分「a+b」と同値の変数「A」が、対応する表示形態(色、下線)で、長い数式部分から順に識別表示される(ステップS15)。
Next, if it is determined that the calculation formula “= A ^ 2 + 2Ac + c ^ 2” in the fourth line does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), the fourth line in FIG. As shown in FIG. 4, the formula parts “A ^ 2” and “c ^ 2” stored in the formula
具体的には、先ず、これらのうち最長の数式部分である「A^2+2Ac+c^2」について、対応する表示形態(「緑色」、「波線の下線」)が、設定される。次に、2番目に長い数式部分である「A^2」について、対応する表示形態(「ピンク」、「点線の下線」)が、上書き設定される。次に、3番目に長い数式部分である「a+b」と同値の変数「A」について、対応する表示形態(「青色」、「直線の下線」)が、上書き設定される。そして最後に、最短の数式部分である「c^2」について、対応する表示形態(「水色」、「二重点線の下線」)が、上書き設定される。従って図5の4行目に示すように、4行目の計算式「=A^2+2Ac+c^2」は、計算式の左の構成要素から順に「A」が表示形態(「青色」、「直線の下線」)で、「^2」が表示形態(「ピンク」、「点線の下線」)で、「+2」が表示形態(「緑色」、「波線の下線」)で、「A」が表示形態(「青色」、「直線の下線」)で、「c+」が表示形態(「緑色」、「波線の下線」)で、「c^2」が表示形態(「水色」、「二重点線の下線」)でディスプレイ3に表示される。
Specifically, first, a corresponding display form (“green”, “underline of wavy line”) is set for “A ^ 2 + 2Ac + c ^ 2”, which is the longest mathematical expression portion among them. Next, with respect to “A ^ 2”, which is the second longest mathematical expression portion, the corresponding display form (“pink”, “underlined dotted line”) is overwritten. Next, the corresponding display form (“blue”, “straight line underline”) is overwritten for the variable “A” having the same value as “a + b”, which is the third longest mathematical expression portion. Finally, the corresponding display form (“light blue”, “underlined double dotted line”) is overwritten for “c ^ 2” which is the shortest mathematical expression portion. Accordingly, as shown in the fourth line of FIG. 5, the calculation formula “= A ^ 2 + 2Ac + c ^ 2” in the fourth line is displayed in the form of “A” in order from the left component of the calculation formula (“blue”, “straight line”). "^ 2" is the display form ("pink", "dotted line underline"), "+2" is the display form ("green", "dashed line"), and "A" is displayed In the form (“blue”, “line underline”), “c +” is the display form (“green”, “underlined wavy line”), and “c ^ 2” is the display form (“light blue”, “double dotted line”) Underlined ")" is displayed on the
次に図5の5行目に示すように、ユーザが4行目の計算式「=A^2+2Ac+c^2」を変形した変形式「=(a+b)^2+2(a+b)c+c^2」を入力すると(ステップS16;Yes)、入力操作に応じた変形式「=(a+b)^2+2(a+b)c+c^2」がディスプレイ3の5行目に入力されて表示される(ステップS3)。 Next, as shown in the fifth line of FIG. 5, the user inputs a modified expression “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” obtained by modifying the calculation expression “= A ^ 2 + 2Ac + c ^ 2” on the fourth line. Then (step S16; Yes), the transformation formula “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” corresponding to the input operation is input and displayed on the fifth line of the display 3 (step S3).
次に、5行目の計算式「=(a+b)^2+2(a+b)c+c^2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、5行目の計算式「=(a+b)^2+2(a+b)c+c^2」中に開括弧及び関数があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” in the fifth line does not include a mathematical expression part connected by an equal sign to the variable (Step S4; No), 5 It is determined that there is an open parenthesis and a function in the calculation formula “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” on the line (step S7; Yes).
次に、括弧に囲まれた数式部分として「(a+b)」が検出されるとともに、関数の数式部分として「(a+b)^2」と「c^2」が検出されると(ステップS8)、これらの数式部分(「(a+b)」、「(a+b)^2」、又は「c^2」)と同一又は同値の数式部分である「a+b」、「A^2」、及び「c^2」が数式部分記憶エリア120にあると判定される(ステップS9;Yes)。 Next, when “(a + b)” is detected as an equation part surrounded by parentheses, and “(a + b) ^ 2” and “c ^ 2” are detected as an equation part of a function (step S8), “A + b”, “A ^ 2”, and “c ^ 2” that are the same or equivalent to those mathematical parts (“(a + b)”, “(a + b) ^ 2”, or “c ^ 2”) "Is in the formula partial storage area 120 (step S9; Yes).
次に、5行目の計算式「=(a+b)^2+2(a+b)c+c^2」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の5行目に示すように、ディスプレイ3に表示されている5行目の計算式「=(a+b)^2+2(a+b)c+c^2」のうち数式部分記憶エリア120に記憶された数式部分「c^2」、並びに数式部分記憶エリア120に記憶された数式部分と同値の数式部分「(a+b)」(数式部分「a+b」と同値)、「(a+b)^2」(数式部分「A^2」と同値)、及び「(a+b)^2+2(a+b)c+c^2」(数式部分「(a+b+c)^2」と同値)が、対応する表示形態(色、下線)で、長い数式部分から順に識別表示される(ステップS15)。
Next, when it is determined that the calculation formula “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” on the fifth line does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), As shown in the fifth line of FIG. 5, the formula stored in the formula
具体的には、先ず、これらのうち最長の数式部分である「(a+b)^2+2(a+b)c+c^2」について、対応する表示形態(「緑色」、「波線の下線」)が、設定される。次に、2番目に長い数式部分である「(a+b)^2」について、対応する表示形態(「ピンク」、「点線の下線」)が、上書き設定される。次に、3番目に長い数式部分である「(a+b)」について、対応する表示形態(「青色」、「直線の下線」)が、上書き設定される。そして最後に、最短の数式部分である「c^2」について、対応する表示形態(「水色」、「二重点線の下線」)が、上書き設定される。従って図5の5行目に示すように、5行目の計算式「=(a+b)^2+2(a+b)c+c^2」は、計算式の左の構成要素から順に「(a+b)」が表示形態(「青色」、「直線の下線」)で、「^2」が表示形態(「ピンク」、「点線の下線」)で、「+2」が表示形態(「緑色」、「波線の下線」)で、「(a+b)」が表示形態(「青色」、「直線の下線」)で、「c+」が表示形態(「緑色」、「波線の下線」)で、「c^2」が表示形態(「水色」、「二重点線の下線」)でディスプレイ3に表示される。
Specifically, first, the corresponding display form (“green”, “underline of wavy line”) is set for “(a + b) ^ 2 + 2 (a + b) c + c ^ 2”, which is the longest mathematical part of these. The Next, with respect to “(a + b) ^ 2” which is the second longest mathematical expression portion, the corresponding display form (“pink”, “dashed underline”) is overwritten. Next, for “(a + b)”, which is the third longest mathematical expression portion, the corresponding display form (“blue”, “straight line underline”) is overwritten. Finally, the corresponding display form (“light blue”, “underlined double dotted line”) is overwritten for “c ^ 2” which is the shortest mathematical expression portion. Accordingly, as shown in the fifth line of FIG. 5, the calculation formula “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” in the fifth line displays “(a + b)” in order from the left component of the calculation formula. In the form (“blue”, “straight line underline”), “^ 2” is the display form (“pink”, “dotted line underline”), and “+2” is the display form (“green”, “underlined wavy line”) ), “(A + b)” is the display form (“blue”, “underlined straight line”), “c +” is the display form (“green”, “underlined wavy line”), and “c ^ 2” is displayed It is displayed on the
次に図5の6行目に示すように、ユーザが5行目の計算式「=(a+b)^2+2(a+b)c+c^2」を変形した変形式「=a^2+2ab+b^2+2ac+2bc+c^2」を入力すると(ステップS16;Yes)、入力操作に応じた変形式「=a^2+2ab+b^2+2ac+2bc+c^2」がディスプレイ3の6行目に入力されて表示される(ステップS3)。 Next, as shown in the sixth line of FIG. 5, the user modifies the calculation formula “= (a + b) ^ 2 + 2 (a + b) c + c ^ 2” in the fifth line “= a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2”. Is input (step S16; Yes), a deformation formula “= a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2” corresponding to the input operation is input and displayed on the sixth line of the display 3 (step S3).
次に、6行目の計算式「=a^2+2ab+b^2+2ac+2bc+c^2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、6行目の計算式「=a^2+2ab+b^2+2ac+2bc+c^2」中に関数があると判定される(ステップS7;Yes)。
Next, it is determined that the formula part “= a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2” on the sixth line does not include a mathematical expression part connected with an equal sign to the variable (step S4; No), and the calculation on the sixth line It is determined that there is a function in the expression “= a 2 + 2ab +
次に、関数の数式部分として「a^2」と「b^2」が検出されると(ステップS8)、これらの数式部分(「a^2」又は「b^2」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして図3に示すように、数式部分「a^2」は表示形態としての「黄緑色」と「二重波線の下線」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「b^2」は表示形態としての「バイオレット」と「破線の下線」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “a ^ 2” and “b ^ 2” are detected as the mathematical expression parts of the function (step S8), the mathematical expressions equivalent to these mathematical expression parts (“a ^ 2” or “b ^ 2”). It is determined that the portion is not in the formula partial storage area 120 (step S9; No). Then, as shown in FIG. 3, the formula part “a ^ 2” is stored in the formula
次に、6行目の計算式「=a^2+2ab+b^2+2ac+2bc+c^2」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の6行目に示すように、ディスプレイ3に表示されている6行目の計算式「=a^2+2ab+b^2+2ac+2bc+c^2」のうち数式部分記憶エリア120に記憶された数式部分「a^2」、「b^2」、及び「c^2」、並びに数式部分記憶エリア120に記憶された数式部分と同値の数式部分「a^2+2ab+b^2」(数式部分「A^2」と同値)及び「a^2+2ab+b^2+2ac+2bc+c^2」(数式部分「(a+b+c)^2」と同値)が、対応する表示形態(色、下線)で、長い数式部分から順に識別表示される(ステップS15)。
Next, when it is determined that the calculation formula “= a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2” on the sixth line does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), 6 in FIG. As shown in the line, among the calculation formulas “= a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2” on the sixth line displayed on the
具体的には、先ず、これらのうち最長の数式部分である「a^2+2ab+b^2+2ac+2bc+c^2」について、対応する表示形態(「緑色」、「波線の下線」)が、設定される。次に、2番目に長い数式部分である「a^2+2ab+b^2」について、対応する表示形態(「ピンク」、「点線の下線」)が、上書き設定される。ここで、残った3つの数式部分「a^2」、「b^2」、及び「c^2」は互いに同じ長さであるので、これ以降、数式部分記憶エリア120に先に記憶された数式部分から順に、対応する表示形態が上書き設定される。これにより、次に、「c^2」について、対応する表示形態(「水色」、「二重点線の下線」)が、上書き設定される。次に、「a^2」について、対応する表示形態(「黄緑色」、「二重波線の下線」)が、上書き設定される。そして最後に、「b^2」について、対応する表示形態(「バイオレット」、「破線の下線」)が、上書き設定される。従って図5の6行目に示すように、6行目の計算式「=a^2+2ab+b^2+2ac+2bc+c^2」は、計算式の左の構成要素から順に「a^2」が表示形態(「黄緑色」、「二重波線の下線」)で、「+2ab+」が表示形態(「ピンク」、「点線の下線」)で、「b^2」が表示形態(「バイオレット」、「破線の下線」)で、「+2ac+2bc+」が表示形態(「緑色」、「波線の下線」)で、「c^2」が表示形態(「水色」、「二重点線の下線」)でディスプレイ3に表示される。
Specifically, first, a corresponding display form (“green”, “underline of wavy line”) is set for “a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2” which is the longest mathematical expression portion. Next, for “a ^ 2 + 2ab + b ^ 2”, which is the second longest mathematical expression portion, the corresponding display form (“pink”, “dotted line underline”) is overwritten. Here, since the remaining three mathematical expression parts “a ^ 2”, “b ^ 2”, and “c ^ 2” have the same length, they are stored in the mathematical expression
次に図5の7行目に示すように、ユーザが6行目の計算式「=a^2+2ab+b^2+2ac+2bc+c^2」を変形した変形式「=a^2+b^2+c^2+2ab+2bc+2ca」を入力すると(ステップS16;Yes)、入力操作に応じた変形式「=a^2+b^2+c^2+2ab+2bc+2ca」がディスプレイ3の7行目に入力されて表示される(ステップS3)。 Next, as shown in the seventh line of FIG. 5, when the user inputs a modified expression “= a ^ 2 + b ^ 2 + c ^ 2 + 2ab + 2bc + 2ca” obtained by modifying the calculation expression “= a ^ 2 + 2ab + b ^ 2 + 2ac + 2bc + c ^ 2” on the sixth line ( In step S16; Yes), a modified expression “= a ^ 2 + b ^ 2 + c ^ 2 + 2ab + 2bc + 2ca” corresponding to the input operation is input and displayed on the seventh line of the display 3 (step S3).
次に、7行目の計算式「=a^2+b^2+c^2+2ab+2bc+2ca」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、7行目の計算式中に関数があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “= a ^ 2 + b ^ 2 + c ^ 2 + 2ab + 2bc + 2ca” on the seventh line does not include a mathematical expression part connected with an equal sign (step S4; No), and the calculation on the seventh line It is determined that there is a function in the expression (step S7; Yes).
次に、関数の数式部分として「a^2」、「b^2」、及び「c^2」が検出されると(ステップS8)、これらの数式部分(「a^2」、「b^2」、及び「c^2」)が数式部分記憶エリア120にあると判定される(ステップS9;Yes)。 Next, when “a ^ 2”, “b ^ 2”, and “c ^ 2” are detected as the mathematical part of the function (step S8), these mathematical parts (“a ^ 2”, “b ^”) are detected. 2 ”and“ c ^ 2 ”) are determined to be in the formula partial storage area 120 (step S9; Yes).
次に、7行目の計算式「=a^2+b^2+c^2+2ab+2bc+2ca」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図5の7行目に示すように、ディスプレイ3に表示されている7行目の計算式「=a^2+b^2+c^2+2ab+2bc+2ca」のうち数式部分記憶エリア120に記憶された数式部分「a^2」、「b^2」、及び「c^2」、並びに数式部分記憶エリア120に記憶された数式部分と同値の数式部分「a^2+b^2+c^2+2ab+2bc+2ca」(数式部分「(a+b+c)^2」と同値)が、対応する表示形態(色、下線)で、長い数式部分から順に識別表示される(ステップS15)。
Next, when it is determined that the calculation formula “= a ^ 2 + b ^ 2 + c ^ 2 + 2ab + 2bc + 2ca” on the seventh line does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), 7 in FIG. As shown in the line, among the calculation formulas “= a ^ 2 + b ^ 2 + c ^ 2 + 2ab + 2bc + 2ca” displayed on the
具体的には、先ず、これらのうち最長の数式部分である「a^2+b^2+c^2+2ab+2bc+2ca」について、対応する表示形態(「緑色」、「波線の下線」)が、設定される。ここで、残った3つの数式部分「a^2」、「b^2」、及び「c^2」は互いに同じ長さであるので、これ以降、数式部分記憶エリア120に先に記憶された数式部分から順に、対応する表示形態が上書き設定される。これにより、次に、「c^2」について、対応する表示形態(「水色」、「二重点線の下線」)が、上書き設定される。次に、「a^2」について、対応する表示形態(「黄緑色」、「二重波線の下線」)が、上書き設定される。そして最後に、「b^2」について、対応する表示形態(「バイオレット」、「破線の下線」)が、上書き設定される。従って図5の7行目に示すように、7行目の計算式は、計算式の左の構成要素から順に「a^2」が表示形態(「黄緑色」、「二重波線の下線」)で、「+」が表示形態(「緑色」、「波線の下線」)で、「b^2」が表示形態(「バイオレット」、「破線の下線」)で、「+」が表示形態(「緑色」、「波線の下線」)で、「c^2」が表示形態(「水色」、「二重点線の下線」)で、「+2ab+2bc+2ca」が表示形態(「緑色」、「波線の下線」)でディスプレイ3に表示される。
Specifically, first, a corresponding display form (“green”, “underline of wavy line”) is set for “a ^ 2 + b ^ 2 + c ^ 2 + 2ab + 2bc + 2ca” which is the longest mathematical expression portion. Here, since the remaining three mathematical expression parts “a ^ 2”, “b ^ 2”, and “c ^ 2” have the same length, they are stored in the mathematical expression
(動作例2)
まず、数式表示処理が実行されると、上述の動作例1と同様に、数式部分記憶エリア120の数式部分がリセットされる(ステップS1)。
(Operation example 2)
First, when the mathematical expression display process is executed, the mathematical formula portion in the mathematical formula
次に図6の1行目に示すように、ユーザが1行目の計算式「2x+y=8」を入力すると(ステップS2)、入力操作に応じた計算式「2x+y=8」がディスプレイ3の1行目に入力されて表示される(ステップS3)。
Next, as shown in the first line of FIG. 6, when the user inputs the calculation formula “2x + y = 8” in the first line (step S <b> 2), the calculation formula “2x + y = 8” corresponding to the input operation is displayed on the
次に、1行目の計算式「2x+y=8」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、1行目の計算式「2x+y=8」中に開括弧又は関数がないと判定される(ステップS7;No)。そして、1行目の計算式「2x+y=8」中に分子又は分母に加減算を具備する分数が含まれないと判定される(ステップS11;No)。なお、この段階において、数式部分記憶エリア120には数式部分が何も記憶されていないため、ステップS15における数式部分の識別表示はなされない。
Next, it is determined that the formula part “2x + y = 8” on the first line does not include the mathematical expression part connected to the variable by an equal sign (step S4; No), and the formula “2x + y = 8” on the first line. It is determined that there is no open parenthesis or function in “” (step S7; No). Then, it is determined that the calculation formula “2x + y = 8” in the first row does not include a fraction having addition / subtraction in the numerator or denominator (Step S11; No). At this stage, since no mathematical formula portion is stored in the mathematical formula
次に図6の2行目に示すように、ユーザが2行目の計算式「3x−4y=1」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「3x−4y=1」がディスプレイ3の2行目に入力されて表示される(ステップS3)。 Next, as shown in the second line of FIG. 6, when the user inputs the calculation formula “3x-4y = 1” in the second line (step S16; Yes), the calculation formula “3x-4y =” corresponding to the input operation. "1" is input and displayed on the second line of the display 3 (step S3).
次に、1行目の計算式と同様に、2行目の計算式「3x−4y=1」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、2行目の計算式「3x−4y=1」中に開括弧又は関数がないと判定される(ステップS7;No)。そして、2行目の計算式「3x−4y=1」中に分子又は分母に加減算を具備する分数が含まれないと判定される(ステップS11;No)。なお、この段階において、数式部分記憶エリア120には数式部分が何も記憶されていないため、ステップS15における数式部分の識別表示はなされない。
Next, similarly to the calculation formula in the first row, it is determined that the formula expression “3x-4y = 1” in the second row does not include a mathematical expression part connected to the variable by an equal sign (Step S4; No). ) It is determined that there is no open parenthesis or function in the calculation formula “
次に図6の3行目に示すように、ユーザが3行目の計算式「y=8−2x」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「y=8−2x」がディスプレイ3の3行目に入力されて表示される(ステップS3)。 Next, as shown in the third line of FIG. 6, when the user inputs the calculation formula “y = 8-2x” in the third line (step S16; Yes), the calculation formula “y = 8− 2x "is input and displayed on the third line of the display 3 (step S3).
次に、3行目の計算式「y=8−2x」に変数「y」と等号で結ばれた数式部分「8−2x」が含まれると判定されて(ステップS4;Yes)、この変数に等号で結ばれた数式部分「8−2x」と同値の数式部分が数式部分記憶エリア120にないと判定されると(ステップS5;No)、数式部分「8−2x」及び変数「y」が、表示形態としての「青色」に対応付けて数式部分記憶エリア120に記憶される(ステップS6)。なお、本動作例2において、数式部分は、表示形態としての色(文字の色)のみと対応付けて数式部分記憶エリア120に記憶されるようになっている。
Next, it is determined that the formula part “8-2x” connected to the variable “y” by the equal sign is included in the calculation formula “y = 8-2x” on the third line (step S4; Yes). If it is determined that there is no mathematical expression part equivalent to the mathematical expression part “8-2x” connected to the variable in the mathematical expression part storage area 120 (No in step S5), the mathematical expression part “8-2x” and the variable “ “y” is stored in the formula
次に、3行目の計算式「y=8−2x」中に開括弧又は関数がないと判定されて(ステップS7;No)、3行目の計算式「y=8−2x」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図6の3行目に示すように、ディスプレイ3に表示されている3行目の計算式のうち数式部分記憶エリア120に記憶された数式部分「8−2x」及び置き換える変数「y」が、対応する表示形態(「青色」)で識別表示される(ステップS15)。
Next, it is determined that there is no open parenthesis or function in the calculation formula “y = 8-2x” on the third line (step S7; No), and in the calculation formula “y = 8-2x” on the third line. When it is determined that the numerator or the denominator does not include a fraction having addition / subtraction (step S11; No), as shown in the third line of FIG. Of these, the mathematical formula portion “8-2x” and the replacement variable “y” stored in the mathematical formula
以下、4行目以降の計算式については、ステップS15において識別表示される数式部分又は変数を含む行の計算式についてのみ記載する。 Hereinafter, the calculation formulas for the fourth and subsequent lines will be described only for the calculation formulas for the lines including the formula portion or variable identified and displayed in step S15.
次に図6の5行目に示すように、4行目の計算式「3x−4y=1」が表示された後、ユーザが5行目の計算式「3x−4(8−2x)=1」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「3x−4(8−2x)=1」がディスプレイ3の5行目に入力されて表示される(ステップS3)。
Next, as shown in the fifth line of FIG. 6, after the calculation formula “
次に、5行目の計算式「3x−4(8−2x)=1」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、5行目の計算式「3x−4(8−2x)=1」中に開括弧があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “3x-4 (8-2x) = 1” in the fifth line does not include a mathematical expression part connected with an equal sign in the variable (Step S4; No), the fifth line It is determined that there is an open parenthesis in the formula “3x-4 (8-2x) = 1” (step S7; Yes).
次に、括弧に囲まれた数式部分として「(8−2x)」が検出されると(ステップS8)、この数式部分と同値の数式部分である「8−2x」が数式部分記憶エリア120にあると判定される(ステップS9;Yes)。
Next, when “(8-2x)” is detected as a formula part enclosed in parentheses (step S8), “8-2x”, which is a formula part equivalent to the formula part, is stored in the formula
次に、5行目の計算式「3x−4(8−2x)=1」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図6の5行目に示すように、ディスプレイ3に表示されている5行目の計算式のうち数式部分記憶エリア120に記憶された数式部分と同値の数式部分「(8−2x)」(数式部分「8−2x」と同値)が、対応する表示形態(「青色」)で識別表示される(ステップS15)。
Next, when it is determined that the calculation formula “3x-4 (8-2x) = 1” in the fifth row does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), FIG. As shown in the fifth line, the formula part “(8-2x)” (the formula part having the same value as the formula part stored in the formula
次に図6の9行目に示すように、8行目の計算式「x=3」が表示された後、ユーザが9行目の計算式「y=8−2x」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「y=8−2x」がディスプレイ3の9行目に入力されて表示される(ステップS3)。 Next, as shown in the ninth line of FIG. 6, after the calculation formula “x = 3” in the eighth line is displayed, the user inputs the calculation formula “y = 8-2x” in the ninth line (step S16; Yes), the calculation formula “y = 8−2x” corresponding to the input operation is input and displayed on the ninth line of the display 3 (step S3).
次に、9行目の計算式「y=8−2x」に変数「y」と等号で結ばれた数式部分「8−2x」が含まれると判定されて(ステップS4;Yes)、この変数に等号で結ばれた数式部分「8−2x」が数式部分記憶エリア120にあると判定される(ステップS5;Yes)。 Next, it is determined that the formula part “8-2x” connected to the variable “y” by the equal sign is included in the calculation formula “y = 8-2x” on the ninth line (step S4; Yes). It is determined that the formula part “8-2x” connected to the variable with an equal sign is in the formula part storage area 120 (step S5; Yes).
次に、9行目の計算式「y=8−2x」中に開括弧又は関数がないと判定されて(ステップS7;No)、9行目の計算式「y=8−2x」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図6の9行目に示すように、ディスプレイ3に表示されている9行目の計算式「y=8−2x」のうち数式部分記憶エリア120に記憶された数式部分と同値の数式部分「8−2x」及び変数「y」が、対応する表示形態(「青色」)で識別表示される(ステップS15)。
Next, it is determined that there is no open parenthesis or function in the calculation formula “y = 8-2x” on the ninth line (step S7; No), and in the calculation formula “y = 8-2x” on the ninth line. When it is determined that the numerator or the denominator does not include a fraction having addition / subtraction (step S11; No), as shown in the ninth line of FIG. The expression part “8-2x” and the variable “y” equivalent to the expression part stored in the expression
次に図6の10行目に示すように、9行目の計算式「y=8−2x」が表示された後、ユーザが10行目の計算式「y=8−2・3=2」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「y=8−2・3=2」がディスプレイ3の10行目に入力されて表示される(ステップS3)。 Next, as shown in the 10th line in FIG. 6, after the calculation formula “y = 8-2x” in the 9th line is displayed, the user calculates the calculation formula “y = 8−2 · 3 = 2” in the 10th line. "(Step S16; Yes), the calculation formula" y = 8-2 · 3 = 2 "corresponding to the input operation is input and displayed on the 10th line of the display 3 (step S3).
次に、10行目の計算式「y=8−2・3=2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、10行目の計算式「y=8−2・3=2」中に開括弧又は関数がないと判定される(ステップS7;No)。そして、10行目の計算式「y=8−2・3=2」中に分子又は分母に加減算を具備する分数が含まれないと判定される(ステップS11;No)。 Next, it is determined that the formula part “y = 8−2 · 3 = 2” in the 10th line does not include a mathematical expression part connected to the variable by an equal sign (Step S4; No), It is determined that there is no open parenthesis or function in the calculation formula “y = 8−2 · 3 = 2” (step S7; No). Then, it is determined that the calculation formula “y = 8−2 · 3 = 2” in the 10th row does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No).
次に、図6の10行目に示すように、ディスプレイ3に表示されている10行目の計算式のうち数式部分記憶エリア120に記憶された数式部分「8−2x」を置き換える変数「y」が、対応する表示形態(「青色」)で識別表示される(ステップS15)。
Next, as shown in the 10th line in FIG. 6, the variable “y” that replaces the formula part “8-2x” stored in the formula
(動作例3)
まず、数式表示処理が実行されると、上述の動作例1及び動作例2と同様に、数式部分記憶エリア120の数式部分がリセットされる(ステップS1)。
(Operation example 3)
First, when the mathematical expression display process is executed, the mathematical formula portion in the mathematical formula
なお、本動作例3における数式部分記憶エリア120は、数式部分と表示形態としての枠の色とを対応付けて記憶するようになっている。また、変数に等号で結ばれた数式部分については、この数式部分に対応する枠の色に当該変数を更に対応付けて記憶するようになっている。ここで枠の色とは、後述のステップS15にて表示対象を枠で囲んで識別表示させる場合における、枠の色を示している。
Note that the mathematical formula
次に図7の1行目に示すように、ユーザが1行目の計算式「(X−(1+√5)/2)(X−(1−√5)/2)」を入力すると(ステップS2)、入力操作に応じた計算式「(X−(1+√5)/2)(X−(1−√5)/2)」がディスプレイ3の1行目に入力されて表示される(ステップS3)。
Next, as shown in the first line of FIG. 7, when the user inputs the calculation formula “(X− (1 + √5) / 2) (X− (1−√5) / 2)” in the first line ( In step S2), the calculation formula “(X− (1 + √5) / 2) (X− (1−√5) / 2)” corresponding to the input operation is input and displayed on the first line of the
ここで、本動作例3の関数電卓1は、入力された計算式を、一般的な教科書や書籍などに表されている表示形式(自然表示形式)にて、ディスプレイ3に表示するようになっている。これにより、例えば、aの2乗は「a2」と表示されるようになっている。
Here, the
次に、1行目の計算式「(X−(1+√5)/2)(X−(1−√5)/2)」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、1行目の計算式「(X−(1+√5)/2)(X−(1−√5)/2)」中に開括弧があると判定される(ステップS7;Yes)。 Next, if the formula in the first line “(X− (1 + √5) / 2) (X− (1−√5) / 2)” does not include the mathematical expression part connected to the variable with an equal sign It is determined (Step S4; No), and it is determined that there is an open parenthesis in the calculation formula “(X− (1 + √5) / 2) (X− (1−√5) / 2)” on the first line. (Step S7; Yes).
次に、括弧に囲まれた数式部分として「(X−(1+√5)/2)」と「(X−(1−√5)/2)」が検出されると(ステップS8)、これらの数式部分(「(X−(1+√5)/2)」又は「(X−(1−√5)/2)」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして、数式部分「(X−1+√5/2)」は表示形態としての「青色の枠」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「(X−1−√5/2)」は表示形態としての「赤色の枠」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “(X− (1 + √5) / 2)” and “(X− (1−√5) / 2)” are detected as the mathematical expression part enclosed in parentheses (step S8), It is determined that there is no formula part having the same value as the formula part (“(X− (1 + √5) / 2)” or “(X− (1−√5) / 2)”) in the formula
次に、1行目の計算式「(X−(1+√5)/2)(X−(1−√5)/2)」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「(1+√5)/2」と「(1−√5)/2」が検出されて(ステップS12)、これらの数式部分(「(1+√5)/2」又は「(1−√5)/2」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS13;No)。そして、数式部分「(1+√5)/2」は表示形態としての「緑色の枠」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「(1−√5)/2」は表示形態としての「ピンクの枠」に対応付けて数式部分記憶エリア120に記憶される(ステップS14)。
Next, it is determined that the calculation formula “(X− (1 + √5) / 2) (X− (1−√5) / 2)” in the first row includes a fraction having addition / subtraction in the numerator or denominator. Then (step S11; Yes), “(1 + √5) / 2” and “(1−√5) / 2” are detected as fractional mathematical parts (step S12), and these mathematical parts (“ (1 + √5) / 2 ”or“ (1−√5) / 2 ”) is determined not to be in the formula portion storage area 120 (No in step S13). The formula part “(1 + √5) / 2” is stored in the formula
次に、図7の1行目に示すように、ディスプレイ3に表示されている1行目の計算式「(X−(1+√5)/2)(X−(1−√5)/2)」のうち数式部分記憶エリア120に記憶された数式部分「(X−(1−√5)/2)」、「(X−(1−√5)/2」、「(1+√5)/2」、及び「(1−√5/2)」が対応する表示形態(「色の枠」)で表示される(ステップS15)。
Next, as shown in the first line of FIG. 7, the calculation formula “(X− (1 + √5) / 2) (X− (1−√5) / 2” displayed on the
具体的には、「(X−(1−√5)/2)」が表示形態としての「青色の枠」で、「(X−(1−√5)/2)」が表示形態としての「赤色の枠」で、「(1+√5)/2」が表示形態としての「緑色の枠」で、そして「(1−√5)/2」が表示形態としての「ピンクの枠」で囲まれてディスプレイ3に表示される。
Specifically, “(X− (1−√5) / 2)” is the “blue frame” as the display form, and “(X− (1−√5) / 2)” is the display form. In “red frame”, “(1 + √5) / 2” is “green frame” as a display form, and “(1−√5) / 2” is “pink frame” as a display form. It is surrounded and displayed on the
次に図7の2行目に示すように、ユーザが2行目の計算式「XX−X((1−√5)/2)−X((1+√5)/2)」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「XX−X((1−√5)/2)−X((1+√5)/2)」がディスプレイ3の2行目に入力されて表示される(ステップS3)。
Next, when the user inputs the calculation formula “XX-X ((1−√5) / 2) −X ((1 + √5) / 2)” in the second row, as shown in the second row in FIG. (Step S16; Yes), the calculation formula “XX-X ((1−√5) / 2) −X ((1 + √5) / 2)” corresponding to the input operation is input to the second line of the
次に、2行目の計算式「XX−X((1−√5)/2)−X((1+√5)/2)」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、2行目の計算式「XX−X((1−√5)/2)−X((1+√5)/2)」中に開括弧があると判定される(ステップS7;Yes)。 Next, the formula part “XX-X ((1−√5) / 2) −X ((1 + √5) / 2)” in the second row does not include the mathematical expression part connected to the variable by an equal sign. (Step S4; No), and there is an open parenthesis in the calculation formula "XX-X ((1-√5) / 2) -X ((1 + √5) / 2)" in the second row It is determined (step S7; Yes).
次に、括弧に囲まれた数式部分として「((1−√5)/2)」と「((1+√5)/2)」が検出されると(ステップS8)、これらの数式部分(「((1−√5)/2)」又は「((1+√5)/2)」)と同値の数式部分である「(1−√5)/2」と「(1+√5)/2」は数式部分記憶エリア120にあると判定される(ステップS9;Yes)。 Next, when “((1−√5) / 2)” and “((1 + √5) / 2)” are detected as the formula parts enclosed in parentheses (step S8), these formula parts ( “((1−√5) / 2)” or “((1 + √5) / 2)”) and “(1−√5) / 2” and “(1 + √5) / 2 ”is determined to be in the formula partial storage area 120 (step S9; Yes).
次に、2行目の計算式「XX−X((1−√5)/2)−X((1+√5)/2)」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「(1−√5)/2」と「(1+√5)/2」が検出されて(ステップS12)、これらの数式部分(「(1−√5)/2」及び「(1+√5)/2」)が数式部分記憶エリア120にあると判定される(ステップS13;Yes)。 Next, when the calculation formula “XX-X ((1−√5) / 2) −X ((1 + √5) / 2)” in the second row includes a fraction having addition / subtraction in the numerator or denominator. If it is determined (step S11; Yes), “(1−√5) / 2” and “(1 + √5) / 2” are detected as fractional mathematical parts (step S12), and these mathematical parts ( It is determined that “(1−√5) / 2” and “(1 + √5) / 2”) are in the formula partial storage area 120 (step S13; Yes).
次に、図7の2行目に示すように、ディスプレイ3に表示されている2行目の計算式「XX−X((1−√5)/2)−X((1+√5)/2)」のうち数式部分記憶エリア120に記憶された数式部分「(1−√5)/2」及び「(1+√5)/2」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。
Next, as shown in the second line of FIG. 7, the calculation formula “XX−X ((1−√5) / 2) −X ((1 + √5) / 2) ”, the formula parts“ (1−√5) / 2 ”and“ (1 + √5) / 2 ”stored in the formula
具体的には、「(1−√5)/2」が表示形態としての「ピンクの枠」で、そして「(1+√5)/2」が表示形態としての「緑色の枠」で囲まれてディスプレイ3に表示される。
Specifically, “(1−√5) / 2” is surrounded by a “pink frame” as a display form, and “(1 + √5) / 2” is surrounded by a “green frame” as a display form. Are displayed on the
次に図7の3行目に示すように、ユーザが3行目の計算式「+((1+√5)/2)((1−√5)/2)」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「+((1+√5)/2)((1−√5)/2)」がディスプレイ3の3行目に入力されて表示される(ステップS3)。 Next, as shown in the third line of FIG. 7, when the user inputs the calculation formula “+ ((1 + √5) / 2) ((1−√5) / 2)” in the third line (step S16; Yes), the calculation formula “+ ((1 + √5) / 2) ((1−√5) / 2)” corresponding to the input operation is input and displayed on the third line of the display 3 (step S3). .
次に、3行目の計算式「+((1+√5)/2)((1−√5)/2)」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、3行目の計算式「+((1+√5)/2)((1−√5)/2)」中に開括弧があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “+ ((1 + √5) / 2) ((1−√5) / 2)” in the third row does not include a mathematical expression part connected to the variable by an equal sign. (Step S4; No) It is determined that there is an open parenthesis in the calculation formula “+ ((1 + √5) / 2) ((1−√5) / 2)” on the third line (Step S7; Yes). ).
次に、括弧に囲まれた数式部分として「((1+√5)/2)」と「((1−√5)/2)」が検出されると(ステップS8)、これらの数式部分(「((1+√5)/2)」又は「((1−√5)/2)」)と同値の数式部分である「(1+√5)/2」と「(1−√5)/2」は数式部分記憶エリア120にあると判定される(ステップS9;Yes)。 Next, when “((1 + √5) / 2)” and “((1−√5) / 2)” are detected as parenthesized mathematical expression parts (step S8), these mathematical expression parts ( “((1 + √5) / 2)” or “((1−√5) / 2)”) is equivalent to “(1 + √5) / 2” and “(1−√5) / 2 ”is determined to be in the formula partial storage area 120 (step S9; Yes).
次に、3行目の計算式「+((1+√5)/2)((1−√5)/2)」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「(1+√5)/2」と「(1−√5)/2」が検出されて(ステップS12)、これらの数式部分(「(1+√5)/2」及び「(1−√5)/2」)が数式部分記憶エリア120にあると判定される(ステップS13;Yes)。 Next, when it is determined that the calculation formula “+ ((1 + √5) / 2) ((1−√5) / 2)” in the third row includes a fraction having addition / subtraction in the numerator or denominator. (Step S11; Yes), “(1 + √5) / 2” and “(1−√5) / 2” are detected as fractional mathematical parts (Step S12), and these mathematical parts (“(1 + √ 5) / 2 ”and“ (1−√5) / 2 ”) are determined to be in the formula partial storage area 120 (step S13; Yes).
次に、図7の3行目に示すように、ディスプレイ3に表示されている3行目の計算式「+((1+√5)/2)((1−√5)/2)」のうち数式部分記憶エリア120に記憶された数式部分「(1+√5)/2」及び「(1−√5)/2」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。
Next, as shown in the third line of FIG. 7, the calculation formula “+ ((1 + √5) / 2) ((1−√5) / 2)” on the third line displayed on the
具体的には、「(1+√5)/2」が表示形態としての「緑色の枠」で、そして「(1−√5)/2」が表示形態としての「ピンクの枠」で囲まれてディスプレイ3に表示される。
Specifically, “(1 + √5) / 2” is surrounded by a “green frame” as a display form, and “(1−√5) / 2” is surrounded by a “pink frame” as a display form. Are displayed on the
次に図7の4行目に示すように、ユーザが4行目の計算式「XX−X((1−√5)/2+(1+√5)/2)」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「XX−X((1−√5)/2+(1+√5)/2)」がディスプレイ3の4行目に入力されて表示される(ステップS3)。 Next, as shown in the fourth line of FIG. 7, when the user inputs the calculation formula “XX−X ((1−√5) / 2 + (1 + √5) / 2)” in the fourth line (step S16; Yes), the calculation formula “XX−X ((1−√5) / 2 + (1 + √5) / 2)” corresponding to the input operation is input and displayed on the fourth line of the display 3 (step S3). .
次に、4行目の計算式「XX−X((1−√5)/2+(1+√5)/2)」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、4行目の計算式「XX−X((1−√5)/2+(1+√5)/2)」中に開括弧があると判定される(ステップS7;Yes)。 Next, it is determined that the formula “XX−X ((1−√5) / 2 + (1 + √5) / 2)” in the fourth row does not include a mathematical expression part connected with an equal sign in the variable. (Step S4; No) It is determined that there is an open parenthesis in the calculation formula “XX-X ((1−√5) / 2 + (1 + √5) / 2)” on the fourth line (Step S7; Yes). ).
次に、括弧に囲まれた数式部分として「((1−√5)/2+(1+√5)/2)」が検出されると(ステップS8)、この数式部分(「((1−√5)/2+(1+√5)/2)」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして、数式部分「((1−√5)/2+(1+√5)/2)」は表示形態としての「水色の枠」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “((1−√5) / 2 + (1 + √5) / 2)” is detected as a formula part enclosed in parentheses (step S8), this formula part (“((1-√√ 5) / 2 + (1 + √5) / 2) ”)) is determined not to be in the formula part storage area 120 (step S9; No). The mathematical formula portion “((1−√5) / 2 + (1 + √5) / 2)” is stored in the mathematical formula
次に、4行目の計算式「XX−X((1−√5)/2+(1+√5)/2)」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「(1−√5)/2」と「(1+√5)/2」が検出されて(ステップS12)、これらの数式部分(「(1−√5)/2」及び「(1+√5)/2」)が数式部分記憶エリア120にあると判定される(ステップS13;Yes)。 Next, when it is determined that the calculation formula “XX-X ((1−√5) / 2 + (1 + √5) / 2)” in the fourth row includes a fraction having addition / subtraction in the numerator or denominator. (Step S11; Yes), “(1-√5) / 2” and “(1 + √5) / 2” are detected as fractional mathematical parts (Step S12), and these mathematical parts (“(1- √5) / 2 ”and“ (1 + √5) / 2 ”) are determined to be in the formula partial storage area 120 (step S13; Yes).
次に、図7の4行目に示すように、ディスプレイ3に表示されている4行目の計算式「XX−X((1−√5)/2+(1+√5)/2)」のうち数式部分記憶エリア120に記憶された数式部分「((1−√5)/2+(1+√5)/2)」、「(1−√5)/2」及び「(1+√5)/2」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。
Next, as shown in the fourth line of FIG. 7, the calculation formula “XX−X ((1−√5) / 2 + (1 + √5) / 2)” of the fourth line displayed on the
具体的には、「((1−√5)/2+(1+√5)/2)」が表示形態としての「水色の枠」で、「(1−√5)/2」が表示形態としての「ピンクの枠」で、そして「(1+√5)/2」が表示形態としての「緑色の枠」で囲まれてディスプレイ3に表示される。
Specifically, “((1-√5) / 2 + (1 + √5) / 2)” is the “light blue frame” as the display form, and “(1-√5) / 2” is the display form. "(1 + √5) / 2" is displayed on the
次に図7の5行目に示すように、ユーザが5行目の計算式「+((1+√5)(1−√5)/4)」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「+((1+√5)(1−√5)/4)」がディスプレイ3の5行目に入力されて表示される(ステップS3)。 Next, as shown in the fifth line of FIG. 7, when the user inputs the calculation formula “+ ((1 + √5) (1−√5) / 4)” in the fifth line (step S16; Yes), the input A calculation formula “+ ((1 + √5) (1−√5) / 4)” corresponding to the operation is input and displayed on the fifth line of the display 3 (step S3).
次に、5行目の計算式「+((1+√5)(1−√5)/4)」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、5行目の計算式「+((1+√5)(1−√5)/4)」中に開括弧があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “+ ((1 + √5) (1−√5) / 4)” on the fifth line does not include a mathematical expression part connected with an equal sign in the variable (step S4; No) It is determined that there is an open parenthesis in the calculation formula “+ ((1 + √5) (1−√5) / 4)” on the fifth line (step S7; Yes).
次に、括弧に囲まれた数式部分として「((1+√5)(1−√5)/4)」、「(1+√5)」、及び「(1−√5)」が検出されると(ステップS8)、これらの数式部分(「((1+√5)(1−√5)/4)」、「(1+√5)」、又は「(1−√5)」)と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして、数式部分「((1+√5)(1−√5)/4)」は表示形態としての「黄緑色の枠」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「(1+√5)」は表示形態としての「バイオレットの枠」に対応付けて数式部分記憶エリア120に記憶され(ステップS10)、数式部分「(1−√5)」は表示形態としての「橙色の枠」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, “((1 + √5) (1−√5) / 4)”, “(1 + √5)”, and “(1−√5)” are detected as the formula part enclosed in parentheses. And (step S8), which is the same value as those formula parts ("((1 + √5) (1-√5) / 4)", "(1 + √5)", or "(1-√5)")) It is determined that the formula part is not in the formula part storage area 120 (step S9; No). The mathematical expression portion “((1 + √5) (1−√5) / 4)” is stored in the mathematical expression
次に、5行目の計算式「+((1+√5)(1−√5)/4)」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「(1+√5)(1−√5)/4」が検出されて(ステップS12)、この数式部分「(1+√5)(1−√5)/4」と同値の数式部分「((1+√5)(1−√5)/4)」が数式部分記憶エリア120にあると判定される(ステップS13;Yes)。 Next, when it is determined that the calculation formula “+ ((1 + √5) (1−√5) / 4)” in the fifth row includes a fraction having addition / subtraction in the numerator or denominator (step S11; Yes), “(1 + √5) (1−√5) / 4” is detected as a fractional mathematical part (step S12), and this mathematical part “(1 + √5) (1−√5) / 4” It is determined that the equation part “((1 + √5) (1−√5) / 4)” having the same value as is in the equation part storage area 120 (step S13; Yes).
次に、図7の5行目に示すように、ディスプレイ3に表示されている5行目の計算式「+((1+√5)(1−√5)/4)」のうち数式部分記憶エリア120に記憶された数式部分「((1+√5)(1−√5)/4)」、「(1+√5)」及び「(1−√5)」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。
Next, as shown in the fifth line of FIG. 7, the partial expression storage is included in the calculation expression “+ ((1 + √5) (1−√5) / 4)” on the fifth line displayed on the
具体的には、「((1+√5)(1−√5)/4)」が表示形態としての「黄緑色の枠」で、「(1+√5)」が表示形態としての「バイオレットの枠」で、そして「(1−√5)」が表示形態としての「橙色の枠」で囲まれてディスプレイ3に表示される。
Specifically, “((1 + √5) (1−√5) / 4)” is a “yellow-green frame” as a display form, and “(1 + √5)” is a “violet” display form. “(1−√5)” is displayed on the
次に図7の6行目に示すように、ユーザが6行目の計算式「XX−X(((1−√5)+(1+√5))/2)」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「XX−X(((1−√5)+(1+√5))/2)」がディスプレイ3の6行目に入力されて表示される(ステップS3)。 Next, as shown in the sixth line of FIG. 7, when the user inputs the calculation formula “XX−X (((1−√5) + (1 + √5)) / 2)” in the sixth line (step S16). ; Yes), the calculation formula “XX−X (((1−√5) + (1 + √5)) / 2)” corresponding to the input operation is input and displayed on the sixth line of the display 3 (step). S3).
次に、6行目の計算式「XX−X(((1−√5)+(1+√5))/2)」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、6行目の計算式「XX−X(((1−√5)+(1+√5))/2)」中に開括弧があると判定される(ステップS7;Yes)。 Next, it is determined that the formula “XX−X (((1−√5) + (1 + √5)) / 2)” on the sixth line does not include a mathematical expression part connected with an equal sign to the variable. (Step S4; No), it is determined that there is an open parenthesis in the calculation formula “XX−X (((1−√5) + (1 + √5)) / 2)” on the sixth line (Step S7). ; Yes).
次に、括弧に囲まれた数式部分として「(((1−√5)+(1+√5))/2)」、「(1−√5)」、及び「(1+√5)」が検出されると(ステップS8)、これらの数式部分のうち「(1−√5)」及び「(1+√5)」が数式部分記憶エリア120にあると判定されるとともに、「(((1−√5)+(1+√5))/2)」と同値の数式部分「((1−√5)/2+(1+√5)/2)」が数式部分記憶エリア120にあると判定される(ステップS9;Yes)。
Next, “(((1−√5) + (1 + √5)) / 2)”, “(1−√5)”, and “(1 + √5)” are included as the formula part enclosed in parentheses. When it is detected (step S8), it is determined that “(1−√5)” and “(1 + √5)” of these formula parts are in the formula
次に、6行目の計算式「XX−X(((1−√5)+(1+√5))/2)」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「((1−√5)+(1+√5))/2」が検出されて(ステップS12)、この数式部分「((1−√5)+(1+√5))/2」と同値の数式部分「((1−√5)/2+(1+√5)/2)」が数式部分記憶エリア120にあると判定される(ステップS13;Yes)。 Next, it is determined that the calculation formula “XX−X (((1−√5) + (1 + √5)) / 2)” on the sixth line includes a fraction having addition / subtraction in the numerator or denominator. (Step S11; Yes), “((1−√5) + (1 + √5)) / 2” is detected as the fractional mathematical part (Step S12), and this mathematical part “((1−√5 ) + (1 + √5)) / 2 ”is determined to be in the formula portion storage area 120 (“ ((1−√5) / 2 + (1 + √5) / 2) ”) (step S13). ; Yes).
次に、図7の6行目に示すように、ディスプレイ3に表示されている6行目の計算式「XX−X(((1−√5)+(1+√5))/2)」のうち数式部分記憶エリア120に記憶された数式部分「(1−√5)」及び「(1+√5)」、並びに数式部分記憶エリア120に記憶された数式部分と同値の数式部分「(((1−√5)+(1+√5))/2)」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。
Next, as shown in the sixth line in FIG. 7, the calculation formula “XX−X (((1−√5) + (1 + √5)) / 2)” on the sixth line displayed on the
具体的には、「(1−√5)」が表示形態としての「橙色の枠」で、「(1+√5)」が表示形態としての「バイオレットの枠」で、そして「(((1−√5)+(1+√5))/2)」が表示形態としての「水色の枠」で囲まれてディスプレイ3に表示される。
Specifically, “(1−√5)” is an “orange frame” as a display form, “(1 + √5)” is a “violet frame” as a display form, and “(((1 −√5) + (1 + √5)) / 2) ”is displayed on the
次に図7の7行目に示すように、ユーザが7行目の計算式「+(12−(√5)2)/4」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「+(12−(√5)2)/4」がディスプレイ3の7行目に入力されて表示される(ステップS3)。 Next, when the user inputs the calculation formula “+ (1 2 − (√5) 2 ) / 4” in the seventh row (step S16; Yes), as shown in the seventh row in FIG. The calculation formula “+ (1 2 − (√5) 2 ) / 4” is input and displayed on the seventh line of the display 3 (step S3).
次に、7行目の計算式「+(12−(√5)2)/4」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、7行目の計算式「+(12−(√5)2)/4」中に関数があると判定される(ステップS7;Yes)。 Next, it is determined that the formula part “+ (1 2 − (√5) 2 ) / 4” on the seventh line does not include a mathematical expression part connected to the variable by an equal sign (step S4; No). It is determined that there is a function in the calculation formula “+ (1 2 − (√5) 2 ) / 4” on the seventh line (step S7; Yes).
次に、関数の数式部分として「(√5)2」が検出されると(ステップS8)、
この数式部分「(√5)2」と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして、数式部分「(√5)2」は表示形態としての「藍色の枠」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “(√5) 2 ” is detected as the formula part of the function (step S8),
It is determined that there is no mathematical expression part equivalent to this mathematical expression part “(√5) 2 ” in the mathematical expression part storage area 120 (step S9; No). Then, the mathematical expression portion “(√5) 2 ” is stored in the mathematical expression
次に、7行目の計算式「+(12−(√5)2)/4」中に分子又は分母に加減算を具備する分数が含まれると判定されると(ステップS11;Yes)、分数の数式部分として「(12−(√5)2)/4」が検出されて(ステップS12)、この数式部分「(12−(√5)2)/4」と同値の数式部分「(((1+√5)(1−√5))/4)」が数式部分記憶エリア120にあると判定される(ステップS13;Yes)。 Next, when it is determined that the calculation formula “+ (1 2 − (√5) 2 ) / 4” on the seventh line includes a fraction having addition / subtraction in the numerator or denominator (step S11; Yes), "(1 2- (√5) 2 ) / 4" is detected as the fractional mathematical part (step S12), and the mathematical part equivalent to this mathematical part "(1 2- (√5) 2 ) / 4" It is determined that “(((1 + √5) (1−√5)) / 4)” is in the formula partial storage area 120 (step S13; Yes).
次に、図7の7行目に示すように、ディスプレイ3に表示されている7行目の計算式「+(12−(√5)2)/4」のうち数式部分記憶エリア120に記憶された数式部分「(12−(√5)2)/4」及び「(√5)2」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。
Next, as shown in the seventh line of FIG. 7, in the formula
具体的には、「(12−(√5)2)/4」が表示形態としての「黄緑色の枠」で、そして「(√5)2」が表示形態としての「藍色の枠」で囲まれてディスプレイ3に表示される。
Specifically, “(1 2 − (√5) 2 ) / 4” is a “yellow-green frame” as a display form, and “(√5) 2 ” is a “blue frame as a display form. "Is displayed on the
次に図7の8行目に示すように、ユーザが8行目の計算式「X2−X−2」を入力すると(ステップS16;Yes)、入力操作に応じた計算式「X2−X−2」がディスプレイ3の8行目に入力されて表示される(ステップS3)。 Next, as shown in the eighth line of FIG. 7, when the user inputs the calculation formula “X 2 -X-2” on the eighth line (step S16; Yes), the calculation formula “X 2 − "X-2" is input and displayed on the eighth line of the display 3 (step S3).
次に、8行目の計算式「X2−X−2」に変数に等号で結ばれた数式部分が含まれないと判定されて(ステップS4;No)、8行目の計算式「X2−X−2」中に関数があると判定される(ステップS7;Yes)。 Next, it is determined that the formula “X 2 -X-2” on the 8th line does not include the mathematical expression part connected to the variable by an equal sign (step S4; No), It is determined that there is a function in “X 2 -X-2” (step S7; Yes).
次に、関数の数式部分として「X2」が検出されると(ステップS8)、この数式部分「X2」と同値の数式部分が数式部分記憶エリア120にないと判定される(ステップS9;No)。そして、数式部分「X2」は表示形態としての「茶色の枠」に対応付けて数式部分記憶エリア120に記憶される(ステップS10)。
Next, when “X 2 ” is detected as the formula part of the function (step S8), it is determined that there is no formula part having the same value as the formula part “X 2 ” in the formula part storage area 120 (step S9; No). The mathematical formula portion “X 2 ” is stored in the mathematical formula
次に、8行目の計算式「X2−X−2」中に分子又は分母に加減算を具備する分数が含まれないと判定されると(ステップS11;No)、図7の8行目に示すように、ディスプレイ3に表示されている8行目の計算式「X2−X−2」のうち数式部分記憶エリア120に記憶された数式部分「X2」が、対応する表示形態(「色の枠」)で、表示される(ステップS15)。具体的には、「X2」が表示形態としての「茶色の枠」で囲まれてディスプレイ3に表示される。
Next, when it is determined that the calculation formula “X 2 -X-2” on the eighth line does not include a fraction having addition / subtraction in the numerator or denominator (step S11; No), the eighth line in FIG. As shown in FIG. 4, the formula part “X 2 ” stored in the formula
以上、本実施の形態によれば、図4のステップS7〜S15及び図5等に示したように、数式部分記憶エリア120により記憶された数式部分及び当該数式部分と同値の各数式部分を同一表示形態(同一文字色、同一種類の下線)でディスプレイ3に表示するので、計算式に含まれる括弧で囲まれた数式部分または関数の数式部分のうち、式変形すれば互いに同一となる数式部分同士を同一表示形態でディスプレイ3に表示する。従って、計算式を変形する場合であっても、同値の数式部分を分かりやすく識別表示することができる。
As described above, according to the present embodiment, as shown in steps S7 to S15 of FIG. 4 and FIG. 5 and the like, the mathematical formula portion stored in the mathematical formula
また、図4のステップS4〜S6,S15及び図6等に示したように、計算式のうち、変数に等号で結ばれた数式部分、変数、及びこの数式部分に同値の各数式部分を、同一表示形態(同一文字色)でディスプレイ3に表示するので、数式部分を変数で置換する場合であっても、同値の数式部分を分かりやすく識別表示することができる。
Further, as shown in steps S4 to S6, S15 of FIG. 4 and FIG. 6 and the like, among the calculation formulas, a formula part connected to the variable with an equal sign, a variable, and each formula part having the same value in this formula part. Since it is displayed on the
さらに、図4のステップS4〜S15及び図7等に示したように、計算式のうち、数式部分記憶エリア120に記憶された数式部分に同値の各数式部分を表示形態としての同色の枠で囲んでディスプレイ3に表示するようになっているので、計算式を変形する場合であっても、同値の数式部分を一層分かりやすく識別表示することができる。また、これらの数式部分同士が互いに重なり合う場合であっても、同値の数式部分を分かりやすく識別表示することができる。
Further, as shown in steps S4 to S15 of FIG. 4 and FIG. 7 and the like, among the calculation formulas, each formula portion having the same value as the formula portion stored in the formula
なお、上記の実施の形態における関数電卓1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更可能であることは勿論である。
In addition, it is needless to say that the detailed configuration and detailed operation of each component of the
例えば、本発明に係る数式表示装置を関数電卓1として説明したが、本発明が適用可能なものは、このような製品に限定されず、携帯電話、パソコン、PDA(Personal Digital Assistant)、ゲーム機などの電子機器全般に適用可能である。また、本発明に係る数式表示処理プログラム122は、関数電卓1に対して着脱可能なメモリカード、CD等に記憶されることとしてもよい。
For example, the mathematical expression display device according to the present invention has been described as the
以上、本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
括弧または関数を含む計算式を表示する計算式表示手段と、
前記計算式から、括弧で囲まれた数式部分または関数の数式部分を検出する数式部分検出手段と、
前記数式部分検出手段により検出された数式部分を記憶する数式部分記憶手段と、
前記計算式のうち、前記数式部分記憶手段により記憶された数式部分と、当該数式部分に同値の各数式部分とを同一表示形態で表示させる数式部分識別表示制御手段と、
を備えることを特徴とする数式表示装置。
<請求項2>
請求項1記載の数式表示装置において、
前記計算式は、
ユーザ操作により入力される入力式、または、当該入力式を変形してユーザ操作により入力される変形式であることを特徴とする数式表示装置。
<請求項3>
請求項1又は2記載の数式表示装置において、
前記数式部分検出手段は、
前記計算式から、変数に等号で結ばれた数式部分を検出し、
前記数式部分記憶手段は、
前記計算式検出手段により、変数に等号で結ばれた数式部分が検出される場合に、当該数式部分と当該変数とを対応付けて記憶し、
前記数式部分識別表示制御手段は、
前記計算式記憶手段に前記数式部分と前記変数とが対応付けて記憶される場合に、当該数式部分、当該変数、及び当該数式部分に同値の各数式部分を、同一表示形態で表示させることを特徴とする数式表示装置。
<請求項4>
請求項1〜3の何れか一項に記載の数式表示装置において、
前記計算式表示手段は、
前記計算式を自然表示形式で表示し、
前記同一表示形態は、表示対象を同色の枠で囲む表示形態であることを特徴とする数式表示装置。
<請求項5>
請求項1〜4の何れか一項に記載の数式表示装置において、
前記数式部分検出手段は、
分子又は分母に加減算を具備する分数が前記計算式に含まれる場合に、当該分数を数式部分として検出することを特徴とする数式表示装置。
<請求項6>
括弧または関数を含む計算式を表示する計算式表示手段を有するコンピュータに、
前記計算式から、括弧で囲まれた数式部分または関数の数式部分を検出する数式部分検出機能と、
前記数式部分検出機能により検出された数式部分を記憶する数式部分記憶機能と、
前記計算式のうち、前記数式部分記憶機能により記憶された数式部分と当該数式部分に同値の各数式部分とを同一表示形態で表示させる数式部分識別表示制御機能と、
を実現させることを特徴とするプログラム。
As mentioned above, although several embodiment of this invention was described, the scope of the present invention is not limited to the above-mentioned embodiment, The range of the invention described in the claim, and its equivalent range Including.
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
[Appendix]
<Claim 1>
Formula display means for displaying formulas including parentheses or functions,
Formula part detection means for detecting a formula part enclosed in parentheses or a formula part of a function from the formula,
Formula part storage means for storing the formula part detected by the formula part detection means;
Of the calculation formulas, the formula part stored in the formula part storage means, and the formula part identification display control means for displaying each formula part having the same value in the formula part in the same display form,
A mathematical expression display device comprising:
<Claim 2>
The mathematical formula display device according to
The calculation formula is
A mathematical expression display device which is an input expression input by a user operation or a modified expression input by a user operation by modifying the input expression.
<Claim 3>
In the mathematical expression display device according to
The mathematical expression part detecting means includes
From the above formula, detect the formula part connected to the variable with an equal sign,
The mathematical formula partial storage means includes
When the mathematical expression part connected to the variable by an equal sign is detected by the calculation expression detection means, the mathematical expression part and the variable are stored in association with each other,
The mathematical expression partial identification display control means includes:
When the formula part and the variable are stored in association with each other in the calculation formula storage means, the formula part, the variable, and each formula part having the same value in the formula part are displayed in the same display form. A mathematical expression display device.
<Claim 4>
In the mathematical expression display device according to any one of
The calculation formula display means includes
Display the calculation formula in a natural display format,
The same display form is a display form in which a display target is surrounded by a frame of the same color.
<Claim 5>
In the mathematical expression display device according to any one of
The mathematical expression part detecting means includes
A mathematical expression display device that detects a fraction as a mathematical expression part when a fraction having addition or subtraction in a numerator or denominator is included in the calculation expression.
<Claim 6>
In a computer having a calculation formula display means for displaying a calculation formula including parentheses or a function,
A formula part detection function for detecting a formula part enclosed in parentheses or a formula part of a function from the formula,
Formula part storage function for storing the formula part detected by the formula part detection function;
Among the calculation formulas, the formula part identification display control function for displaying the formula part stored by the formula part storage function and each formula part having the same value in the formula part in the same display form;
A program characterized by realizing.
1 関数電卓
2 入力キー群
3 ディスプレイ
11 CPU
12 メモリ
14 入力部
15 表示部
17 記録媒体読取部
17A 外部情報記憶媒体
120 数式部分記憶エリア
121 入力データ記憶エリア
122 数式表示処理プログラム
1
12
Claims (7)
前記表示部に計算式を表示させる計算式表示制御手段と、
前記計算式が、変数と数式部分との置換式である場合に、当該数式部分と当該変数とを対応付けて記憶する数式部分変数記憶手段と、
前記計算式から、括弧で囲まれた部分を含む数式部分を検出する数式部分検出手段と、
前記数式部分検出手段により検出された数式部分を記憶する数式部分記憶手段と、
前記計算式のうち、前記数式部分記憶手段に記憶された数式部分と、当該数式部分の一部を前記置換式の変数で置き換えた各数式部分とを、同一表示形態で表示させる数式部分識別表示制御手段と、
を備えることを特徴とする数式表示装置。 A display unit;
A calculation formula display control means for Ru display the calculation formula on the display unit,
Formula part variable storage means for storing the formula part and the variable in association with each other when the calculation formula is a substitution formula for the variable and formula part;
Formula part detection means for detecting a formula part including a part enclosed in parentheses from the formula,
Formula part storage means for storing the formula part detected by the formula part detection means;
Wherein among the formulas, and it remembers been mathematical expression part into the equation partial storage means and each formula moiety by replacing part of the mathematical expression part in the variable of the substituent formula, formulas partial identification to be displayed in the same display form Display control means;
A mathematical expression display device comprising:
前記計算式のうち、前記数式部分変数記憶手段に記憶された数式部分と、当該数式部分に対応づけて記憶された変数と、を同一表示形態で表示させる変数数式部分識別表示制御手段を備える、
ことを特徴とする数式表示装置。 The mathematical formula display device according to claim 1,
Among the calculation formulas, the formula part stored in the formula part variable storage means, and a variable formula part identification display control means for displaying the variable stored in association with the formula part in the same display form,
A mathematical expression display device.
前記数式部分識別表示制御手段は、前記数式部分記憶手段に記憶された各数式部分と、当該数式部分の一部を前記置換式の変数で置き換えた各数式部分と、を重畳してそれぞれ同一表示形態で表示させることを特徴とする数式表示装置。 In the mathematical expression display device according to claim 1 or 2,
The formula part identification display control unit superimposes each formula part stored in the formula part storage unit and each formula part obtained by replacing a part of the formula part with a variable of the replacement formula, respectively, and displays the same part respectively. A mathematical expression display device characterized by being displayed in a form .
前記計算式表示制御手段は、
前記計算式を自然表示形式で表示させ、
前記同一表示形態は、表示対象を同色の枠で囲む表示形態であることを特徴とする数式表示装置。 In the mathematical expression display device according to any one of claims 1 to 3,
The calculation formula display control means includes:
The formula is displayed in a natural display format,
The same display form is a display form in which a display target is surrounded by a frame of the same color.
前記数式部分検出手段は、
分子又は分母に加減算を具備する分数が前記計算式に含まれる場合に、当該分数を数式部分として検出することを特徴とする数式表示装置。 In the mathematical expression display device according to any one of claims 1 to 4,
The mathematical expression part detecting means includes
A mathematical expression display device that detects a fraction as a mathematical expression part when a fraction having addition or subtraction in a numerator or denominator is included in the calculation expression.
前記数式部分検出手段は、前記計算式から、括弧で囲まれた数式部分または関数の数式部分を検出し、The formula part detection means detects a formula part enclosed in parentheses or a formula part of a function from the calculation formula,
前記同一表示形態は、表示対象を同一の色又は同一の下線を付して表示する表示形態である、The same display form is a display form for displaying a display object with the same color or the same underline.
ことを特徴とする数式表示装置。A mathematical expression display device.
前記表示部に計算式を表示させる計算式表示制御機能と、
前記計算式が、変数と数式部分との置換式である場合に、当該数式部分と当該変数とを対応付けて記憶する数式部分変数記憶機能と、
前記計算式から、括弧で囲まれた部分を含む数式部分を検出する数式部分検出機能と、
前記数式部分検出機能により検出された数式部分を記憶する数式部分記憶機能と、
前記計算式のうち、前記数式部分記憶機能により記憶された数式部分と、当該数式部分の一部を前記置換式の変数で置き換えた各数式部分とを、同一表示形態で表示させる数式部分識別表示制御機能と、
を実現させることを特徴とするプログラム。 Viewing unit to a computer having,
A calculation formula display control function for displaying a calculation formula on the display unit;
A formula part variable storage function for storing the formula part and the variable in association with each other when the calculation formula is a substitution formula of a variable and a formula part;
A formula part detection function for detecting a formula part including a part enclosed in parentheses from the formula,
Formula part storage function for storing the formula part detected by the formula part detection function;
Wherein among the formulas, the stored mathematical expression part by the equation partial storage function, and each formula moiety by replacing part of the mathematical expression part in the variable of the substitution expression, mathematical expression part identification to be displayed in the same display form Control function,
A program characterized by realizing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011212044A JP5919699B2 (en) | 2011-09-28 | 2011-09-28 | Mathematical expression display device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011212044A JP5919699B2 (en) | 2011-09-28 | 2011-09-28 | Mathematical expression display device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013073427A JP2013073427A (en) | 2013-04-22 |
JP5919699B2 true JP5919699B2 (en) | 2016-05-18 |
Family
ID=48477878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011212044A Active JP5919699B2 (en) | 2011-09-28 | 2011-09-28 | Mathematical expression display device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5919699B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5786671B2 (en) * | 2011-06-23 | 2015-09-30 | カシオ計算機株式会社 | Formula input device and program |
JP2015060459A (en) * | 2013-09-19 | 2015-03-30 | カシオ計算機株式会社 | Mathematical expression display control device and program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4239908B2 (en) * | 2004-06-21 | 2009-03-18 | カシオ計算機株式会社 | Mathematical expression display control apparatus and program |
JP4661654B2 (en) * | 2006-03-27 | 2011-03-30 | カシオ計算機株式会社 | Formula display control apparatus and formula display control program |
JP4525771B2 (en) * | 2008-02-19 | 2010-08-18 | カシオ計算機株式会社 | Electronic calculator |
JP5589433B2 (en) * | 2010-02-24 | 2014-09-17 | カシオ計算機株式会社 | Formula input device and program |
JP5012935B2 (en) * | 2010-03-15 | 2012-08-29 | カシオ計算機株式会社 | Formula arithmetic device and program |
-
2011
- 2011-09-28 JP JP2011212044A patent/JP5919699B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013073427A (en) | 2013-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8843537B2 (en) | Electronic calculator, display method, and recording medium for displaying mathematical expression in full color | |
JP4462181B2 (en) | Fraction display device and fraction display program | |
US20140080104A1 (en) | Kanji stroke order learning device, kanji stroke order learning support method, kanji stroke order learning system and recording medium in which kanji stroke order learning program is recorded | |
US8791959B2 (en) | Electronic device which renders graph, graph display method and recording medium in which graph rendering program is recorded | |
JP2007264741A (en) | Mathematical expression display controller and mathematical expression display control program | |
JP5012935B2 (en) | Formula arithmetic device and program | |
JP2011203908A (en) | Graph display device and program | |
CN109558188B (en) | Display control method, and storage medium | |
JP5589433B2 (en) | Formula input device and program | |
JP5919699B2 (en) | Mathematical expression display device and program | |
JP2012083970A (en) | Computer and program | |
JP4961792B2 (en) | Formula editing apparatus and formula editing program | |
JP6011694B2 (en) | Mathematical expression display control apparatus and program | |
JP2017010365A (en) | Dictionary terminal and information display control program | |
JP5834897B2 (en) | Mathematical expression display device and mathematical expression display program | |
JP5728853B2 (en) | Electronic computer and program | |
JP5716718B2 (en) | Chinese display control apparatus, Chinese display control program, and Chinese display control method | |
JP6004746B2 (en) | Information display device, information display method, information display program, and program recording medium | |
JP6504128B2 (en) | Electronic device, data processing method and program | |
JP5979212B2 (en) | Electronic equipment and programs | |
JP6028329B2 (en) | Mathematical expression display device and mathematical expression display program | |
JP6764662B2 (en) | Signature input device | |
JP2014149642A (en) | Mathematical expression display control device, mathematical expression display control method, and program | |
US11366587B2 (en) | Electronic device, electronic device control method, and recording medium | |
JP5532890B2 (en) | Display device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140919 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150729 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150804 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151002 |
|
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: 20160315 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160328 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5919699 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |