JP5760327B2 - Electronic device and program - Google Patents

Electronic device and program Download PDF

Info

Publication number
JP5760327B2
JP5760327B2 JP2010101396A JP2010101396A JP5760327B2 JP 5760327 B2 JP5760327 B2 JP 5760327B2 JP 2010101396 A JP2010101396 A JP 2010101396A JP 2010101396 A JP2010101396 A JP 2010101396A JP 5760327 B2 JP5760327 B2 JP 5760327B2
Authority
JP
Japan
Prior art keywords
variable
equation
solution
substitution
expression
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
Application number
JP2010101396A
Other languages
Japanese (ja)
Other versions
JP2011232468A (en
Inventor
鈴木 健太郎
健太郎 鈴木
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 JP2010101396A priority Critical patent/JP5760327B2/en
Publication of JP2011232468A publication Critical patent/JP2011232468A/en
Application granted granted Critical
Publication of JP5760327B2 publication Critical patent/JP5760327B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrically Operated Instructional Devices (AREA)

Description

本発明は、教育機材としての関数電卓等に好適な電子機器及びプログラムに関する。   The present invention relates to an electronic device and a program suitable for a scientific calculator as educational equipment.

従来、任意の演算式を入力し、ユーザ自身の計算による解を入力した上で正解の判定を求めるキー操作を行なうと、ユーザの入力した解と、上記入力した演算式から算出した正解とが比較され、正誤表示されるようにした技術が考えられている。(例えば、特許文献1)   Conventionally, when an arbitrary arithmetic expression is input and a key operation for determining a correct answer is performed after inputting a user's own calculation solution, a user input solution and a correct answer calculated from the input arithmetic expression are obtained. A technique for comparing and displaying correct and incorrect is considered. (For example, Patent Document 1)

特開2000−298423号公報JP 2000-298423 A

上記特許文献に記載された技術では、最終的な解の正誤を知ることができるものの、式を解く途中段階の変形式や置換式の状態での正誤を判定することはできない。したがってユーザは、間違った解を導き出した場合、式を変形あるいは置換する過程のどこから間違ったのかを検証することができない、という不具合がある。   Although the technique described in the above patent document can know the correctness of the final solution, it cannot determine the correctness or not in the state of the modified expression or the replacement expression in the middle of solving the expression. Therefore, when the user derives an incorrect solution, there is a problem in that the user cannot verify the wrong place from the process of transforming or replacing the formula.

本発明は上記のような実情に鑑みてなされたもので、その目的とするところは、任意の演算式を入力した上で、その式の変形途中の特に置換式に対する正誤を判定することが可能な電子機器及びプログラムを提供することにある。   The present invention has been made in view of the above-described circumstances, and the object of the present invention is to input an arbitrary arithmetic expression and determine whether the expression is correct or not, especially for a substitution expression in the middle of deformation. Providing an electronic device and program.

請求項1記載の発明は、元変数についての方程式を入力する方程式入力手段と、上記方程式入力手段で入力した元変数の解を算出する元変数解算出手段と、置換変数を元変数の数式として記述した置換式を入力する置換式入力手段と、上記置換式入力手段で入力した置換式に上記元変数解算出手段で算出した元変数の解を代入して、置換変数の値を算出する置換変数値算出手段と、上記元変数についての方程式を変形した変形式を入力する変形式入力手段と、上記変形式入力手段で方程式を置換変数で記述した置換方程式が入力された場合に、その置換方程式について置換変数の解を算出する置換変数解算出手段と、上記置換変数解算出手段で算出した置換変数の解と、上記置換変数値算出手段で算出した置換変数値とが一致するか否かを判別する置換変数判別手段と、上記置換変数判別手段での判別結果に応じた表示を行なう表示制御手段とを具備したことを特徴とする。   The invention described in claim 1 is an equation input means for inputting an equation for the original variable, an original variable solution calculating means for calculating the solution of the original variable input by the equation input means, and the substitution variable as a mathematical expression of the original variable. Substitution expression input means for inputting the described substitution expression, and substitution for calculating the value of the substitution variable by substituting the solution of the original variable calculated by the original variable solution calculation means to the substitution expression input by the substitution expression input means When a variable value calculation means, a deformation expression input means for inputting a deformation expression obtained by modifying the equation for the original variable, and a replacement equation in which the equation is described by a replacement variable are input by the deformation expression input means, the replacement is performed. Whether the substitution variable solution calculation means for calculating the substitution variable solution for the equation, the substitution variable solution calculated by the substitution variable solution calculation means, and the substitution variable value calculated by the substitution variable value calculation means match. The And substitution variable determination means for, characterized by comprising a display control means for performing display in accordance with the determination result in the substitution variable determining means.

請求項5記載の発明は、電子機器が内蔵するコンピュータを制御するためのプログラムであって、上記コンピュータを、元変数についての方程式を入力する方程式入力手段、上記方程式入力手段で入力した元変数の解を算出する元変数解算出手段、置換変数を元変数の数式として記述した置換式を入力する置換式入力手段、上記置換式入力手段で入力した置換式に上記元変数解算出手段で算出した元変数の解を代入して、置換変数の値を算出する置換変数値算出手段、上記元変数についての方程式を変形した変形式を入力する変形式入力手段、上記変形式入力手段で方程式を置換変数で記述した置換方程式が入力された場合に、その置換方程式について置換変数の解を算出する置換変数解算出手段、上記置換変数解算出手段で算出した置換変数の解と、上記置換変数値算出手段で算出した置換変数値とが一致するか否かを判別する置換変数判別手段、及び上記置換変数判別手段での判別結果に応じた表示を行なう表示制御手段として機能させるためのものである。   The invention according to claim 5 is a program for controlling a computer incorporated in an electronic device, wherein the computer is input to an equation input means for inputting an equation for the original variable, the original variable input by the equation input means. An original variable solution calculating means for calculating a solution, a replacement expression inputting means for inputting a replacement expression in which a substitution variable is described as a mathematical expression of the original variable, and a replacement expression inputted by the replacement expression inputting means calculated by the original variable solution calculating means. Substitution variable value calculation means for substituting the solution of the original variable to calculate the value of the substitution variable, deformation expression input means for inputting a modified expression obtained by modifying the equation for the original variable, and replacement of the equation by the deformation expression input means When a substitution equation described by a variable is input, a substitution variable solution calculation means for calculating a solution of the substitution variable for the substitution equation, and a substitution variable calculated by the substitution variable solution calculation means. And a replacement variable determining means for determining whether or not the replacement variable value calculated by the replacement variable value calculating means matches, and a display control means for performing display according to the determination result in the replacement variable determining means It is intended to function as.

本発明によれば、任意の演算式を入力した上で、その式の変形途中の特に置換式に対する正誤を判定することが可能となる。   According to the present invention, after inputting an arbitrary arithmetic expression, it is possible to determine whether the expression is correct or not, especially for a replacement expression.

本発明の一実施形態に係る電子機器の機能構成を示すブロック図。1 is a block diagram showing a functional configuration of an electronic device according to an embodiment of the present invention. 同実施形態に係る電子機器の外観構成を示す平面図。FIG. 2 is an exemplary plan view showing an external configuration of the electronic apparatus according to the embodiment. 同実施形態に係るサブルーチンとしての入力式判定処理の内容を示すフローチャート。The flowchart which shows the content of the input type determination process as a subroutine concerning the embodiment. 同実施形態に係るサブルーチンとしての入力式判定処理の内容を示すフローチャート。The flowchart which shows the content of the input type determination process as a subroutine concerning the embodiment. 同実施形態に係る第1の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 1st operation example which concerns on the embodiment. 同実施形態に係る第1の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 1st operation example which concerns on the embodiment. 同実施形態に係る第1の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 1st operation example which concerns on the embodiment. 同実施形態に係る第2の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 2nd operation example which concerns on the embodiment. 同実施形態に係る第2の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 2nd operation example which concerns on the embodiment. 同実施形態に係る第2の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 2nd operation example which concerns on the embodiment. 同実施形態に係る第2の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 2nd operation example which concerns on the embodiment. 同実施形態に係る第2の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 2nd operation example which concerns on the embodiment. 同実施形態に係る第2の動作例でのキー操作と表示画面の変移を示す図。The figure which shows the key operation and transition of a display screen in the 2nd operation example which concerns on the embodiment.

以下図面を参照して本発明の一実施形態を説明する。
なお本実施形態では、前記中等教育課程における数学教育を対象とし、後期中等教育課程における数学教育で用いられる虚数、複素数の概念は数の範囲に含めないものとする。したがって、最終的な方程式の解が平方根号「√(n)」(nは実数)を含むとき、「n≧0」、且つ「√(n)≧0」とする。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
In the present embodiment, mathematics education in the secondary education program is targeted, and the concepts of imaginary numbers and complex numbers used in mathematics education in the later secondary education program are not included in the range of numbers. Therefore, when the final solution of the equation includes the square root sign “√ (n)” (n is a real number), “n ≧ 0” and “√ (n) ≧ 0”.

(実施形態の構成)
図1は、本発明の一実施形態に係る関数電卓10の電子回路の機能構成を示すブロック図である。
図2は、上記関数電卓10の外観構成を示す正面図である。
(Configuration of the embodiment)
FIG. 1 is a block diagram showing a functional configuration of an electronic circuit of a scientific calculator 10 according to an embodiment of the present invention.
FIG. 2 is a front view showing an external configuration of the scientific calculator 10.

関数電卓10は、コンピュータの主構成要素となる制御部(CPU)11を備えている。   The scientific calculator 10 includes a control unit (CPU) 11 that is a main component of the computer.

制御部(CPU)11は、フラッシュメモリで構成されるROM12に予め記憶されているシステムプログラム及び計算機制御プログラムに従い、RAM17を作業用メモリ(ワークメモリ)として関数電卓10全体の動作を制御する。、
上記ROM12のシステム領域に記憶される計算機制御プログラムは、外部記憶媒体であるメモリカード13からI/Oポート14を介して入力されるか、あるいはI/Oポート14から外部パーソナルコンピュータ(PC)15を経由して接続される通信ネットワークN上のWebサーバ(プログラムサーバ)16からダウンロードされて入力されるものも含む。
The control unit (CPU) 11 controls the operation of the scientific calculator 10 as a working memory (work memory) according to a system program and a computer control program stored in advance in a ROM 12 constituted by a flash memory. ,
The computer control program stored in the system area of the ROM 12 is input from the memory card 13 which is an external storage medium via the I / O port 14 or from the I / O port 14 to an external personal computer (PC) 15. Also included are those downloaded and input from a Web server (program server) 16 on the communication network N connected via the Internet.

上記ROM12に記憶されたシステムプログラムやそのシステム領域に記憶された計算機制御プログラムは、キーボード18からのキー入力信号、あるいは後述するタッチ入力部21でのタッチ入力信号に応じて起動される。   The system program stored in the ROM 12 and the computer control program stored in the system area are activated in response to a key input signal from the keyboard 18 or a touch input signal from the touch input unit 21 described later.

なお、上記ROM12に記憶される計算機制御プログラムには、本関数電卓10の全動作中に渡ってその計算、表示動作の制御を行なうための基本処理プログラムが含まれており、入力された数値、記号、計算式の表示、計算式の演算、演算結果の表示、グラフの描画表示、カーソル(ポインタ)の表示が制御される。   Note that the computer control program stored in the ROM 12 includes a basic processing program for controlling the calculation and display operations over the entire operation of the scientific calculator 10. Symbols, calculation formula display, calculation formula calculation, calculation result display, graph drawing display, and cursor (pointer) display are controlled.

また、上記計算機制御プログラムには、後述する入力式判定処理プログラム12a(図3及び図4参照)を1つのサブルーチンとして含む。   The computer control program includes an input type determination processing program 12a (see FIGS. 3 and 4), which will be described later, as one subroutine.

上記RAM17には、制御部(CPU)11による上記入力式判定処理プログラム12a実行時に、式データ記憶部17a、対象方程式記憶部17b、対象方程式solve結果記憶部17c、置換式記憶部17d、置換式値記憶部17e、混合式値記憶部17f、及び変形式solve結果記憶部17gの各記憶部が設けられる。   The RAM 17 stores the formula data storage unit 17a, the target equation storage unit 17b, the target equation solve result storage unit 17c, the substitution formula storage unit 17d, the substitution formula when the control unit (CPU) 11 executes the input formula determination processing program 12a. Each storage unit includes a value storage unit 17e, a mixed equation value storage unit 17f, and a modified equation solve result storage unit 17g.

式データ記憶部17aは、ユーザが入力する、検証の対象となる任意の方程式や、その方程式に対する変形式等、入力途中の式に関するデータを記憶する。
対象方程式記憶部17bは、検証の対象となる任意の方程式を記憶する。
対象方程式solve結果記憶部17cは、対象方程式の解の値を記憶する。
置換式記憶部17dは、ユーザにより入力された、置換変数を対象の方程式の元変数の数式として記述した置換式を記憶する。
置換式値記憶部17eは、上記置換式の仮の解の値を記憶する。
The expression data storage unit 17a stores data relating to an expression in the middle of input, such as an arbitrary equation to be verified, which is input by the user, and a modified expression for the equation.
The target equation storage unit 17b stores an arbitrary equation to be verified.
The target equation solve result storage unit 17c stores the value of the solution of the target equation.
The substitution expression storage unit 17d stores a substitution expression described by the user as a mathematical expression of the original variable of the target equation, which is input by the user.
The replacement formula value storage unit 17e stores the value of the provisional solution of the replacement formula.

混合式値記憶部17fは、対象の方程式を置換変数と元変数とで記述した混合方程式の仮の解の値を記憶する。   The mixed equation value storage unit 17f stores a value of a provisional solution of a mixed equation in which the target equation is described with substitution variables and original variables.

変形式solve結果記憶部17gは、変形式の解の値を記憶する。   The modified equation solve result storage unit 17g stores the value of the modified equation solution.

上記制御部(CPU)11には、上記ROM12、メモリカード13、I/Oポート14、RAM17、キーボード18が接続される他に、液晶駆動回路19を介して液晶表示部(LCD)20が接続される。   In addition to the ROM 12, the memory card 13, the I / O port 14, the RAM 17, and the keyboard 18, the control unit (CPU) 11 is connected to a liquid crystal display unit (LCD) 20 through a liquid crystal driving circuit 19. Is done.

液晶表示部(LCD)20は、例えばバックライトを有するドットマトリックスタイプの半透過型液晶表示パネルとそれらの駆動回路とで構成され、各種方程式や関数のグラフ等を表示する。   The liquid crystal display unit (LCD) 20 includes, for example, a dot matrix type transflective liquid crystal display panel having a backlight and a driving circuit thereof, and displays various equations and graphs of functions.

また、液晶表示部(LCD)20には、例えば電子式の透明タッチパネルによるタッチ入力部21が一体に構成される。液晶表示部(LCD)20で表示されるキーボードや各種アイコン等の位置に応じてユーザが直接表示内容を指示するようにタッチ入力部21でタッチ操作すると、そのタッチ入力信号は座標入力部22に送られる。   The liquid crystal display unit (LCD) 20 is integrally formed with a touch input unit 21 using, for example, an electronic transparent touch panel. When the user performs a touch operation on the touch input unit 21 so as to directly indicate the display contents in accordance with the position of the keyboard and various icons displayed on the liquid crystal display unit (LCD) 20, the touch input signal is sent to the coordinate input unit 22. Sent.

座標入力部22は、タッチ入力部21からのタッチ入力信号により、ユーザによるタッチ操作を時系列状の2次元の座標信号に変換して上記制御部(CPU)11へ出力する。   The coordinate input unit 22 converts the touch operation by the user into a time-series two-dimensional coordinate signal by the touch input signal from the touch input unit 21 and outputs the two-dimensional coordinate signal to the control unit (CPU) 11.

上記キーボード18は、図2に示すように、各種関数の指定や計算形式の指定などを行なう関数・機能キーと共に、演算子キー、テンキー、カーソルキーなどの種々のキーを設ける。   As shown in FIG. 2, the keyboard 18 is provided with various keys such as an operator key, a numeric keypad, and a cursor key, as well as function / function keys for specifying various functions and specifying a calculation format.

次に、上記実施形態の動作について説明する。
(実施形態の第1の動作例)
図3及び図4は、ベリファイ(Verify:検証)機能とも呼称する、入力式の変形に係る判定処理の詳細な内容を示すサブルーチンのフローチャートであり、上記ROM12が記憶する入力式判定処理プログラム12aを制御部(CPU)11が実行することにより実現される。
Next, the operation of the above embodiment will be described.
(First operation example of embodiment)
FIG. 3 and FIG. 4 are flowcharts of subroutines showing detailed contents of the determination process related to the modification of the input expression, which is also referred to as a verify (Verify) function. The input expression determination processing program 12a stored in the ROM 12 is shown in FIG. This is realized by execution of the control unit (CPU) 11.

図5乃至図7は、第1の動作例でのキー操作と表示画面の変移を示す図である。   5 to 7 are diagrams showing key operations and display screen transitions in the first operation example.

その当初には、ユーザが処理対象となる方程式をキーボード18及びタッチ入力部21での操作により入力するのを待機する(ステップS101)。   Initially, it waits for the user to input an equation to be processed by an operation on the keyboard 18 and the touch input unit 21 (step S101).

図5(A)は、処理対象となる4次方程式
「x4−5x2+6=0」 …(1)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作した場合に液晶表示部(LCD)20で表示される内容を示す。液晶表示部(LCD)20では、入力された方程式と、次行にさらなる入力を促すカーソルCとを表示している。
FIG. 5A shows a quaternary equation to be processed.
“X 4 −5x 2 + 6 = 0” (1)
When the “EXE” key of the keyboard 18 is operated to confirm the input, the content displayed on the liquid crystal display unit (LCD) 20 is shown. The liquid crystal display unit (LCD) 20 displays the input equation and a cursor C that prompts further input on the next line.

制御部(CPU)11により、対象の方程式が入力される過程で入力データが式データ記憶部17aに順次入力され、上記「EXE」キーが操作された時点で、入力が確定したものとしてその時点で記憶している方程式のデータを対象方程式記憶部17bに転送して記憶させる(ステップS102)。   In the course of inputting the target equation by the control unit (CPU) 11, input data is sequentially input to the formula data storage unit 17 a, and when the “EXE” key is operated, it is determined that the input is confirmed. The data of the equation stored in is transferred to the target equation storage unit 17b and stored (step S102).

制御部(CPU)11は、対象方程式記憶部17bに記憶した方程式中の変数(ここではxしかないので無条件にxとなる)を特定し、その特定した変数について自動的にソルブ(solve)機能と称される、変数の値を求める計算を、ROM12が記憶する計算機制御プログラムに基づいて実行する(ステップS103)。   The control unit (CPU) 11 specifies a variable in the equation stored in the target equation storage unit 17b (here, since there is only x, it becomes x unconditionally), and automatically solves the specified variable. A calculation called a function for obtaining a value of a variable is executed based on a computer control program stored in the ROM 12 (step S103).

ここでは、上記(1)式を解くことで解「x=±√(2),±√(3)」が得られるもので、制御部(CPU)11は得た解を元変数の正しい解として対象方程式solve結果記憶部17cに記憶させる(ステップS104)。   Here, the solution “x = ± √ (2), ± √ (3)” is obtained by solving the above equation (1), and the control unit (CPU) 11 converts the obtained solution into the correct solution of the original variable. Is stored in the target equation solve result storage unit 17c (step S104).

次いで、RAM17の式データ記憶部17aに記憶した処理対象の方程式で記号「√」内に変数xが含まれた式があるか否かを判別する(ステップS105)。   Next, it is determined whether or not there is an expression including the variable x in the symbol “√” in the equation to be processed stored in the expression data storage unit 17a of the RAM 17 (step S105).

上記(1)式では記号「√」内に変数xが含まれていないため、これを判別すると、次にユーザが処理対象となる方程式を変形した変形式、または処理対象となる方程式の一部を別の変数に置換した置換式がキーボード18またはタッチ入力部21での操作により入力されるのを待機する(ステップS107)。   In the above equation (1), since the variable “x” is not included in the symbol “√”, when this is determined, a modified equation obtained by modifying the equation to be processed by the user or a part of the equation to be processed It waits for a replacement expression in which is replaced with another variable to be input by an operation on the keyboard 18 or the touch input unit 21 (step S107).

図5(B)は、ユーザが上記(1)式の置換式として
「♯a:=x2」 …(2)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作した場合を示す。式当初の記号「♯」は、それ以降で入力する式が置換式であることを宣言する、予め設定された記号とする。この(2)式の場合は、上記(1)式中の「x2」を変数「a」に置換することを宣言している。
FIG. 5 (B) shows that the user replaces the above formula (1).
“#A: = x 2 ” (2)
And the “EXE” key of the keyboard 18 is operated to confirm the input. The symbol “#” at the beginning of the formula is a preset symbol that declares that the formula to be input after that is a substitution formula. In the case of the expression (2), it is declared that “x 2 ” in the expression (1) is replaced with the variable “a”.

式入力後に上記「EXE」キーが操作された時点で、制御部(CPU)11は入力されたのが置換式であるか否かを、その式当初に記号「♯」があるか否かにより判別する(ステップS108)。   When the “EXE” key is operated after the expression is input, the control unit (CPU) 11 determines whether or not the input is a replacement expression, depending on whether or not there is a symbol “#” at the beginning of the expression. It discriminate | determines (step S108).

ここで入力されたのが置換式であると判別すると、次いでその入力されて置換式をRAM17の置換式記憶部17dに記憶させる(ステップS109)。   If it is determined that the input is a replacement formula, the input replacement formula is stored in the replacement formula storage unit 17d of the RAM 17 (step S109).

これと共に、対象方程式solve結果記憶部17cに記憶される元変数の解を置換式に代入して置換式の値を計算し、計算結果を記憶する(ステップS110)。   At the same time, the solution of the original variable stored in the target equation solve result storage unit 17c is substituted into the replacement formula to calculate the value of the replacement formula, and the calculation result is stored (step S110).

上記(2)式の場合、対象方程式solve結果記憶部17cに記憶される各解に対応する置換式の値は「a=2,3」となり、制御部(CPU)11はこの置換式値を置換式値記憶部17eに記憶させる。
その後、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。
In the case of the above equation (2), the value of the replacement equation corresponding to each solution stored in the target equation solve result storage unit 17c is “a = 2, 3”, and the control unit (CPU) 11 uses this replacement equation value. It is stored in the replacement formula value storage unit 17e.
Thereafter, the process returns to the process from step S107 and waits for further expression input.

図5(C)に示すように、ユーザが置換式に用いた変数「a」のみによる式
「a2+5a+6=0」 …(3)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 5C, an expression using only the variable “a” used by the user in the replacement expression
“A 2 + 5a + 6 = 0” (3)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力が置換式ではないと判別すると、制御部(CPU)11は次いで入力された式が元変数と置換式とを用いた処理対象の方程式に対する変形式であるか否かを、元変数「x」と置換式に用いた変数「a」の双方で記述された式であるか否かにより判別する(ステップS111)。   When this input is accepted in step S107 and it is determined in step S108 that the input is not a substitution expression, the control unit (CPU) 11 then changes the inputted expression to the equation to be processed using the original variable and the substitution expression. Whether it is a format or not is discriminated based on whether it is an expression described by both the original variable “x” and the variable “a” used in the substitution expression (step S111).

ここで上記(3)式が元変数と置換式とを用いた処理対象の方程式に対する変形式ではないと判別すると、次に、入力された式が置換式を用いた処理対象の方程式に対する変形式であるか否かを、置換式に用いた変数「a」のみで記述された式であるか否かにより判別する(ステップS115)。   If it is determined that the above expression (3) is not a modified expression for the equation to be processed using the original variable and the replacement expression, then the input expression is a modified expression for the equation to be processed using the replacement expression. Is determined based on whether or not the expression is described only by the variable “a” used in the substitution expression (step S115).

上記(3)式に用いられている変数は置換式に用いた変数「a」のみであるため、変形式を置換変数についてソルブ(solve)機能を実行し、上記(3)式を解くことで解「a=−3,−2」を得て、得た解を変形式の仮の解として変形式solve結果記憶部17gに記憶させる(ステップS116)。   Since the variable used in the equation (3) is only the variable “a” used in the substitution equation, the solve function is executed on the substitution variable and the equation (3) is solved. The solution “a = −3, −2” is obtained, and the obtained solution is stored in the modified equation solve result storage unit 17g as a temporary solution of the modified equation (step S116).

次いで置換式が記号「√」を含んでいるか否かを判別する(ステップS117)。上記(2)式では記号「√」を含んでいないため、これを判別すると、次に上記ステップS116で変形式solve結果記憶部17gに記憶させた仮の解が、置換式値記憶部17eに記憶させた置換式値と一致するか否かを判別する(ステップS119)。   Next, it is determined whether or not the substitution formula includes the symbol “√” (step S117). Since the symbol (√) is not included in the above equation (2), when this is determined, the temporary solution stored in the modified equation solve result storage unit 17g in the above step S116 is next stored in the replacement equation value storage unit 17e. It is determined whether or not the stored replacement expression value matches (step S119).

ここで変形式solve結果記憶部17gに記憶させた仮の解「a=−3,−2」と置換式値記憶部17eに記憶させた置換式値「a=2,3」とは一致しないため、上記(3)式は処理対象の方程式を置換式を用いて置換したものではないとして、エラーメッセージを液晶表示部(LCD)20で表示させると共に、その確認を待って誤った式入力の前の位置までカーソルCの表示位置を戻した上で(ステップS122)、上記ステップS107からの処理に戻る。   Here, the provisional solution “a = −3, −2” stored in the modified equation solve result storage unit 17g does not match the replacement equation value “a = 2, 3” stored in the replacement equation value storage unit 17e. Therefore, assuming that the above equation (3) is not a replacement of the equation to be processed using a replacement equation, an error message is displayed on the liquid crystal display unit (LCD) 20, and an erroneous expression input is awaited for confirmation. After returning the display position of the cursor C to the previous position (step S122), the process returns to step S107.

図5(C)では液晶表示部(LCD)20において、上記(3)式の下部にエラーメッセージのウィンドウW1を表示した状態を示す。同図(B)では、文字によるエラーメッセージ
「ERROR!」
「Sorry,not equivalent」
と共に、間違った変形式であることを視覚的に示す顔のシンボルF1と、間違った変形式であることをユーザが理解した場合の確認を促す「OK?」の文字とを表示している。
FIG. 5C shows a state in which an error message window W1 is displayed at the bottom of the equation (3) on the liquid crystal display unit (LCD) 20. In the same figure (B), error message by characters
"ERROR!"
"Sorry, not equivalent"
At the same time, a face symbol F1 that visually indicates that the expression is incorrect and a character “OK?” That prompts confirmation when the user understands that the expression is incorrect are displayed.

このウィンドウW1での表示に伴って図5(D)に示すようにユーザがキーボード18で確認のための「EXE」キーを操作すると、液晶表示部(LCD)20上では上記(3)式の先頭位置までカーソルCの表示位置を戻した上で(ステップS114)、上記ステップS107からの処理に戻る。   When the user operates the “EXE” key for confirmation on the keyboard 18 as shown in FIG. 5D along with the display in the window W1, the above formula (3) is displayed on the liquid crystal display unit (LCD) 20. After returning the display position of the cursor C to the head position (step S114), the process returns to the process from step S107.

次にユーザが処理対象となる方程式を変形した変形式、または処理対象となる方程式の一部を別の変数に置換した置換式がキーボード18またはタッチ入力部21での操作により入力されるのを待機する(ステップS107)。   Next, a modified expression obtained by modifying the equation to be processed by the user or a replacement expression obtained by replacing a part of the equation to be processed with another variable is input by an operation on the keyboard 18 or the touch input unit 21. Wait (step S107).

図6(A)に示すように、上記(3)に代えてユーザが置換式に用いた変数「a」のみによる式
「a2−5a+6=0」 …(4)
をあらためて入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 6 (A), instead of the above (3), the expression using only the variable “a” used in the replacement expression by the user
“A 2 −5a + 6 = 0” (4)
Is input again, and the “EXE” key on the keyboard 18 is operated to confirm the input.

上記ステップS107でこの入力を受付け、続く上記ステップS108で入力が置換式ではないこと、上記ステップS111で元変数と置換式とを用いた変形式ではないことを続けて判別する。その後、上記ステップS115で置換変数を用いた変形式であることをを判別すると、上記ステップS116で上記(4)式を解いて解「a=2,3」を得、得た解を変形式solve結果記憶部17gに記憶させる。   In step S107, this input is accepted, and in the subsequent step S108, it is continuously determined that the input is not a substitution expression and that the input is not a modified expression using the original variable and the substitution expression in step S111. Thereafter, when it is determined in step S115 that the equation is a modified equation using substitution variables, the equation (4) is solved in step S116 to obtain a solution “a = 2, 3”, and the obtained solution is transformed into a modified equation. The result is stored in the solve result storage unit 17g.

次いで上記ステップS117で上記(2)式が記号「√」を含んでいないことを判別した後、ステップS119で変形式solve結果記憶部17gに記憶させた仮の解が、置換式値記憶部17eに記憶させた置換式値と一致すると判別する。   Next, after determining in step S117 that the equation (2) does not include the symbol “√”, the temporary solution stored in the modified equation solve result storage unit 17g in step S119 is the replacement equation value storage unit 17e. It is determined that the value matches the replacement expression value stored in.

この場合、制御部(CPU)11は変形式solve結果記憶部17gに仮の解を記憶させていることを確認した後(ステップS120)、この変形式solve結果記憶部17gに記憶させた仮の解が置換式値記憶部17eに記憶させた置換式値と一致することをあらためて確認し(ステップS121)、入力が正しかったものとして、上記ステップS117の処理に戻り、次の入力を待機する。   In this case, the control unit (CPU) 11 confirms that the temporary solution is stored in the modified equation solve result storage unit 17g (step S120), and then the temporary solution stored in the modified equation solve result storage unit 17g. It is confirmed again that the solution matches the substitution formula value stored in the substitution formula value storage unit 17e (step S121). Assuming that the input is correct, the processing returns to step S117 and waits for the next input.

図6(A)では、液晶表示部(LCD)20において上記(4)式の入力後、置換による式の変形が正しかったものとして、次の入力を促すべく、上記(4)式の次行位置にカーソルCを表示している。   In FIG. 6 (A), it is assumed that the transformation of the formula by the substitution was correct after the input of the formula (4) in the liquid crystal display unit (LCD) 20, and the next line of the formula (4) is urged to prompt the next input. A cursor C is displayed at the position.

その後、図6(B)に示すようにユーザが上記(4)式を因数分解した式
(a−2)(a−3)=0 …(5)
をあらためて入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
Then, as shown in FIG. 6B, the user factored the above equation (4)
(a-2) (a-3) = 0 (5)
Is input again, and the “EXE” key on the keyboard 18 is operated to confirm the input.

上記ステップS107でこの入力を受付け、続く上記ステップS108で入力が置換式ではないこと、上記ステップS111で元変数と置換式とを用いた変形式ではないことを続けて判別する。その後、上記ステップS115で置換変数を用いた変形式であることを判別すると、上記ステップS116で上記(5)式を解いて解「a=2,3」を得、得た解を変形式solve結果記憶部17gに記憶させる。   In step S107, this input is accepted, and in the subsequent step S108, it is continuously determined that the input is not a substitution expression and that the input is not a modified expression using the original variable and the substitution expression in step S111. Thereafter, when it is determined in step S115 that the equation is a modified equation using substitution variables, the equation (5) is solved in step S116 to obtain a solution “a = 2, 3”, and the obtained solution is transformed into a modified equation solve. The result is stored in the result storage unit 17g.

次いで上記ステップS117で置換式である上記(2)式が記号「√」を含んでいないことを判別した後、ステップS119で変形式solve結果記憶部17gに記憶させた仮の解が、置換式値記憶部17eに記憶させた置換式値と一致すると判別する。   Next, after determining in step S117 that the above equation (2), which is a substitution formula, does not include the symbol “√”, the temporary solution stored in the modified equation solve result storage unit 17g in step S119 is the substitution formula. It is determined that the value matches the replacement expression value stored in the value storage unit 17e.

この場合、制御部(CPU)11は変形式solve結果記憶部17gに仮の解を記憶させていることを確認した後(ステップS120)、この変形式solve結果記憶部17gに記憶させた仮の解が置換式値記憶部17eに記憶させた置換式値と一致することをあらためて確認し(ステップS121)、入力が正しかったものとして、上記ステップS107の処理に戻り、次の入力を待機する。   In this case, the control unit (CPU) 11 confirms that the temporary solution is stored in the modified equation solve result storage unit 17g (step S120), and then the temporary solution stored in the modified equation solve result storage unit 17g. It is reconfirmed that the solution matches the replacement expression value stored in the replacement expression value storage unit 17e (step S121). Assuming that the input is correct, the processing returns to step S107 and waits for the next input.

図6(B)では、液晶表示部(LCD)20において上記(5)式の入力後、置換による式の変形が正しかったものとして、次の入力を促すべく、上記(5)式の次行位置にカーソルCを表示している。   In FIG. 6B, it is assumed that the transformation of the formula by substitution is correct after the input of the formula (5) in the liquid crystal display unit (LCD) 20, and the next line of the formula (5) is urged to prompt the next input. A cursor C is displayed at the position.

さらに、図6(C)に示すようにユーザが上記(5)式の因数分解から導出した置換式の解を
a=2 or a=3 …(6)
として入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
Further, as shown in FIG. 6 (C), the solution of the permutation equation derived from the factorization of the above equation (5) by the user is obtained.
a = 2 or a = 3 (6)
The “EXE” key on the keyboard 18 is operated to confirm the input.

ここでも上記ステップS107でこの入力を受付け、続く上記ステップS108で入力が置換式ではないこと、上記ステップS111で元変数と置換式とを用いた変形式ではないことを続けて判別する。その後、上記ステップS115で置換変数を用いた変形式であることを判別すると、上記ステップS116で上記(6)式が解「a=」の形式であるので、solve機能として(6)式をそのまま解として使用して変形式solve結果記憶部17gに記憶させる。   Also in this step S107, this input is accepted, and in the subsequent step S108, it is continuously determined that the input is not a substitution expression and in step S111 that the input is not a modified expression using the original variable and the substitution expression. After that, if it is determined in step S115 that it is a modified expression using a substitution variable, the expression (6) is in the form of the solution “a =” in step S116, and therefore the expression (6) is used as the solve function. Used as a solution and stored in the modified solve result storage unit 17g.

次いで上記ステップS117で置換式である上記(2)式が記号「√」を含んでいないことを判別した後、ステップS119で変形式solve結果記憶部17gに記憶させた仮の解が、置換式値記憶部17eに記憶させた置換式値と一致すると判別する。   Next, after determining in step S117 that the above equation (2), which is a substitution formula, does not include the symbol “√”, the temporary solution stored in the modified equation solve result storage unit 17g in step S119 is the substitution formula. It is determined that the value matches the replacement expression value stored in the value storage unit 17e.

この場合、制御部(CPU)11は変形式solve結果記憶部17gに仮の解を記憶させていることを確認した後(ステップS120)、この変形式solve結果記憶部17gに記憶させた仮の解が置換式値記憶部17eに記憶させた置換式値と一致することをあらためて確認し(ステップS121)、入力が正しかったものとして、上記ステップS107の処理に戻り、次の入力を待機する。   In this case, the control unit (CPU) 11 confirms that the temporary solution is stored in the modified equation solve result storage unit 17g (step S120), and then the temporary solution stored in the modified equation solve result storage unit 17g. It is reconfirmed that the solution matches the replacement expression value stored in the replacement expression value storage unit 17e (step S121). Assuming that the input is correct, the processing returns to step S107 and waits for the next input.

図6(C)では、液晶表示部(LCD)20において上記(6)式の入力後、置換式の解が正しかったものとして、次の入力を促すべく、上記(6)式の次行位置にカーソルCを表示している。   In FIG. 6C, it is assumed that the solution of the substitution formula is correct after the input of the formula (6) in the liquid crystal display unit (LCD) 20, and the next row position of the formula (6) is urged to prompt the next input. A cursor C is displayed on the screen.

図7(A)に示すように上記(6)式中の置換変数「a」に元の上記(2)式を代入した置換変数の解を表す
2=2 or x2=3 …(7)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 7A, it represents the solution of the substitution variable obtained by substituting the original equation (2) for the substitution variable “a” in the equation (6).
x 2 = 2 or x 2 = 3 (7)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

上記ステップS107でこの入力を受付け、続く上記ステップS108で入力が置換式ではないこと、上記ステップS111で元変数と置換式とを用いた変形式ではないことを続けて判別する。その後、上記ステップS115で置換変数を用いた変形式でもないことを判別すると、次に元変数「x」を用いた変形式であるか否かを判別する(ステップS123)。   In step S107, this input is accepted, and in the subsequent step S108, it is continuously determined that the input is not a substitution expression and that the input is not a modified expression using the original variable and the substitution expression in step S111. After that, if it is determined in step S115 that it is not a modified expression using a substitution variable, it is next determined whether or not it is a modified expression using the original variable “x” (step S123).

ここでは元変数のみを用いた変形式であるものと判別する。上記(7)式中の「x2=2」についてsolve機能を実行することで、仮の解「x=±√(2)」を得ると共に、同(7)式の「x2=3」について上記ソルブ機能を実行することで、仮の解「x=±√(3)」を得、これら得た解を変形式solve結果記憶部17gに記憶させる(ステップS124)。 Here, it is determined that it is a modified expression using only original variables. By executing the solve function for “x 2 = 2” in the equation (7), a temporary solution “x = ± √ (2)” is obtained, and “x 2 = 3” in the equation (7) is obtained. By executing the solve function for, a temporary solution “x = ± √ (3)” is obtained, and these obtained solutions are stored in the modified equation solve result storage unit 17g (step S124).

その後、変形式solve結果記憶部17gに記憶させた仮の解が、対象方程式solve結果記憶部17cに記憶させた元変数の正しい解と一致するか否か判別する(ステップS125)。   Thereafter, it is determined whether or not the provisional solution stored in the modified equation solve result storage unit 17g matches the correct solution of the original variable stored in the target equation solve result storage unit 17c (step S125).

この場合、制御部(CPU)11は入力された元変数の変形式の解が、対象方程式solve結果記憶部17cに記憶させた元変数の正しい解と一致すると判別し、上記(7)式の入力が正しかったものとして、上記ステップS107の処理に戻り、次の入力を待機する。   In this case, the control unit (CPU) 11 determines that the solution of the input transformation equation of the original variable matches the correct solution of the original variable stored in the target equation solve result storage unit 17c, and the above equation (7) Assuming that the input is correct, the process returns to step S107 and waits for the next input.

図7(A)では、液晶表示部(LCD)20において上記(7)式の入力後、置換式の解が正しかったものとして、次の入力を促すべく、上記(7)式の次行位置にカーソルCを表示している。   In FIG. 7A, it is assumed that the solution of the substitution formula is correct after the input of the formula (7) in the liquid crystal display unit (LCD) 20, and the next row position of the formula (7) is urged to prompt the next input. A cursor C is displayed on the screen.

図7(B)に示すように、上記(7)式の入力が正しかったことを受けてユーザは、上記(7)式から導出する元変数の解を表す
x=√(2) or x=−√(2) or
x=√(3) or x=−√(3) …(8)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 7B, the user represents the solution of the original variable derived from the equation (7) in response to the input of the equation (7) being correct.
x = √ (2) or x = −√ (2) or
x = √ (3) or x = −√ (3) (8)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

上記ステップS107でこの入力を受付け、続く上記ステップS108で入力が置換式ではないこと、上記ステップS111で元変数と置換式とを用いた変形式ではないことを続けて判別する。その後、上記ステップS115で置換変数を用いた変形式でもないことを判別し、さらに上記ステップS123で元変数「x」を用いた変形式でもないことを判別する。   In step S107, this input is accepted, and in the subsequent step S108, it is continuously determined that the input is not a substitution expression and that the input is not a modified expression using the original variable and the substitution expression in step S111. After that, it is determined in step S115 that it is not a modified expression using a substitution variable, and further in step S123, it is determined that it is not a modified expression using the original variable “x”.

次いで、入力された式が元変数の解を表すものであるか否か、すなわち「x=(数値)」の形式で記述された式であるか否かを判別する(ステップS127)。   Next, it is determined whether or not the input expression represents the solution of the original variable, that is, whether or not it is an expression described in the format of “x = (numerical value)” (step S127).

ここで元変数の解を表す式であると判別すると、入力された解の値が、対象方程式solve結果記憶部17cに記憶させた元変数の正しい解と一致するか否かを判別する(ステップS128)。   If it is determined that the equation represents the solution of the original variable, it is determined whether or not the value of the input solution matches the correct solution of the original variable stored in the target equation solve result storage unit 17c (step). S128).

この場合、制御部(CPU)11は入力された解の値が対象方程式solve結果記憶部17cに記憶させた元変数の正しい解の値と一致すると判別し、上記(8)式の入力が正しかったものとして、正解マーク及び正解メッセージを表示し(ステップS130)、上記ステップS107の処理に戻り、次の入力を待機する。   In this case, the control unit (CPU) 11 determines that the input solution value matches the correct solution value of the original variable stored in the target equation solve result storage unit 17c, and the input of equation (8) is correct. As a result, the correct answer mark and the correct answer message are displayed (step S130), and the process returns to step S107 to wait for the next input.

図7(B)に示すように液晶表示部(LCD)20では、このとき正解メッセージのウィンドウW2を例示する。同図(B)に示すようにこのウィンドウW2では、正解メッセージ
「Right!」
の文字を、正解したことを視覚的に示す顔のシンボルF2と共に表示している。
このように、対象となる方程式とユーザが入力した置換式が異なった場合にその旨を示すメッセージやシンボル等を表示した後、さらに正しい置換式を入力して解を導き出した場合には、正解である旨の表示を行なうものとしたため、ユーザのモチベーションを上げて教育効果を高めることができる。
As shown in FIG. 7B, the liquid crystal display (LCD) 20 exemplifies a correct message window W2 at this time. In this window W2, as shown in FIG.
"Right!"
Is displayed together with a face symbol F2 which visually indicates that the answer is correct.
In this way, when the target equation differs from the substitution formula entered by the user, a message or symbol indicating that fact is displayed, and if a correct substitution formula is entered to derive a solution, the correct answer Therefore, it is possible to increase the user's motivation and enhance the educational effect.

(実施形態の第2の動作例)
なお、上記第1の動作例と同様に図3及び図4のフローチャートを用いて説明する。
(Second operation example of embodiment)
The description will be made with reference to the flowcharts of FIGS. 3 and 4 as in the first operation example.

図8乃至図13は、第2の動作例でのキー操作と表示画面の変移を説明する図である。
その当初には、ユーザが処理対象となる方程式をキーボード18及びタッチ入力部21での操作により入力するのを待機する(ステップS101)。
8 to 13 are diagrams for explaining key operations and display screen transitions in the second operation example.
Initially, it waits for the user to input an equation to be processed by an operation on the keyboard 18 and the touch input unit 21 (step S101).

図8(A)は、処理対象となる方程式
「√(x−1)=x−3」 …(11)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作した場合に液晶表示部(LCD)20で表示される内容を示す。
FIG. 8A shows an equation to be processed.
“√ (x−1) = x−3” (11)
When the “EXE” key of the keyboard 18 is operated to confirm the input, the content displayed on the liquid crystal display unit (LCD) 20 is shown.

制御部(CPU)11により、対象の方程式が入力される過程で、入力データは式データ記憶部17aに順次入力され、上記「EXE」キーが操作された時点で、入力が確定したものとしてその時点で記憶している方程式のデータを対象方程式記憶部17bに転送して記憶させる(ステップS102)。   In the process in which the target equation is input by the control unit (CPU) 11, the input data is sequentially input to the equation data storage unit 17a, and when the “EXE” key is operated, the input is determined to be confirmed. The equation data stored at the time is transferred to and stored in the target equation storage unit 17b (step S102).

制御部(CPU)11は、対象方程式記憶部17bに記憶した方程式中の変数(ここではxしかないので無条件にxとなる)を特定し、その特定した変数について自動的にソルブ(solve)機能と称される、変数の値を求める計算を、ROM12が記憶する計算機制御プログラムに基づいて実行する(ステップS103)。   The control unit (CPU) 11 specifies a variable in the equation stored in the target equation storage unit 17b (here, since there is only x, it becomes x unconditionally), and automatically solves the specified variable. A calculation called a function for obtaining a value of a variable is executed based on a computer control program stored in the ROM 12 (step S103).

ここでは、上記(11)式を解くことで正しい解「x=5」が得られるもので、制御部(CPU)11は得た正しい解を対象方程式solve結果記憶部17cに記憶させる(ステップS104)。   Here, the correct solution “x = 5” is obtained by solving the above equation (11), and the control unit (CPU) 11 stores the obtained correct solution in the target equation solve result storage unit 17c (step S104). ).

次いで、RAM17の式データ記憶部17aに記憶した処理対象の方程式で記号「√」内に変数xが含まれた式があるか否かを判別する(ステップS105)。   Next, it is determined whether or not there is an expression including the variable x in the symbol “√” in the equation to be processed stored in the expression data storage unit 17a of the RAM 17 (step S105).

上記(11)式では記号「√」内に変数xが含まれているため、これを判別すると、次に上記(11)式の両辺を二乗して記号「√」を外した変形式を生成し、その式でソルブ機能を実行して、得た結果を仮の解として対象方程式solve結果記憶部17cに追加して記憶させる(ステップS106)。   Since the variable “x” is included in the symbol “√” in the above equation (11), when this is determined, a modified equation is generated by squaring both sides of the above equation (11) and removing the symbol “√”. Then, the solve function is executed with the equation, and the obtained result is added and stored in the target equation solve result storage unit 17c as a temporary solution (step S106).

上記(11)式の両辺を二乗すると
「x−1=(x−3)2」 …(12)
となり、この(12)式を解くことで仮の解「x=2,5」のうちの正しい解「x=5」でない仮の解「x=2」が得られるもので、制御部(CPU)11は得た仮の解を上記ステップS104で記憶した正しい解に加えて対象方程式solve結果記憶部17cに記憶させる。
When both sides of the above equation (11) are squared, “x−1 = (x−3) 2 ” (12)
By solving this equation (12), a temporary solution “x = 2” that is not the correct solution “x = 5” of the temporary solutions “x = 2, 5” is obtained. ) 11 stores the obtained temporary solution in the target equation solve result storage unit 17c in addition to the correct solution stored in step S104.

その後、ユーザが処理対象となる方程式を変形した変形式、または処理対象となる方程式の一部を別の変数に置換した置換式がキーボード18またはタッチ入力部21での操作により入力されるのを待機する(ステップS107)。   Thereafter, a modified expression obtained by modifying the equation to be processed by the user or a replacement expression in which a part of the equation to be processed is replaced with another variable is input by an operation on the keyboard 18 or the touch input unit 21. Wait (step S107).

図8(B)は、ユーザが上記(11)式の置換式として
「♯a:=√(x−1)」 …(13)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作した場合を示す。式当初の記号「♯」は、それ以降で入力する式が置換式であることを宣言するための予め設定された記号とする。この(13)式の場合は、上記(11)式中の左辺全体「√(x−1)」を変数「a」に置換することを宣言している。
FIG. 8B shows that the user can replace the above equation (11).
“#A: = √ (x−1)” (13)
And the “EXE” key of the keyboard 18 is operated to confirm the input. The symbol “#” at the beginning of the formula is a preset symbol for declaring that the formula input thereafter is a substitution formula. In the case of the expression (13), it is declared that the entire left side “√ (x−1)” in the expression (11) is replaced with the variable “a”.

式入力後に上記「EXE」キーが操作された時点で、制御部(CPU)11は入力されたのが置換式であるか否かを、その式当初に記号「♯」があるか否かにより判別する(ステップS108)。   When the “EXE” key is operated after the expression is input, the control unit (CPU) 11 determines whether or not the input is a replacement expression, depending on whether or not there is a symbol “#” at the beginning of the expression. It discriminate | determines (step S108).

ここで入力された上記(13)式が置換式であると判別すると、次いでその入力されて置換式をRAM17の置換式記憶部17dに記憶させる(ステップS109)。   If it is determined that the formula (13) input here is a substitution formula, the substitution formula is then stored in the substitution formula storage unit 17d of the RAM 17 (step S109).

これと共に、対象方程式solve結果記憶部17cに記憶される元変数の解を置換式に代入して置換式の値を計算し、計算結果を置換式値記憶部17eに記憶する(ステップS110)。   At the same time, the solution of the original variable stored in the target equation solve result storage unit 17c is substituted into the substitution formula to calculate the value of the substitution formula, and the calculation result is stored in the substitution formula value storage unit 17e (step S110).

上記(13)式の場合、対象方程式solve結果記憶部17cに記憶される正しい解「x=5」に対応する置換式の値は「a=2」となる。また、仮の解「x=2」に対応する置換式の仮の値は「a=−1」となる。制御部(CPU)11はこれら置換式の正しい値、及び仮の値を置換式値記憶部17eに記憶させた後、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   In the case of the above equation (13), the value of the replacement equation corresponding to the correct solution “x = 5” stored in the target equation solve result storage unit 17c is “a = 2”. In addition, the temporary value of the substitution formula corresponding to the temporary solution “x = 2” is “a = −1”. The control unit (CPU) 11 stores the correct value and the temporary value of these substitution formulas in the substitution formula value storage unit 17e, and then returns to the processing from step S107 to wait for further formula input.

図8(B)に示すように液晶表示部(LCD)20では、上記(13)式の入力後、置換式が正しかったものとして、次の入力を促すべく、上記(13)式の次行位置にカーソルCを表示している。   As shown in FIG. 8B, in the liquid crystal display unit (LCD) 20, it is assumed that the substitution formula is correct after the input of the formula (13), and the next line of the formula (13) is urged to prompt the next input. A cursor C is displayed at the position.

図8(C)に示すようにユーザは、上記(11)式に上記(13)式を代入した、置換式に用いた変数「a」と元変数「x」の双方を用いた式
「a=x−3」 …(14)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 8C, the user substitutes the above equation (13) into the above equation (11) and uses both the variable “a” and the original variable “x” used in the substitution equation.
“A = x−3” (14)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力が置換式ではないと判別すると、制御部(CPU)11は次いで入力された式が元変数と置換式とを用いた処理対象の方程式に対する変形式であるか否かを、元変数「x」と置換式に用いた変数「a」の双方で記述された式であるか否かにより判別する(ステップS111)。   When this input is accepted in step S107 and it is determined in step S108 that the input is not a substitution expression, the control unit (CPU) 11 then changes the inputted expression to the equation to be processed using the original variable and the substitution expression. Whether it is a format or not is discriminated based on whether it is an expression described by both the original variable “x” and the variable “a” used in the substitution expression (step S111).

ここで上記(14)式が元変数と置換式の双方を用いた処理対象の方程式に対する変形式であると判別すると、制御部(CPU)11は対象方程式solve結果記憶部17cに記憶させた正しい解「x=5」、及びこれに対応して置換式値記憶部17eに記憶させた置換式の値「a=2」を読出して上記(14)式に代入して左辺及び右辺の各値を算出する(ステップS112)。   If it is determined that the equation (14) is a modified equation for the equation to be processed using both the original variable and the substitution equation, the control unit (CPU) 11 stores the correct equation stored in the object equation solve result storage unit 17c. The solution “x = 5” and the value “a = 2” of the replacement formula stored in the replacement formula value storage unit 17e corresponding to the solution “x = 5” are read out and substituted into the above formula (14), and the values on the left and right sides are read. Is calculated (step S112).

その結果、上記(14)式が変形式として正しいか否かを、等号が成立するか否かで判別する(ステップS113)。   As a result, whether or not the above equation (14) is correct as a modified equation is determined based on whether or not the equal sign holds (step S113).

ここでは、上記(14)式に「x=5」、「a=2」を代入した結果、両辺共に「2」となって等号が成立するために、上記(14)式は変形式として正しいと判別し、上記ステップS107からの処理に戻る。   Here, as a result of substituting “x = 5” and “a = 2” into the above equation (14), both sides become “2” and the equal sign is established. It is determined that it is correct, and the process returns to step S107.

図8(C)に示すように液晶表示部(LCD)20では、置換式による対象方程式の変形式である上記(14)式の入力が正しかったものとして、次の入力を促すべく、上記(14)式の次行位置にカーソルCを表示している。   As shown in FIG. 8C, the liquid crystal display unit (LCD) 20 assumes that the input of the above equation (14), which is a modified equation of the target equation by the substitution equation, is correct, and the above ( 14) A cursor C is displayed at the next line position of the equation.

図8(D)に示すように、ユーザが上記(14)式を変形したと思われる、置換式に用いた変数「a」と元変数「x」の双方を用いた式
「a=(x−1)+2」 …(15)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 8D, an expression using both the variable “a” and the original variable “x” used in the replacement expression, which the user may have modified the above expression (14).
“A = (x−1) +2” (15)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた処理対象の方程式に対する変形式であると判別すると、制御部(CPU)11は上記ステップS112において、対象方程式solve結果記憶部17cに記憶させた正しい解「x=5」、及びこれに対応して置換式値記憶部17eに記憶させた置換式の値「a=2」を読出して上記(15)式に代入して左辺及び右辺の各値を算出する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In subsequent step S111, when it is determined that the input formula is a modified formula for the equation to be processed using the original variable and the substitution formula, the control unit (CPU) 11 in step S112, the target equation solve result storage unit. The correct solution “x = 5” stored in 17c and the value “a = 2” of the replacement formula stored in the replacement formula value storage unit 17e corresponding to this are read out and substituted into the above equation (15). Each value of the left side and the right side is calculated.

ここでは上記(15)式に「x=5」、「a=2」を代入した結果、左辺が「2」、右辺が「6」となって等号が成立しないために、上記ステップS113で上記(15)式は変形式として正しくないものと判別し、エラーメッセージを液晶表示部(LCD)20で表示させると共に、その確認を待って誤った式入力の前の位置までカーソルCの表示位置を戻した上で(ステップS114)、上記ステップS107からの処理に戻る。   Here, as a result of substituting “x = 5” and “a = 2” into the above equation (15), the left side is “2” and the right side is “6”. The above equation (15) is determined to be incorrect as a modified equation, an error message is displayed on the liquid crystal display (LCD) 20, and the display position of the cursor C to the position before the erroneous equation input is waited for confirmation. After returning (step S114), the process returns to the process from step S107.

図8(D)では液晶表示部(LCD)20において、上記(15)式の下部にエラーメッセージのウィンドウW1を表示した状態を示す。同図(D)では、文字によるエラーメッセージ
「ERROR!」
「Sorry,not equivalent」
と共に、間違った変形式であることを視覚的に示す顔のシンボルF1と、間違った変形式であることをユーザが理解した場合の確認を促す「OK?」の文字とを表示している。
FIG. 8D shows a state in which an error message window W1 is displayed at the bottom of the equation (15) on the liquid crystal display unit (LCD) 20. In the figure (D), error message by characters
"ERROR!"
"Sorry, not equivalent"
At the same time, a face symbol F1 that visually indicates that the expression is incorrect and a character “OK?” That prompts confirmation when the user understands that the expression is incorrect are displayed.

このウィンドウW1での表示に伴って図9(A)に示すようにユーザがキーボード18で確認のための「EXE」キーを操作すると、液晶表示部(LCD)20上では上記(115)式の先頭位置までカーソルCの表示位置を戻した上で(ステップS114)、上記ステップS107からの処理に戻る。   When the user operates the “EXE” key for confirmation on the keyboard 18 as shown in FIG. 9A along with the display in the window W1, the above-mentioned formula (115) is displayed on the liquid crystal display (LCD) 20. After returning the display position of the cursor C to the head position (step S114), the process returns to the process from step S107.

図9(B)に示すように、ユーザが再び上記(14)式を変形したと思われる、置換式に用いた変数「a」と元変数「x」の双方を用いた式
「a=(x−1)−2」 …(16)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 9B, an expression using both the variable “a” and the original variable “x” used in the replacement expression, which the user thinks that the above expression (14) is modified again.
“A = (x−1) −2” (16)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた処理対象の方程式に対する変形式であると判別すると、制御部(CPU)11は上記ステップS112において、対象方程式solve結果記憶部17cに記憶させた正しい解「x=5」、及びこれに対応して置換式値記憶部17eに記憶させた置換式の値「a=2」を読出して上記(16)式に代入して左辺及び右辺の各値を算出する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In subsequent step S111, when it is determined that the input formula is a modified formula for the equation to be processed using the original variable and the substitution formula, the control unit (CPU) 11 in step S112, the target equation solve result storage unit. The correct solution “x = 5” stored in 17c and the value “a = 2” of the replacement expression stored in the replacement expression value storage unit 17e corresponding to this are read out and substituted into the above equation (16). Each value of the left side and the right side is calculated.

ここでは上記(16)式に「x=5」、「a=2」を代入した結果、両辺共に「2」となり、等号が成立するために、上記ステップS113で上記(16)式は変形式として正しいと判別し、上記ステップS107からの処理に戻る。   Here, as a result of substituting “x = 5” and “a = 2” into the above equation (16), both sides become “2”, and the equal sign is established. Therefore, the above equation (16) is changed in step S113. It is determined that the format is correct, and the process returns to step S107.

図9(B)に示すように液晶表示部(LCD)20では、置換式を含んだ対象方程式の変形式である上記(16)式の入力が正しかったものとして、次の入力を促すべく、上記(16)式の次行位置にカーソルCを表示している。   As shown in FIG. 9B, in the liquid crystal display unit (LCD) 20, assuming that the input of the above equation (16), which is a modified equation of the target equation including the substitution equation, is correct, to prompt the next input, The cursor C is displayed at the next line position of the above equation (16).

図9(C)に示すように、ユーザは次いで置換式に用いた変数「a」を用いた式
「a=a2−2」 …(17)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 9C, the user then uses the variable “a” used in the substitution formula.
“A = a 2 −2” (17)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式であると判別する。この判別により制御部(CPU)11は、上記ステップS116において、変形式を置換変数についてソルブ機能を実行し、置換変数の値を算出し、算出結果を変形式solve結果記憶部17gに記憶する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is a modified expression using only the replacement variable. Based on this determination, in step S116, the control unit (CPU) 11 executes a solve function on the substitution equation for the substitution variable, calculates the value of the substitution variable, and stores the calculation result in the transformation formula solve result storage unit 17g.

ここでは上記(17)式を解くことで、置換変数の解「a=−1,2」が得られる。   Here, the solution “a = −1, 2” of the substitution variable is obtained by solving the above equation (17).

さらに上記置換式記憶部17dに記憶する置換式が記号「√」を含む式であるか否かを判別する(ステップS117)。   Further, it is determined whether or not the substitution formula stored in the substitution formula storage unit 17d is a formula including the symbol “√” (step S117).

ここで置換式記憶部17dに記憶される、上記(13)式の置換式は記号「√」を含んでいるため、ステップS117でそれを判別して、置換変数の解から定義域に外れた解を置換変数の仮の解とする処理を実行する(ステップS118)。   Here, since the substitution formula of the above formula (13) stored in the substitution formula storage unit 17d includes the symbol “√”, the substitution formula is discriminated in step S117 and deviated from the domain of the substitution variable solution. A process of setting the solution as a temporary solution for the substitution variable is executed (step S118).

ここでは、置換変数の解「a=−1,2」のうち、上記(13)式の右辺が記号「√(x−1)」であるので、左辺「a」の定義域は「a>0」となり、定義域を外れた「a=−1」を仮の値として用いることとする。   Here, among the substitution variable solutions “a = −1, 2”, the right side of the above equation (13) is the symbol “√ (x−1)”, and therefore the domain of the left side “a” is “a> “A = −1” that is out of the definition range is used as a temporary value.

その後、変形式solve結果記憶部17gに記憶した置換変数の値が、置換式値記憶部17eに記憶する置換式の値と一致するか否かを判別する(ステップS119)。   Thereafter, it is determined whether or not the value of the substitution variable stored in the modified formula solve result storage unit 17g matches the value of the substitution formula stored in the replacement formula value storage unit 17e (step S119).

ここで変形式solve結果記憶部17gに記憶した置換変数の値は「a=−1,2」であり、一方の置換式値記憶部17eに記憶した置換式の値も、元変数の正しい解「x=5」に対応する置換式の正しい値が「a=2」、元変数の仮の解「x=2」に対応する置換式の仮の値は「a=−1」となるので、それぞれ一致するものと判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, the value of the substitution variable stored in the modified equation solve result storage unit 17g is “a = −1, 2”, and the value of the substitution formula stored in one substitution formula value storage unit 17e is also the correct solution of the original variable. The correct value of the replacement expression corresponding to “x = 5” is “a = 2”, and the temporary value of the replacement expression corresponding to the temporary solution “x = 2” of the original variable is “a = −1”. Then, it is determined that they match each other, and the process returns to the process from step S107 and waits for input of a further expression.

図9(C)に示すように液晶表示部(LCD)20では、置換式の変形式である上記(17)式の入力が正しかったものとして、次の入力を促すべく、上記(17)式の次行位置にカーソルCを表示している。   As shown in FIG. 9C, in the liquid crystal display unit (LCD) 20, assuming that the input of the above formula (17), which is a modification of the substitution formula, is correct, the above formula (17) is used to prompt the next input. The cursor C is displayed at the next line position.

次に、図10(A)に示すようにユーザは上記(17)式のさらなる変形式として、変数「a」を用いた式
「a2+a−2=0」 …(18)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
Next, as shown in FIG. 10A, the user uses a variable “a” as a further variation of the above equation (17).
“A 2 + a−2 = 0” (18)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式であると判別する。この判別により制御部(CPU)11は、上記ステップS116において、変形式を置換変数についてソルブ機能を実行し、置換変数の値を算出し、算出結果を変形式solve結果記憶部17gに記憶する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is a modified expression using only the replacement variable. Based on this determination, in step S116, the control unit (CPU) 11 executes a solve function on the substitution equation for the substitution variable, calculates the value of the substitution variable, and stores the calculation result in the transformation formula solve result storage unit 17g.

ここでは上記(18)式を解くことで、置換変数の解「a=−2,1」が得られる。   Here, the solution “a = −2, 1” of the substitution variable is obtained by solving the above equation (18).

さらに上記置換式記憶部17dに記憶する置換式が記号「√」を含む式であるか否かを判別する(ステップS117)。   Further, it is determined whether or not the substitution formula stored in the substitution formula storage unit 17d is a formula including the symbol “√” (step S117).

ここで置換式記憶部17dに記憶される、上記(13)式の置換式は記号「√」を含んでいるため、ステップS117でそれを判別して、置換変数の解から定義域に外れた解を置換変数の仮の解とする処理を実行する(ステップS118)。   Here, since the substitution formula of the above formula (13) stored in the substitution formula storage unit 17d includes the symbol “√”, the substitution formula is discriminated in step S117 and deviated from the domain of the substitution variable solution. A process of setting the solution as a temporary solution for the substitution variable is executed (step S118).

ここでは、置換変数の解「a=1,−2」のうち、上記(13)式の右辺が記号「√(x−1)」であるので、左辺「a」の定義域は「a>0」となり、定義域を外れた「a=−2」を仮の値として用いることとする。   Here, among the substitution variable solutions “a = 1, −2”, the right side of the above equation (13) is the symbol “√ (x−1)”, and therefore the domain of the left side “a” is “a> “A = −2” that is out of the definition range is used as a temporary value.

その後、変形式solve結果記憶部17gに記憶した置換変数の値が、置換式値記憶部17eに記憶する置換式の値と一致するか否かを判別する(ステップS119)。   Thereafter, it is determined whether or not the value of the substitution variable stored in the modified formula solve result storage unit 17g matches the value of the substitution formula stored in the replacement formula value storage unit 17e (step S119).

ここで変形式solve結果記憶部17gに記憶した置換変数の値は「a=1(正),−2(仮)」であり、一方の置換式値記憶部17eに記憶した置換式の値は、元変数の正しい解「x=5」に対応する置換式の正しい値が「a=2」、元変数の仮の解「x=2」に対応する置換式の仮の値が「a=−1」となるので、共に一致しないと判別し、エラーメッセージを液晶表示部(LCD)20で表示させると共に、その確認を待って誤った式入力の前の位置までカーソルCの表示位置を戻した上で(ステップS122)、上記ステップS107からの処理に戻る。   Here, the value of the substitution variable stored in the modified equation solve result storage unit 17g is “a = 1 (positive), −2 (temporary)”, and the value of the substitution formula stored in one substitution formula value storage unit 17e is The correct value of the replacement expression corresponding to the correct solution “x = 5” of the original variable is “a = 2”, and the temporary value of the replacement expression corresponding to the temporary solution “x = 2” of the original variable is “a = -1 ", it is determined that they do not coincide with each other, and an error message is displayed on the liquid crystal display (LCD) 20, and the display position of the cursor C is returned to the position before the erroneous expression input after the confirmation. After that (step S122), the process returns to step S107.

図10(A)では液晶表示部(LCD)20において、上記(18)式の下部にエラーメッセージのウィンドウW1を表示した状態を示す。同図(A)では、文字によるエラーメッセージ
「ERROR!」
「Sorry,not equivalent」
と共に、間違った変形式であることを視覚的に示す顔のシンボルF1と、間違った変形式であることをユーザが理解した場合の確認を促す「OK?」の文字とを表示している。
FIG. 10A shows a state in which an error message window W1 is displayed at the bottom of the equation (18) on the liquid crystal display unit (LCD) 20. In the figure (A), the error message is written in characters.
"ERROR!"
"Sorry, not equivalent"
At the same time, a face symbol F1 that visually indicates that the expression is incorrect and a character “OK?” That prompts confirmation when the user understands that the expression is incorrect are displayed.

このウィンドウW1での表示に伴って図10(B)に示すようにユーザがキーボード18で確認のための「EXE」キーを操作すると、液晶表示部(LCD)20上では上記(18)式の先頭位置までカーソルCの表示位置を戻した上で、上記ステップS107からの処理に戻る。   When the user operates the “EXE” key for confirmation on the keyboard 18 as shown in FIG. 10B along with the display in the window W1, the above-mentioned formula (18) is displayed on the liquid crystal display (LCD) 20. After returning the display position of the cursor C to the head position, the process returns to step S107.

図10(C)に示すようにユーザは上記(17)式のあらたな変形式として、変数「a」を用いた式
「a2−a−2=0」 …(19)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 10C, the user uses a variable “a” as a new modified expression of the above expression (17).
“A 2 −a−2 = 0” (19)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式であると判別する。この判別により制御部(CPU)11は、上記ステップS116において、変形式を置換変数についてソルブ機能を実行し、置換変数の値を算出し、算出結果を変形式solve結果記憶部17gに記憶する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is a modified expression using only the replacement variable. Based on this determination, in step S116, the control unit (CPU) 11 executes a solve function on the substitution equation for the substitution variable, calculates the value of the substitution variable, and stores the calculation result in the transformation formula solve result storage unit 17g.

ここでは上記(19)式を解くことで、置換変数の解「a=−1,2」が得られる。   Here, the solution “a = −1, 2” of the substitution variable is obtained by solving the above equation (19).

さらに上記置換式記憶部17dに記憶する置換式が記号「√」を含む式であるか否かを判別する(ステップS117)。   Further, it is determined whether or not the substitution formula stored in the substitution formula storage unit 17d is a formula including the symbol “√” (step S117).

ここで置換式記憶部17dに記憶される、上記(13)式の置換式は記号「√」を含んでいるため、ステップS117でそれを判別して、置換変数の解から定義域に外れた解を置換変数の仮の解とする処理を実行する(ステップS118)。   Here, since the substitution formula of the above formula (13) stored in the substitution formula storage unit 17d includes the symbol “√”, the substitution formula is discriminated in step S117 and deviated from the domain of the substitution variable solution. A process of setting the solution as a temporary solution for the substitution variable is executed (step S118).

ここでは、置換変数の解「a=−1,2」のうち、上記(13)式の右辺が記号「√(x−1)」であるので、左辺「a」の定義域は「a>0」となり、定義域を外れた「a=−1」を仮の値として用いることとする。   Here, among the substitution variable solutions “a = −1, 2”, the right side of the above equation (13) is the symbol “√ (x−1)”, and therefore the domain of the left side “a” is “a> “A = −1” that is out of the definition range is used as a temporary value.

その後、変形式solve結果記憶部17gに記憶した置換変数の値が、置換式値記憶部17eに記憶する置換式の値と一致するか否かを判別する(ステップS119)。   Thereafter, it is determined whether or not the value of the substitution variable stored in the modified formula solve result storage unit 17g matches the value of the substitution formula stored in the replacement formula value storage unit 17e (step S119).

ここで変形式solve結果記憶部17gに記憶した置換変数の値は「a=2(正),−1(仮)」であり、一方の置換式値記憶部17eに記憶した置換式の値も、元変数の正しい解「x=5」に対応する置換式の正しい値が「a=2」、元変数の仮の解「x=2」に対応する置換式の仮の値は「a=−1」となるので、それぞれ一致するものと判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, the value of the substitution variable stored in the modified equation solve result storage unit 17g is “a = 2 (positive), −1 (temporary)”, and the value of the substitution formula stored in one substitution formula value storage unit 17e is also The correct value of the replacement expression corresponding to the correct solution “x = 5” of the original variable is “a = 2”, and the temporary value of the replacement expression corresponding to the temporary solution “x = 2” of the original variable is “a = -1 ", it is determined that they match each other, and the process returns to the process from step S107 and waits for further expression input.

図10(C)に示すように液晶表示部(LCD)20では、置換式の変形式である上記(19)式の入力が正しかったものとして、次の入力を促すべく、上記(19)式の次行位置にカーソルCを表示している。   As shown in FIG. 10C, in the liquid crystal display unit (LCD) 20, assuming that the input of the formula (19), which is a modified formula of the substitution formula, is correct, the formula (19) is used to prompt the next input. The cursor C is displayed at the next line position.

図11(A)に示すようにユーザは上記(19)式を因数分解した変形式として、変数「a」を用いた式
「(a+1)・(a−2)=0」 …(20)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 11A, the user uses a variable “a” as a modified expression obtained by factoring the expression (19).
“(A + 1) · (a-2) = 0” (20)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式であると判別する。この判別により制御部(CPU)11は、上記ステップS116において、変形式を置換変数についてソルブ機能を実行し、置換変数の値を算出し、算出結果を変形式solve結果記憶部17gに記憶する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is a modified expression using only the replacement variable. Based on this determination, in step S116, the control unit (CPU) 11 executes a solve function on the substitution equation for the substitution variable, calculates the value of the substitution variable, and stores the calculation result in the transformation formula solve result storage unit 17g.

ここでは上記(20)式を解くことで、置換変数の解「a=−1,2」が得られる。   Here, the solution “a = −1, 2” of the substitution variable is obtained by solving the above equation (20).

さらに上記置換式記憶部17dに記憶する置換式が記号「√」を含む式であるか否かを判別する(ステップS117)。   Further, it is determined whether or not the substitution formula stored in the substitution formula storage unit 17d is a formula including the symbol “√” (step S117).

ここで置換式記憶部17dに記憶される、上記(13)式の置換式は記号「√」を含んでいるため、ステップS117でそれを判別して、置換変数の解から定義域に外れた解を置換変数の仮の解とする処理を実行する(ステップS118)。   Here, since the substitution formula of the above formula (13) stored in the substitution formula storage unit 17d includes the symbol “√”, the substitution formula is discriminated in step S117 and deviated from the domain of the substitution variable solution. A process of setting the solution as a temporary solution for the substitution variable is executed (step S118).

ここでは、置換変数の解「a=−1,2」のうち、上記(13)式の右辺が記号「√(x−1)」であるので、左辺「a」の定義域は「a>0」となり、定義域を外れた「a=−1」を仮の値として用いることとする。   Here, among the substitution variable solutions “a = −1, 2”, the right side of the above equation (13) is the symbol “√ (x−1)”, and therefore the domain of the left side “a” is “a> “A = −1” that is out of the definition range is used as a temporary value.

その後、変形式solve結果記憶部17gに記憶した置換変数の値が、置換式値記憶部17eに記憶する置換式の値と一致するか否かを判別する(ステップS119)。   Thereafter, it is determined whether or not the value of the substitution variable stored in the modified formula solve result storage unit 17g matches the value of the substitution formula stored in the replacement formula value storage unit 17e (step S119).

ここで変形式solve結果記憶部17gに記憶した置換変数の値は「a=2(正),−1(仮)」であり、一方の置換式値記憶部17eに記憶した置換式の値も、元変数の正しい解「x=5」に対応する置換式の正しい値が「a=2」、元変数の仮の解「x=2」に対応する置換式の仮の値は「a=−1」となるので、それぞれ一致するものと判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, the value of the substitution variable stored in the modified equation solve result storage unit 17g is “a = 2 (positive), −1 (temporary)”, and the value of the substitution formula stored in one substitution formula value storage unit 17e is also The correct value of the replacement expression corresponding to the correct solution “x = 5” of the original variable is “a = 2”, and the temporary value of the replacement expression corresponding to the temporary solution “x = 2” of the original variable is “a = -1 ", it is determined that they match each other, and the process returns to the process from step S107 and waits for further expression input.

図11(A)に示すように液晶表示部(LCD)20では、置換式の変形式である上記(20)式の入力が正しかったものとして、次の入力を促すべく、上記(20)式の次行位置にカーソルCを表示している。   As shown in FIG. 11A, in the liquid crystal display unit (LCD) 20, assuming that the input of the above formula (20), which is a modification of the substitution formula, was correct, the above formula (20) is used to prompt the next input. The cursor C is displayed at the next line position.

図11(B)に示すようにユーザは上記(20)式を解いた変形式として、変数「a」を用いた式
「a=−1 or a=2 …(21)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 11B, the user uses a variable “a” as a modified expression obtained by solving the expression (20).
“A = −1 or a = 2 (21)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式であると判別した制御部(CPU)11は、上記ステップS116において、変形式を置換変数についてソルブ機能を実行し、置換変数の値を算出し、算出結果を変形式solve結果記憶部17gに記憶する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In step S111, the control unit (CPU) determines that the input expression is not a modified expression using the original variable and the replacement expression, and determines that the input expression is a modified expression using only the replacement variable in the next step S115. In step S116, the solve function executes the solve function on the substitution variable, calculates the value of the substitution variable, and stores the calculation result in the transformation formula solve result storage unit 17g.

ここでは上記(21)式自体が置換変数の解を表す記述となっているので、そのまま置換変数の解「a=−1,2」が得られる。   Here, since the above equation (21) itself is a description representing the solution of the substitution variable, the solution “a = −1, 2” of the substitution variable is obtained as it is.

さらに上記置換式記憶部17dに記憶する置換式が記号「√」を含む式であるか否かを判別する(ステップS117)。   Further, it is determined whether or not the substitution formula stored in the substitution formula storage unit 17d is a formula including the symbol “√” (step S117).

ここで置換式記憶部17dに記憶される、上記(13)式の置換式は記号「√」を含んでいるため、ステップS117でそれを判別して、置換変数の解から定義域に外れた解を置換変数の仮の解とする処理を実行する(ステップS118)。   Here, since the substitution formula of the above formula (13) stored in the substitution formula storage unit 17d includes the symbol “√”, the substitution formula is discriminated in step S117 and deviated from the domain of the substitution variable solution. A process of setting the solution as a temporary solution for the substitution variable is executed (step S118).

ここでは、置換変数の解「a=−1,2」のうち、上記(13)式の右辺が記号「√(x−1)」であるので、左辺「a」の定義域は「a>0」となり、定義域を外れた「a=−1」を仮の値として用いることとする。   Here, among the substitution variable solutions “a = −1, 2”, the right side of the above equation (13) is the symbol “√ (x−1)”, and therefore the domain of the left side “a” is “a> “A = −1” that is out of the definition range is used as a temporary value.

その後、変形式solve結果記憶部17gに記憶した置換変数の値が、置換式値記憶部17eに記憶する置換式の値と一致するか否かを判別する(ステップS119)。   Thereafter, it is determined whether or not the value of the substitution variable stored in the modified formula solve result storage unit 17g matches the value of the substitution formula stored in the replacement formula value storage unit 17e (step S119).

ここで変形式solve結果記憶部17gに記憶した置換変数の値は「a=2(正),−1(仮)」であり、一方の置換式値記憶部17eに記憶した置換式の値も、元変数の正しい解「x=5」に対応する置換式の正しい値が「a=2」、元変数の仮の解「x=2」に対応する置換式の仮の値は「a=−1」となるので、それぞれ一致するものと判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, the value of the substitution variable stored in the modified equation solve result storage unit 17g is “a = 2 (positive), −1 (temporary)”, and the value of the substitution formula stored in one substitution formula value storage unit 17e is also The correct value of the replacement expression corresponding to the correct solution “x = 5” of the original variable is “a = 2”, and the temporary value of the replacement expression corresponding to the temporary solution “x = 2” of the original variable is “a = -1 ", it is determined that they match each other, and the process returns to the process from step S107 and waits for further expression input.

図11(B)に示すように液晶表示部(LCD)20では、置換式の変形式である上記(21)式の入力が正しかったものとして、次の入力を促すべく、上記(21)式の次行位置にカーソルCを表示している。   As shown in FIG. 11B, in the liquid crystal display unit (LCD) 20, assuming that the input of the formula (21), which is a modified formula of the substitution formula, is correct, the formula (21) is used to prompt the next input. The cursor C is displayed at the next line position.

図12(A)に示すように、ユーザは上記(21)式から置換を外した変形式として、元変数「x」を用いた式
「√(x−1)=−1 or √(x−1)=2 …(22)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
As shown in FIG. 12A, the user uses an original variable “x” as a modified expression obtained by removing the substitution from the above expression (21).
“√ (x−1) = − 1 or √ (x−1) = 2 (22)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式でもないと判別する。続くステップS123で、制御部(CPU)11は元変数「x」のみを用いた変形式であるか否かを判別する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is not a modified expression using only the replacement variable. In subsequent step S123, the control unit (CPU) 11 determines whether or not it is a modified expression using only the original variable “x”.

元変数のみを用いた変形式であると判別すると制御部(CPU)11は、変形式を元変数についてソルブ機能を実行して、元変数の解を算出し、算出結果を変形式solve結果記憶部17gに記憶する(ステップS124)。   If the control unit (CPU) 11 determines that it is a modified expression using only the original variable, the control unit (CPU) 11 executes a solve function on the original variable, calculates a solution of the original variable, and stores the calculation result as a modified expression solve result. Store in the part 17g (step S124).

このとき、式「√(x−1)=−1」に対してソルブ機能を実行した場合、本実施形態では虚数の概念を解から除外するものとする。そのため、解を求めることはせず、結果は「No Solution(解なし)」として取扱う。   At this time, when the solve function is executed for the expression “√ (x−1) = − 1”, in this embodiment, the concept of an imaginary number is excluded from the solution. Therefore, the solution is not obtained and the result is handled as “No Solution”.

また、式「√(x−1)=2」に対してソルブ機能を実行した場合、結果として「x=5」となる。したがって、解を算出することができた結果として「x=5」のみを変形式solve結果記憶部17gに記憶させる。   Further, when the solve function is executed for the expression “√ (x−1) = 2”, the result is “x = 5”. Therefore, only “x = 5” is stored in the modified equation solve result storage unit 17g as a result of calculating the solution.

この場合、上述したように変形式の一部でソルブ機能を実行した結果、「No Solution(解なし)」となった場合でも、他の変形式で解が算出できている場合には、あえてエラー表示等の処理は行なわない。   In this case, as described above, even if the solve function is executed with a part of the deformation equation and the result is “No Solution”, if the solution can be calculated with another deformation equation, Processing such as error display is not performed.

制御部(CPU)11は、変形式solve結果記憶部17gに記憶した変形式の解を対象方程式solve結果記憶部17cに記憶する内容と一致するか否か判別する(ステップS125)。   The control unit (CPU) 11 determines whether or not the solution of the deformation equation stored in the deformation equation solve result storage unit 17g matches the content stored in the target equation solve result storage unit 17c (step S125).

ここでは上記ステップS103により対象方程式solve結果記憶部17cに記憶した正しい解「x=5」と一致するため、制御部(CPU)11がそれを判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, since it matches the correct solution “x = 5” stored in the target equation solve result storage unit 17c in step S103, the control unit (CPU) 11 determines it, and returns to the processing from step S107, Wait for further expressions.

図12(A)に示すように液晶表示部(LCD)20では、元変数の変形式である上記(22)式の入力が正しかったものとして、次の入力を促すべく、上記(22)式の次行位置にカーソルCを表示している。   As shown in FIG. 12A, in the liquid crystal display unit (LCD) 20, assuming that the input of the equation (22), which is a modified equation of the original variable, is correct, the equation (22) is used to prompt the next input. The cursor C is displayed at the next line position.

次に図12(B)に示すように、ユーザは上記(22)式から、「√(n)<0」(nは実数)となる数の排除するべく、変形式として、元変数「x」を用いた式
「√(x−1)=2 …(23)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
Next, as shown in FIG. 12 (B), the user can use the original variable “x” as a modified equation to eliminate the number “√ (n) <0” (n is a real number) from the above equation (22). Formula using
“√ (x−1) = 2 (23)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式でもないと判別する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is not a modified expression using only the replacement variable.

続くステップS123で元変数「x」のみを用いた変形式であると判別すると制御部(CPU)11は、変形式を元変数についてソルブ機能を実行して、元変数の解を算出し、算出結果を変形式solve結果記憶部17gに記憶する(ステップS124)。   If it is determined in step S123 that it is a modified expression using only the original variable “x”, the control unit (CPU) 11 executes a solve function on the original variable to calculate a solution of the original variable, and calculates The result is stored in the modified solve result storage unit 17g (step S124).

式「√(x−1)=2」に対してソルブ機能を実行した場合、結果として「x=5」となる。したがって、解の算出結果「x=5」を変形式solve結果記憶部17gに記憶させる。   When the solve function is executed for the expression “√ (x−1) = 2”, the result is “x = 5”. Therefore, the solution calculation result “x = 5” is stored in the modified equation solve result storage unit 17g.

制御部(CPU)11は、変形式solve結果記憶部17gに記憶した変形式の解を対象方程式solve結果記憶部17cに記憶する内容と一致するか否か判別する(ステップS125)。   The control unit (CPU) 11 determines whether or not the solution of the deformation equation stored in the deformation equation solve result storage unit 17g matches the content stored in the target equation solve result storage unit 17c (step S125).

ここでは上記ステップS103により対象方程式solve結果記憶部17cに記憶した正しい解「x=5」と一致するため、制御部(CPU)11がそれを判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, since it matches the correct solution “x = 5” stored in the target equation solve result storage unit 17c in step S103, the control unit (CPU) 11 determines it, and returns to the processing from step S107, Wait for further expressions.

図12(B)に示すように液晶表示部(LCD)20では、元変数の変形式である上記(23)式の入力が正しかったものとして、次の入力を促すべく、上記(23)式の次行位置にカーソルCを表示している。   As shown in FIG. 12B, in the liquid crystal display unit (LCD) 20, assuming that the input of the above equation (23), which is a modified equation of the original variable, is correct, the above equation (23) is used to prompt the next input. The cursor C is displayed at the next line position.

次に図13(A)に示すように、ユーザは上記(23)式の両辺を二乗して記号「√()」を外す解法のセオリーに基づき、変形式として、元変数「x」を用いた式
「x−1=4 …(24)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
Next, as shown in FIG. 13A, the user uses the original variable “x” as a modified expression based on the theory of a solution that squares both sides of the above equation (23) and removes the symbol “√ ()”. Expression
“X−1 = 4 (24)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式でもないと判別する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is not a modified expression using only the replacement variable.

続くステップS123で元変数「x」のみを用いた変形式であると判別すると制御部(CPU)11は、変形式を元変数についてソルブ機能を実行して、元変数の解を算出し、算出結果を変形式solve結果記憶部17gに記憶する(ステップS124)。   If it is determined in step S123 that it is a modified expression using only the original variable “x”, the control unit (CPU) 11 executes a solve function on the original variable to calculate a solution of the original variable, and calculates The result is stored in the modified solve result storage unit 17g (step S124).

式「x−1=4」に対してソルブ機能を実行した場合、結果として「x=5」となる。したがって、解の算出結果「x=5」を変形式solve結果記憶部17gに記憶させる。   When the solve function is executed for the expression “x−1 = 4”, the result is “x = 5”. Therefore, the solution calculation result “x = 5” is stored in the modified equation solve result storage unit 17g.

制御部(CPU)11は、変形式solve結果記憶部17gに記憶した変形式の解を対象方程式solve結果記憶部17cに記憶する内容と一致するか否か判別する(ステップS125)。   The control unit (CPU) 11 determines whether or not the solution of the deformation equation stored in the deformation equation solve result storage unit 17g matches the content stored in the target equation solve result storage unit 17c (step S125).

ここでは上記ステップS103により対象方程式solve結果記憶部17cに記憶した正しい解「x=5」と一致するため、制御部(CPU)11がそれを判別し、上記ステップS107からの処理に戻って、さらなる式の入力を待機する。   Here, since it matches the correct solution “x = 5” stored in the target equation solve result storage unit 17c in step S103, the control unit (CPU) 11 determines it, and returns to the processing from step S107, Wait for further expressions.

図13(A)に示すように液晶表示部(LCD)20では、元変数の変形式である上記(24)式の入力が正しかったものとして、次の入力を促すべく、上記(24)式の次行位置にカーソルCを表示している。   As shown in FIG. 13A, in the liquid crystal display unit (LCD) 20, assuming that the input of the above equation (24), which is a modified equation of the original variable, is correct, the above equation (24) is used to prompt the next input. The cursor C is displayed at the next line position.

次に図13(B)に示すように、ユーザは上記(24)式左辺の「−1」を右辺に移項して、元変数「x」を用いた解の記述形式による式
「x=5」 …(25)
を入力し、入力を確定するべくキーボード18の「EXE」キーを操作する。
Next, as shown in FIG. 13B, the user moves “-1” on the left side of the above equation (24) to the right side, and uses the equation in the solution description format using the original variable “x”.
“X = 5” (25)
And the “EXE” key on the keyboard 18 is operated to confirm the input.

ステップS107でこの入力を受付け、続くステップS108で入力された式が置換式ではないと判別する。続くステップS111で、入力された式が元変数と置換式とを用いた変形式でもないと判別し、次のステップS115で置換変数のみを用いた変形式でもないと判別する。   In step S107, this input is accepted, and it is determined that the expression input in the subsequent step S108 is not a replacement expression. In the subsequent step S111, it is determined that the input expression is not a modified expression using the original variable and the replacement expression, and in the next step S115, it is determined that the input expression is not a modified expression using only the replacement variable.

続くステップS123で元変数「x」のみを用いた変形式でもないと判別すると制御部(CPU)11は、次に入力された式が元変数の解を表すものであるか否か、すなわち「x=(数値)」の形式で記述された式であるか否かを判別する(ステップS127)。   If it is determined in the following step S123 that it is not a modified expression using only the original variable “x”, the control unit (CPU) 11 determines whether or not the next input expression represents the solution of the original variable, that is, “ It is determined whether or not the expression is described in the format of “x = (numerical value)” (step S127).

ここで元変数の解を記述する式でもないと判別した場合、制御部(CPU)11はその他の入力内容に対応した適切な処理を行なうが、本実施形態とは関連しないものとしてその説明については省略する。   If it is determined that it is not an expression describing the solution of the original variable, the control unit (CPU) 11 performs appropriate processing corresponding to the other input contents, but the explanation is given as being unrelated to the present embodiment. Is omitted.

一方、上記ステップS127で元変数の解を記述する形式であると判別すると制御部(CPU)11は、入力された解が対象方程式solve結果記憶部17cに記憶させた元変数の正しい解と一致するか否かを判別する(ステップS128)。   On the other hand, if it is determined in step S127 that the solution of the original variable is described, the control unit (CPU) 11 matches the input solution with the correct solution of the original variable stored in the target equation solve result storage unit 17c. It is determined whether or not to perform (step S128).

この場合、制御部(CPU)11は入力された解の値が対象方程式solve結果記憶部17cに記憶させた元変数の正しい解の値と一致すると判別し、上記(25)式の入力が正しかったものとして、正解マーク及び正解メッセージを表示し(ステップS130)、上記ステップS107の処理に戻り、次の入力を待機する。   In this case, the control unit (CPU) 11 determines that the input solution value matches the correct solution value of the original variable stored in the target equation solve result storage unit 17c, and the input of the equation (25) is correct. As a result, the correct answer mark and the correct answer message are displayed (step S130), and the process returns to step S107 to wait for the next input.

図13(B)に示すように液晶表示部(LCD)20では、このとき正解メッセージのウィンドウW2を例示する。同図(B)に示すようにこのウィンドウW2では、正解メッセージ
「Right!」
の文字を、正解したことを視覚的に示す顔のシンボルF2と共に表示している。
As shown in FIG. 13B, the liquid crystal display (LCD) 20 illustrates a correct message window W2 at this time. In this window W2, as shown in FIG.
"Right!"
Is displayed together with a face symbol F2 which visually indicates that the answer is correct.

このように、対象となる方程式とユーザが入力した置換式が異なった場合にその旨を示すメッセージやシンボル等を表示した後、さらに正しい置換式を入力して解を導き出した場合には、正解である旨の表示を行なうものとしたため、ユーザのモチベーションを上げて教育効果を高めることができる。   In this way, when the target equation differs from the substitution formula entered by the user, a message or symbol indicating that fact is displayed, and if a correct substitution formula is entered to derive a solution, the correct answer Therefore, it is possible to increase the user's motivation and enhance the educational effect.

なお、上記ステップS125で、入力された元変数を用いた変形式のソルブ結果が対象方程式solve結果記憶部17cに記憶した元変数の解と一致しなかったと判別した場合には、エラーメッセージを液晶表示部(LCD)20で表示させると共に、その確認を待って誤った式入力の前の位置までカーソルCの表示位置を戻した上で(ステップS126)、上記ステップS107からの処理に戻る。   If it is determined in step S125 that the solve result of the modified equation using the input original variable does not match the solution of the original variable stored in the target equation solve result storage unit 17c, an error message is displayed on the liquid crystal display. While displaying on the display part (LCD) 20, waiting for the confirmation, the display position of the cursor C is returned to the position before the erroneous expression input (step S126), and the process returns to the process from step S107.

同様に、上記ステップS128で、入力された元変数の解が対象方程式solve結果記憶部17cに記憶した元変数の解と一致しなかったと判別した場合にも、エラーメッセージを液晶表示部(LCD)20で表示させると共に、その確認を待って誤った式入力の前の位置までカーソルCの表示位置を戻した上で(ステップS129)、上記ステップS107からの処理に戻る。   Similarly, when it is determined in step S128 that the input original variable solution does not match the original variable solution stored in the target equation solve result storage unit 17c, an error message is displayed on the liquid crystal display unit (LCD). In step S129, the display position of the cursor C is returned to the position before the erroneous expression input after waiting for the confirmation (step S129), and the process returns to step S107.

(実施形態の効果)
以上第1及び第2の動作例でも詳述した如く本実施形態によれば、任意の演算式を入力した上で、その式の変形途中の特に置換式に対する正誤を随時判定することが可能となる。そのため、処理対象となる方程式が各種複雑な構成を有する場合にそれを簡略化するような置換式の設定の仕方を気軽に試行錯誤しながら学んで習得することができる。
(Effect of embodiment)
As described in detail in the first and second operation examples, according to the present embodiment, it is possible to determine at any time whether an arithmetic expression is input and whether correctness or not with respect to a replacement expression in the middle of deformation of the expression is input at any time. Become. For this reason, when an equation to be processed has various complicated configurations, it is possible to learn and learn how to set a replacement formula so as to simplify it by trial and error.

また上記第2の動作例で詳述した如く、処理対象の方程式中の少なくとも一方の辺で平方根号内に元変数を含んでいる場合には、式の両辺を二乗した式について解を算出することで、平方根号を含む方程式の解を得るようにしたため、ユーザにより置換式を用いて方程式の解を求める場合においても対応できる。   Further, as described in detail in the second operation example, when an original variable is included in the square root sign on at least one side in the equation to be processed, a solution is calculated for an equation obtained by squaring both sides of the equation. Thus, since the solution of the equation including the square root sign is obtained, it is possible to cope with the case where the user finds the solution of the equation using the replacement equation.

加えて上記実施形態では、置換変数と元変数とが混在した混合方程式に対しても対処可能としたことで、方程式の変形により柔軟に対応して解を導き出すことが可能となる。   In addition, in the above-described embodiment, it is possible to deal with a mixed equation in which substitution variables and original variables are mixed, so that a solution can be derived flexibly by changing the equation.

また上記実施形態では、処理対象の方程式と元変数とを用いた変形式や最終的な元変数の解が入力された場合にも、その変形式についての正誤の判別を行ない、判別結果に応じて即時表示を行なうようにしたため、ユーザが入力する変形式や最終的な解に対して即時その正誤をユーザに認識させることができ、効率的な学習に寄与できる。   In the above embodiment, even when a modified expression using the equation to be processed and the original variable or a final original variable solution is input, the correctness / incorrectness of the modified expression is determined according to the determination result. Since the immediate display is performed, the user can immediately recognize the correctness / incorrectness of the deformation formula or the final solution input by the user, thereby contributing to efficient learning.

なお上記実施形態では、正しい変形式や置換式を入力した場合に、液晶表示部(LCD)20の画面上では単に次の入力を促すべく、その前に入力した式の次行位置にカーソルCを移動して表示させるものとして説明したが、本発明はこれに限らず、正しい式の入力に対して、画面端部で「OK?」や「○」のような簡易なシンボルを一定時間、例えば1秒間だけ表示させるなど、なんらかの正しい入力である旨の確認の表示を行なうものとしてもよい。   In the above embodiment, when a correct transformation formula or replacement formula is entered, the cursor C is placed at the next line position of the formula entered before that in order to prompt the next input on the screen of the liquid crystal display (LCD) 20. However, the present invention is not limited to this, and simple symbols such as "OK?" For example, it may be displayed for confirmation that the input is correct, such as displaying only for one second.

また上記実施形態の図3及び図4のフローチャートに記載した入力式判定処理の手法は、いずれもコンピュータに実行させることができるプログラムとして、メモリカードや磁気ディスク(フロッピディスク(登録商標)装置やハードディスク装置)、光ディスク(CD−ROM、MOディスク、DVD等)、半導体不揮発性メモリ等の外部記憶媒体に格納して配布することができる。   In addition, the input type determination processing methods described in the flow charts of FIGS. 3 and 4 of the above-described embodiment are memory cards, magnetic disks (floppy disk (registered trademark) devices, hard disks) as programs that can be executed by a computer. Apparatus), an optical disk (CD-ROM, MO disk, DVD, etc.), an external storage medium such as a semiconductor nonvolatile memory, and the like can be distributed.

さらに本実施形態は本発明を関数電卓に適用した場合について説明したが、本発明はそれに限ることなく、小型PC、PDA(Personal Digital Assistants:個人向け情報携帯端末)、携帯電話端末、携帯音楽プレーヤ、電子ブックなど種々の電子機器であるコンピュータ端末で、外部記憶媒体(13)に記憶されたプログラムを内部メモリ(12)に記憶させ、この記憶させたプログラムを読出して動作を実行させることにより、上記実施形態において説明した入力式判定処理と同様の処理を実行させることができる。   Furthermore, although this embodiment demonstrated the case where this invention was applied to a scientific calculator, this invention is not restricted to it, A small PC, PDA (Personal Digital Assistants: Personal information portable terminal), a mobile telephone terminal, a portable music player By storing the program stored in the external storage medium (13) in the internal memory (12) in a computer terminal which is various electronic devices such as an electronic book, and reading out the stored program to execute the operation. The same process as the input expression determination process described in the above embodiment can be executed.

また上記手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(インターネット)N上を伝送させることができ、この通信ネットワーク(インターネット)Nに接続されたコンピュータ端末(プログラムサーバ)16から上記プログラムデータを取込み、上述した入力式判定処理を実現することもできる。   Data of a program for realizing the above method can be transmitted on a communication network (Internet) N as a program code form, and a computer terminal (program server) 16 connected to the communication network (Internet) N. The program data can be taken in from the above, and the above-described input type determination process can be realized.

その他、本発明は上述した実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、上述した実施形態で実行される機能は可能な限り適宜組み合わせて実施しても良い。上述した実施形態には種々の段階が含まれており、開示される複数の構成要件による適宜の組み合せにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、効果が得られるのであれば、この構成要件が削除された構成が発明として抽出され得る。   In addition, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention in the implementation stage. Further, the functions executed in the above-described embodiments may be combined as appropriate as possible. The above-described embodiment includes various stages, and various inventions can be extracted by an appropriate combination of a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, if the effect is obtained, a configuration from which the constituent requirements are deleted can be extracted as an invention.

10…関数電卓、11…制御部(CPU)、12…ROM、12a…入力式判定処理プログラム、13…メモリカード、14…I/Oポート、15…外部パーソナルコンピュータ(PC)、16…Webサーバ、17…RAM、17a…式データ記憶部、17b…対象方程式記憶部、17c…対象方程式solve結果記憶部、17d…置換式記憶部、17e…変形式solve結果記憶部、18…キーボード、19…液晶駆動回路、20…液晶表示部(LCD)、21…タッチ入力部、22…座標入力部、N…ネットワーク。   DESCRIPTION OF SYMBOLS 10 ... Scientific calculator, 11 ... Control part (CPU), 12 ... ROM, 12a ... Input type determination processing program, 13 ... Memory card, 14 ... I / O port, 15 ... External personal computer (PC), 16 ... Web server , 17 ... RAM, 17a ... Formula data storage unit, 17b ... Target equation storage unit, 17c ... Target equation solve result storage unit, 17d ... Replacement formula storage unit, 17e ... Deformation formula solve result storage unit, 18 ... Keyboard, 19 ... Liquid crystal drive circuit, 20 ... Liquid crystal display unit (LCD), 21 ... Touch input unit, 22 ... Coordinate input unit, N ... Network.

Claims (5)

元変数についての方程式を入力する方程式入力手段と、
上記方程式入力手段で入力した元変数の解を算出する元変数解算出手段と、
置換変数を元変数の数式として記述した置換式を入力する置換式入力手段と、
上記置換式入力手段で入力した置換式に上記元変数解算出手段で算出した元変数の解を代入して、置換変数の値を算出する置換変数値算出手段と、
上記元変数についての方程式を変形した変形式を入力する変形式入力手段と、
上記変形式入力手段により入力された方程式の変形式が、上記元変数についての方程式を置換変数で記述した置換方程式である場合に、当該置換方程式について置換変数の解を算出する置換変数解算出手段と、
上記置換変数解算出手段で算出した置換変数の解と、上記置換変数値算出手段で算出した置換変数値とが一致するか否かを判別する置換変数判別手段と、
上記置換変数判別手段での判別結果に応じた表示を行なう表示制御手段と
を具備したことを特徴とする電子機器。
An equation input means for inputting an equation for the original variable;
Original variable solution calculation means for calculating a solution of the original variable input by the equation input means;
A substitution expression input means for inputting a substitution expression describing the substitution variable as a mathematical expression of the original variable;
Substitution variable value calculation means for substituting the solution of the original variable calculated by the original variable solution calculation means into the replacement expression input by the replacement expression input means, and calculating the value of the substitution variable;
A modified expression input means for inputting a modified expression obtained by modifying the equation for the original variable;
Deformation equation equation input by the deformation-type input means, in the case of the equation for the source variable is a substituted equation that describes substituted variable substitution variables solution calculating means for calculating a solution for the substitution variables for the substituted equation When,
A substitution variable determination means for determining whether or not the solution of the substitution variable calculated by the substitution variable solution calculation means and the value of the substitution variable calculated by the substitution variable value calculation means match;
An electronic apparatus comprising: display control means for performing display in accordance with a result of discrimination by the substitution variable discrimination means.
上記元変数解算出手段は、入力された方程式中のいずれかの辺が平方根号内に元変数を含む式である場合に、両辺を二乗した式について解を算出し、元変数の仮の解を得る仮変数算出手段を有し、
上記置換変数算出手段は、置換式に上記元変数の仮の解を代入して、置換変数の仮の解を算出する仮置換変数値算出手段を有し、
上記置換変数判別手段は、上記仮置換算出手段で算出した仮の置換数の解と、上記置換数値算出手段で算出した置換数値の双方が一致するか否かを判別する仮置換変数判別手段を有する
ことを特徴とする請求項1記載の電子機器。
The original variable solution calculation means calculates a solution for an expression in which both sides are squared when either side in the input equation is an expression including the original variable in the square root sign, and a temporary solution of the original variable has a temporary source variable solution calculating means for obtaining,
The substitution variable value calculation means includes provisional substitution variable value calculation means for calculating a provisional solution of the substitution variable by substituting the provisional solution of the original variable into a substitution expression,
Said substituted variable determining means determines substituted and variables of a provisional solution calculated in the temporary replacement variable value calculating means, whether both substituted variable value calculated at replacement variable value calculating means coincides The electronic device according to claim 1, further comprising a provisional replacement variable determination unit.
上記変式入力手段により、変形式を置換変数と元変数とで記述した混合方程式が入力された場合に、この混合方程式に上記元変数解算出手段による元変数のと、上記置換変数値算出手段で算出した置換変数の値とを入力して、上記混合方程式が成り立つか否かを判別する混合方程式判別手段をさらに具備したことを特徴とする請求項1記載の電子機器。 By the deformation type input means, when the mixing equations written in the substitution variables with the original variable deformation formula is entered, the solution of the original variables by the original variables solution calculating unit to the mixing equations, the substitution variable value 2. The electronic apparatus according to claim 1, further comprising a mixing equation determining unit that inputs a value of the substitution variable calculated by the calculating unit and determines whether or not the mixing equation holds. 上記変形式入力手段により、対象となる変形元変数用いて変形した変形方程式が入力された場合に、当該変形方程式について元変数の解を算出する変形式解算出手段と、
上記元変数解算出手段で算出した元変数の解と、上記変形式解算出手段で算出した元変数の解とが一致するか否か判別する変形式判別手段と、
上記変形式判別手段で元変数の解が一致しないと判別した場合、上記変形式入力手段により入力された変形式が誤っている旨の表示を行なう変形方程式誤り表示手段と、
上記変式入力手段により元変数の解が入力された場合に、入力された元変数の解と上記元変数解算出手段で算出した元変数解とが一致するか否かを判別する解判別手段と、
上記解判別手段で一致すると判別した場合に上記入力された元変数の解が正しい旨の表示を行なう正解表示手段と
をさらに具備したことを特徴とする請求項1記載の電子機器。
By the deformation type input means, when the modified equation deformed using the original variable deformation expressions of interest is inputted, and deformation equation solution calculating means for calculating a solution of the original variables for the deformation equation,
Deformation expression determining means for determining whether or not the solution of the original variable calculated by the original variable solution calculation means and the solution of the original variable calculated by the deformation expression solution calculation means match;
A deformation equation error display means for displaying that the deformation equation input by the deformation equation input means is incorrect when the deformation equation determination means determines that the solutions of the original variables do not match;
If the solution of the original variable is input by the variable format input means, solutions determination for determining whether or not the original variables solution calculated in the solution and the original variables solution calculating means of the input original variable matches Means,
2. The electronic apparatus according to claim 1, further comprising correct answer display means for displaying that the solution of the input original variable is correct when the answer determining means determines that they match.
電子機器が内蔵するコンピュータを制御するためのプログラムであって、
上記コンピュータを、
元変数についての方程式を入力する方程式入力手段、
上記方程式入力手段で入力した元変数の解を算出する元変数解算出手段、
置換変数を元変数の数式として記述した置換式を入力する置換式入力手段、
上記置換式入力手段で入力した置換式に上記元変数解算出手段で算出した元変数の解を代入して、置換変数の値を算出する置換変数値算出手段、
上記元変数についての方程式を変形した変形式を入力する変形式入力手段、
上記変形式入力手段により入力された方程式の変形式が、上記元変数についての方程式を置換変数で記述した置換方程式である場合に、当該置換方程式について置換変数の解を算出する置換変数解算出手段、
上記置換変数解算出手段で算出した置換変数の解と、上記置換変数値算出手段で算出した置換変数値とが一致するか否かを判別する置換変数判別手段、及び
上記置換変数判別手段での判別結果に応じた表示を行なう表示制御手段
として機能させるためのプログラム。
A program for controlling a computer incorporated in an electronic device,
The above computer
An equation input means for inputting an equation for the original variable,
Original variable solution calculating means for calculating the solution of the original variable input by the equation input means,
A substitution expression input means for inputting a substitution expression describing the substitution variable as a mathematical expression of the original variable,
Substitution variable value calculation means for substituting the solution of the original variable calculated by the original variable solution calculation means to the replacement expression input by the replacement expression input means,
A modified expression input means for inputting a modified expression obtained by modifying the equation for the original variable;
Deformation equation equation input by the deformation-type input means, in the case of the equation for the source variable is a substituted equation that describes substituted variable substitution variables solution calculating means for calculating a solution for the substitution variables for the substituted equation ,
A substitution variable discriminating unit that discriminates whether or not the solution of the substitution variable calculated by the substitution variable solution calculating unit and the value of the substitution variable calculated by the substitution variable value calculating unit match; and the substitution variable discrimination unit display control means for performing a display corresponding to the determination result,
Program to function as.
JP2010101396A 2010-04-26 2010-04-26 Electronic device and program Active JP5760327B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010101396A JP5760327B2 (en) 2010-04-26 2010-04-26 Electronic device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010101396A JP5760327B2 (en) 2010-04-26 2010-04-26 Electronic device and program

Publications (2)

Publication Number Publication Date
JP2011232468A JP2011232468A (en) 2011-11-17
JP5760327B2 true JP5760327B2 (en) 2015-08-05

Family

ID=45321847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010101396A Active JP5760327B2 (en) 2010-04-26 2010-04-26 Electronic device and program

Country Status (1)

Country Link
JP (1) JP5760327B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5979212B2 (en) 2014-12-24 2016-08-24 カシオ計算機株式会社 Electronic equipment and programs
JP6504128B2 (en) * 2016-07-27 2019-04-24 カシオ計算機株式会社 Electronic device, data processing method and program
KR102282126B1 (en) * 2018-07-20 2021-07-28 이쿠얼키 주식회사 Method for factorization through constant decomposition and a device of providing the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143161A (en) * 1985-12-17 1987-06-26 Casio Comput Co Ltd Electronic calculator
JP3284159B2 (en) * 1994-09-13 2002-05-20 シャープ株式会社 Electronic desk calculator
JP3968493B2 (en) * 1998-10-30 2007-08-29 カシオ計算機株式会社 Computing device and storage medium
JP4867056B2 (en) * 2005-08-02 2012-02-01 壽 横田 Mathematical problem answer evaluation method

Also Published As

Publication number Publication date
JP2011232468A (en) 2011-11-17

Similar Documents

Publication Publication Date Title
JP2009251750A (en) Electronic calculator and its control program
JP2012069085A (en) Display controller and program
JP5760327B2 (en) Electronic device and program
JP2013025501A (en) Information display device and program
JP4961792B2 (en) Formula editing apparatus and formula editing program
JP4715724B2 (en) Computer emulation apparatus and its control program
JP2011180267A (en) Electronic device and program
CN112162670A (en) Online learning method and device, electronic equipment and storage medium
US20140162236A1 (en) Interactive assignment system including a simulation system for simulating models of problems
JP2023107817A (en) Program, server, display method, and display system for providing educational web service
US20140162237A1 (en) Interactive assignment system including a simulation system for simulating models of problems
JP6504128B2 (en) Electronic device, data processing method and program
JP2008140150A (en) Operation procedure output device and operation procedure output program
JP7087679B2 (en) Graph display method, graph generation method, electronic devices and programs
JP5979212B2 (en) Electronic equipment and programs
CN109545019B (en) Learning support device and learning support method
JP2011043917A (en) Mathematical expression display arithmetic unit and program
JP5416252B2 (en) Input display program, method and portable information terminal
JP4325591B2 (en) Graph display device and graph display processing program
JP4092810B2 (en) Calculation display device and computer-readable recording medium recording program
JP5471126B2 (en) Electronic device and program
JP5109539B2 (en) Arithmetic processing device and control program
JP2000132516A (en) Calculation device and storage medium
JP4463318B2 (en) Electronic device, control program, and computer-readable recording medium
JP4333266B2 (en) Graph display control device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140624

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140825

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: 20150512

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150525

R150 Certificate of patent (=grant) or registration of utility model

Ref document number: 5760327

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150