JP2011053911A - Numerical expression display device and program - Google Patents
Numerical expression display device and program Download PDFInfo
- Publication number
- JP2011053911A JP2011053911A JP2009202215A JP2009202215A JP2011053911A JP 2011053911 A JP2011053911 A JP 2011053911A JP 2009202215 A JP2009202215 A JP 2009202215A JP 2009202215 A JP2009202215 A JP 2009202215A JP 2011053911 A JP2011053911 A JP 2011053911A
- Authority
- JP
- Japan
- Prior art keywords
- formula
- area
- region
- group
- mathematical 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.)
- Granted
Links
Images
Landscapes
- Calculators And Similar Devices (AREA)
Abstract
Description
本発明は、数式表示装置及びプログラムに関する。 The present invention relates to a mathematical expression display device and a program.
従来、ディスプレイに数式を表示する関数電卓などの数式表示装置においては、複数の数式をグラフ化して表示し、これらのグラフで囲まれる領域の面積を算出することができるようになっている(例えば、特許文献1参照)。 2. Description of the Related Art Conventionally, in a mathematical expression display device such as a scientific calculator that displays mathematical expressions on a display, a plurality of mathematical expressions are displayed in a graph, and the area of a region surrounded by these graphs can be calculated (for example, , See Patent Document 1).
しかしながら、上記特許文献1記載の技術では、数式で表される領域を変域として、領域積分式に用いることはできない。
However, with the technique described in
本発明の課題は、数式で表される領域を変域として、領域積分式に用いることのできる数式表示装置及びプログラムを提供することである。 The subject of this invention is providing the numerical formula display apparatus and program which can be used for a region integral type by making the area | region represented by numerical formula into a domain.
以上の課題を解決するため、請求項1に記載の発明は、数式表示装置において、
複数の数式を記憶する数式記憶手段と、
前記数式記憶手段に記憶された少なくとも1つの数式を、ユーザ操作に基づいて選択数式群として選択する数式選択手段と、
前記選択数式群のグラフで表される領域に対しユーザ操作に基づいて領域名を付け、この領域名と、前記選択数式群とを対応付けて登録する領域登録手段と、
ユーザ操作に基づいて、前記領域名を使用した領域積分式を入力する領域積分式入力手段と、
前記領域名を使用して前記領域積分式を表示する領域積分式表示手段と、
を備えることを特徴とする。
In order to solve the above problems, the invention according to
Formula storage means for storing a plurality of formulas;
Formula selection means for selecting at least one formula stored in the formula storage means as a selected formula group based on a user operation;
An area registration unit that assigns an area name to the area represented by the graph of the selected formula group based on a user operation, and registers the area name and the selected formula group in association with each other;
Based on a user operation, a region integration equation input means for inputting a region integration equation using the region name;
A region integral expression display means for displaying the region integral equation using the region name;
It is characterized by providing.
請求項2記載の発明は、請求項1記載の数式表示装置において、
前記領域登録手段は、
面積を持たない領域について領域名が登録される場合に、当該領域が面積を持たない旨のメッセージを表示するとともに、前記選択数式群のグラフを表示する第1の数式グラフ確認手段を有することを特徴とする。
The invention according to
The area registration means includes:
When a region name is registered for a region that does not have an area, a message indicating that the region does not have an area is displayed, and first formula graph confirmation means for displaying a graph of the selected formula group is included. Features.
請求項3記載の発明は、請求項1または2記載の数式表示装置において、
前記領域積分式入力手段は、
面積を持たない領域名を使用した領域積分式が入力される場合に、当該領域が面積を持たない旨のメッセージを表示するとともに、前記選択数式群のグラフを表示する第2の数式グラフ確認手段を有することを特徴とする。
According to a third aspect of the present invention, in the mathematical expression display device according to the first or second aspect,
The region integration type input means includes:
When a region integration expression using a region name having no area is input, a message indicating that the region does not have an area is displayed, and a second equation graph confirmation unit that displays a graph of the selected equation group It is characterized by having.
請求項4記載の発明は、請求項2または3記載の数式表示装置において、
前記選択数式群のグラフが表示された状態で、これらのグラフで囲まれる何れかの領域を、ユーザ操作に基づいて指定領域として指定する領域指定手段と、
前記選択数式群によって前記指定領域が表されるよう、当該選択数式群における数式の内容を修正する数式修正手段と、
を備えることを特徴とする。
According to a fourth aspect of the present invention, in the mathematical expression display device according to the second or third aspect,
In a state where the graph of the selected formula group is displayed, an area designating unit for designating any area surrounded by these graphs as a designated area based on a user operation;
Formula correcting means for correcting the contents of formulas in the selected formula group so that the designated area is represented by the selected formula group;
It is characterized by providing.
請求項5記載の発明は、請求項4記載の数式表示装置において、
前記選択数式群を表示する選択数式群表示手段を備え、
この選択数式群表示手段は、
前記数式修正手段により前記選択数式群における数式の内容が修正された場合に、修正箇所を識別表示することを特徴とする。
According to a fifth aspect of the present invention, in the mathematical expression display device according to the fourth aspect,
A selected formula group display means for displaying the selected formula group;
This selected formula group display means
When the formula correction means corrects the content of the formula in the selected formula group, the correction location is identified and displayed.
請求項6記載の発明は、請求項4または5記載の数式表示装置において、
前記数式修正手段は、
前記指定領域に合わせて、前記選択数式群における数式内の等号または不等号を修正することを特徴とする。
The invention according to
The formula correcting means includes
In accordance with the designated area, an equal sign or an inequality sign in a formula in the selected formula group is corrected.
請求項7記載の発明は、請求項6記載の数式表示装置において、
前記数式修正手段は、
前記選択数式群における数式内の等号または不等号を修正した後に、当該選択数式群のグラフで表される領域が複数あり、かつ、これらの領域の一部のみが前記指定領域である場合に、
当該指定領域の座標軸方向での範囲を算出し、この範囲を示す不等式を前記選択数式群に追加することを特徴とする。
The invention according to claim 7 is the mathematical expression display device according to
The formula correcting means includes
After correcting the equal sign or inequality sign in the formula in the selected formula group, when there are a plurality of areas represented by the graph of the selected formula group, and only a part of these areas is the specified area,
A range in the coordinate axis direction of the designated area is calculated, and an inequality indicating the range is added to the selection formula group.
請求項8記載の発明は、プログラムにおいて
コンピュータに、
複数の数式を記憶する数式記憶機能と、
前記数式記憶機能によって記憶された少なくとも1つの数式を、ユーザ操作に基づいて選択数式群として選択する数式選択機能と、
前記選択数式群のグラフで表される領域に対しユーザ操作に基づいて領域名を付け、この領域名と、前記選択数式群とを対応付けて登録する領域登録機能と、
ユーザ操作に基づいて、前記領域名を使用した領域積分式を入力する領域積分式入力機能と、
前記領域名を使用して前記領域積分式を表示する領域積分式表示機能と、
を実現させることを特徴とする。
According to the eighth aspect of the present invention, in the program, the computer
Formula storage function for storing multiple formulas;
Formula selection function for selecting at least one formula stored by the formula storage function as a selected formula group based on a user operation;
An area registration function for assigning an area name to the area represented by the graph of the selected formula group based on a user operation and registering the area name and the selected formula group in association with each other;
Based on a user operation, a region integration formula input function for inputting a region integration formula using the region name,
A region integral expression display function for displaying the region integral equation using the region name;
It is characterized by realizing.
本発明によれば、少なくとも1つの数式がユーザ操作に基づいて選択数式群として選択され、選択数式群のグラフで表される領域に対しユーザ操作に基づいて領域名が付けられると、この領域名と選択数式群とが対応付けて登録され、ユーザ操作に基づいて、前記領域名を使用した領域積分式が入力され、領域名を使用して表示されるので、数式で表される領域を変域として、領域積分式に用いることができる。 According to the present invention, when at least one mathematical expression is selected as a selected mathematical expression group based on a user operation, and an area name is given based on the user operation to the area represented by the graph of the selected mathematical expression group, this area name And the selected formula group are registered in association with each other, and the region integration formula using the region name is input and displayed using the region name based on a user operation. As a region, it can be used in a region integral formula.
以下、添付図面を参照して本発明に係る実施の形態の一例を詳細に説明する。ただし、発明の範囲は、図示例に限定されない。 Hereinafter, an example of an embodiment according to the present invention will be described in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.
[1.1 外観構成]
図1は、本発明に係る電子機器を適用した関数電卓1の概略構成を示す平面図である。
この図に示すように、関数電卓1は、各種キー群を有する入力キー群2と、ディスプレイ3と、を備えている。
[1.1 External configuration]
FIG. 1 is a plan view showing a schematic configuration of a
As shown in the figure, the
入力キー群2は、ユーザから数値や演算記号等の数式構成要素の入力操作を受けたり、各種処理の指示操作を受けたりするためのキー群であり、それぞれ固有の機能を割り当てられた複数のキーを備えている。本実施の形態においては、入力キー群2は、テンキー20や演算記号キー21、カーソルキー22、EXEキー23、DELキー24、EXITキー25、メニューキー26等を備えている。
The
このうち、テンキー20は数値の入力操作を受けるキーであり、演算記号キー21は各種演算記号の入力操作を受けるキーである。
Among these, the
カーソルキー22は、ディスプレイ3内で編集対象位置や選択対象位置を示すカーソルCR(図6(c)等参照)を所定の移動方向に移動させる場合等に押下されるキーであり、本実施の形態においては、上下左右の4方向について入力可能に構成されている。
The
EXEキー23は、処理の実行指示や決定指示の入力操作を受けるキーであり、例えば数式の入力後には演算処理の実行を指示するキーとして機能するようになっている。DELキー24は、ディスプレイ3に表示されている数値や演算記号などの削除操作を受けるキーである。EXITキー25は、関数電卓1における各種処理の終了を指示する場合に押下されるキーである。メニューキー26は、関数電卓1において各機能を実行する為のメニューを呼び出すキーであり、本実施の形態においては、後述の領域積分入力処理(図5参照)において積分領域の内容を表示させるためのメニューを呼び出すようになっている。
The
ディスプレイ3は、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等により構成されており、入力キー群2などの操作に応じた文字や符号、数式、演算結果などの他、関数電卓1を使用するために必要な各種データを表示するようになっている。このディスプレイ3には、タッチパネル30が表示画面全面に亘って一体的に設けられている。
The
タッチパネル30は、ディスプレイ3の表示画面に対する入力ペン(図示省略)の接触位置を電磁誘導方式、磁気歪式、感圧式等の方式によって検出し、当該接触位置の信号を出力するようになっている。具体的には、本実施の形態におけるディスプレイ3には、選択キー35や登録キー31、一覧キー32、描画キー33、領域積分キー34(図7(a)参照)などがソフトキーとして表示されるようになっており、これらのキーに対してタッチ操作が行われると、タッチされたキーに対応する信号をタッチパネル30が出力するようになっている。
The
ここで、選択キー35は、後述の領域登録処理(図3参照)において数式を選択する場合に押下されるキーである。
登録キー31は、後述の領域登録処理(図3参照)において数式群(領域)を登録する場合に押下されるキーである。
一覧キー32は、後述の領域登録処理(図3参照)において登録済みの数式群などをディスプレイ3に一覧表示させる場合に押下されるキーである。
Here, the
The
The
描画キー33は、数式のグラフをディスプレイ3に描画させる場合等に押下されるキーである。
領域積分キー34は、後述の領域積分入力処理(図5参照)において領域積分の積分関数式を入力する場合等に押下されるキーである。
The drawing
The
[1.2 機能構成]
続いて、関数電卓1の機能構成を説明する。
図2は、関数電卓1の概略的な機能構成を示すブロック図である。
[1.2 Functional configuration]
Next, the functional configuration of the
FIG. 2 is a block diagram illustrating a schematic functional configuration of the
この図に示すように、関数電卓1は、キー入力部14と、表示部15と、RAM(Random Access Memory)12と、記憶部13と、CPU(Central Processing Unit)11と、を備えて構成されている。
As shown in the figure, the
キー入力部14は、上述の入力キー群2を備えており、押下されたキーに対応する操作信号をCPU11に出力するようになっている。
The
表示部15は、上述のディスプレイ3を備えており、CPU11からの表示信号に従って各種情報をディスプレイ3に表示するようになっている。また、この表示部15は、ディスプレイ3と一体的に設けられたタッチパネル30を備えており、表示画面に対する入力ペンの接触位置情報をCPU11に出力するようになっている。
The
RAM12は、情報を一時的に格納する揮発性のメモリであり、実行される各種プログラムやこれら各種プログラムに係るデータ等を格納する複数のワークエリアを有する。例えば、本実施の形態におけるRAM12は、ワークエリアとして数式記憶領域120及び選択数式群記憶領域121を有するようになっている。
The
数式記憶領域120には、後述の領域登録処理(図3参照)において入力される少なくとも1つの数式が蓄積記憶されるようになっている。
The mathematical
選択数式群記憶領域121には、後述の領域登録処理(図3参照)において選択される少なくとも1つの数式(以下、選択数式群とする)が記憶されるようになっている。
The selected formula
記憶部13は、ROM(Read Only Memory)等により構成される不揮発性のメモリであり、各種プログラム及び各種データを記憶している。具体的には、記憶部13は、本発明に係るプログラムとしての数式表示プログラム130と、数式群テーブル131とを記憶している。
The
数式表示プログラム130は、後述の領域登録処理(図3参照)及び領域積分入力処理(図5参照)をCPU11に実行させるためのプログラムである。
The mathematical
数式群テーブル131は、後述の領域登録処理(図3参照)において数式群に登録名を対応付けて蓄積記憶するようになっている。 The formula group table 131 is configured to store and store a registered name in association with a formula group in an area registration process (see FIG. 3) described later.
CPU11は、関数電卓1の各部を中央制御する。具体的には、CPU11は、記憶部13に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM12に展開し、RAM12に展開されたプログラムとの協働で、各種処理を実行する。
The
[1.3 関数電卓の動作]
<領域登録処理>
続いて、関数電卓1の動作のうち、領域登録処理について説明する。
[1.3 Operation of scientific calculator]
<Region registration process>
Subsequently, an area registration process in the operation of the
図3は、領域登録処理の動作を説明するためのフローチャートである。なお、この領域登録処理は、ユーザによりタッチパネル30やキー入力部14を介して領域登録処理の実行指示が入力されると、記憶部13から数式表示プログラム130が読み出されてRAM12に適宜展開される結果、当該数式表示プログラム130とCPU11との協働によって実行される。
FIG. 3 is a flowchart for explaining the operation of the area registration processing. In this area registration process, when a user inputs an execution instruction for the area registration process via the
この図に示すように、領域登録処理においては、まずユーザが入力キー群2を操作して数式を入力すると、CPU11は、各数式を数式記憶領域120に蓄積記憶させる(ステップS1)。
As shown in this figure, in the area registration process, when the user first operates the input
次に、選択キー35やカーソルキー22を介して数式記憶領域120内の少なくとも1つの数式をユーザが選択すると(ステップS2)、CPU11は、選択された数式群、つまり選択数式群を選択数式群記憶領域121に記憶させるとともに、ユーザにより描画キー33が操作されるか否かを判定し(ステップS3)、操作されないと判定した場合(ステップS3;No)には、後述のステップS5に移行する。
Next, when the user selects at least one formula in the
また、ステップS3において描画キーが操作されたと判定した場合(ステップS3;Yes)には、CPU11は、描画確認・領域式修正処理を行う(ステップS4)。
If it is determined in step S3 that the drawing key has been operated (step S3; Yes), the
具体的には、図4に示すように、まずCPU11は、選択数式群で表されるグラフ画像をディスプレイ3に表示させる(ステップT1)。
Specifically, as shown in FIG. 4, the
次に、CPU11は、グラフで囲まれる何れかの領域がユーザにより指定領域として指定されるか否かを判定し(ステップT2)、されないと判定した場合(ステップT2;No)には、ユーザによりEXITキー25が操作されるか否かを判定する(ステップT21)。なお、領域の指定はタッチパネル30を介して行っても良いし、カーソルキー22を介して行っても良い。
Next, the
そして、このステップT21においてEXITキー25が操作されたと判定した場合(ステップT21;Yes)には、CPU11は描画確認・領域式修正処理を終了し、操作されないと判定した場合(ステップT21;No)には、他の処理へ移行する。
If it is determined in step T21 that the
また、上述のステップT2においてグラフ画像上の領域がユーザによって指定されたと判定した場合(ステップT2;Yes)には、CPU11は、選択数式群における先頭の数式を指定数式として指定し(ステップT3)、指定数式が等式であるか否かを判定する(ステップT4)。
If it is determined in step T2 that the area on the graph image is designated by the user (step T2; Yes), the
このステップT4において指定数式が等式であると判定した場合(ステップT4;Yes)には、CPU11は、指定領域が表されるよう、指定数式中の等号を不等号に修正して選択数式群記憶領域121内の情報を更新した後(ステップT5)、後述のステップT9に移行する。これにより、指定領域に合わせて選択数式群における数式内の等号が修正される。
When it is determined in step T4 that the designated mathematical expression is an equality (step T4; Yes), the
また、ステップT4において指定数式が等式ではないと判定した場合(ステップT4;Yes)には、CPU11は、指定数式が不等式であるか否かを判定し(ステップT6)、不等式ではないと判定した場合(ステップT6;No)には、他の処理へ移行する。
When it is determined in step T4 that the designated mathematical expression is not an equality (step T4; Yes), the
また、ステップT6において指定数式が不等式であると判定した場合(ステップT6;Yes)には、CPU11は、指定数式中の不等号の向きが指定領域と合致するか否かを判定し(ステップT7)、合致すると判定した場合(ステップT7;Yes)には、後述のステップT9に移行する。
If it is determined in step T6 that the designated mathematical expression is an inequality (step T6; Yes), the
また、ステップT7において指定数式中の不等号の向きが指定領域と合致しないと判定した場合(ステップT7;No)には、CPU11は、指定領域が表されるよう、指定数式中の不等号の向きを修正して選択数式群記憶領域121内の情報を更新する(ステップT8)。これにより、指定領域に合わせて選択数式群における数式内の不等号が修正される。
If it is determined in step T7 that the direction of the inequality sign in the specified formula does not match the specified area (step T7; No), the
次に、CPU11は、選択数式群に次の数式が存在するか否かを判定し(ステップT9)、存在すると判定した場合(ステップT9;Yes)には、次の数式を指定数式として指定し(ステップT10)、上述のステップT4に移行する。
Next, the
また、ステップT9において次の数式が存在しないと判定した場合(ステップT9;No)には、CPU11は、選択数式群記憶領域121内の選択数式群のグラフで表される領域が複数あり、かつ、これらの領域の一部のみが指定領域であるか否か、つまり、指定領域以外にグラフで囲まれる領域が存在するか否かを判定し(ステップT11)、存在しないと判定した場合(ステップT11;No)には、描画確認・領域式修正処理を終了する。
If it is determined in step T9 that the next mathematical expression does not exist (step T9; No), the
また、ステップT11において指定領域以外にグラフで囲まれる領域が存在すると判定した場合(ステップT11;Yes)には、CPU11は、指定領域の左端・右端に対応した交点のX座標から、指定領域のX軸方向での範囲を算出する(ステップT12)。
If it is determined in step T11 that there is an area surrounded by the graph other than the designated area (step T11; Yes), the
次に、CPU11は、この範囲を示す不等式、例えば「左端値≦X≦右端値」を選択数式群に追加して選択数式群記憶領域121に記憶させ(ステップT13)、描画確認・領域式修正処理を終了する。これにより、選択数式群によって指定領域が表されるよう、選択数式群における数式の内容が修正される。なお、上記のステップT12〜T13では、指定領域のX軸方向での範囲を算出し、この範囲を示す不等式を追加することとして説明したが、指定領域のY軸方向での範囲を算出し、この範囲を示す不等式を追加するなど、他の座標軸方向での範囲を算出して不等式を追加することとしても良い。
Next, the
以上の描画確認・領域式修正処理が終了したら、次にCPU11は、図3に示すように、登録キー31が操作されるか否かを判定し(ステップS5)、操作されないと判定した場合(ステップS5;No)には、他の処理へ移行する。
When the above drawing confirmation / regional correction processing is completed, the
また、ステップS5において登録キー31が操作されたと判定した場合(ステップS5;Yes)には、CPU11は、選択数式群で表される領域に面積がないか否かを判定し(ステップS6)、面積があると判定した場合(ステップS6;No)には、後述のステップS11に移行する。
If it is determined in step S5 that the
また、ステップS6において選択数式群で表される領域に面積がないと判定した場合(ステップS6;Yes)には、CPU11は、選択数式群で表される領域が面積を持たない旨のメッセージと、描画確認するか否かの選択メニュー(図示せず)とをディスプレイ3に表示させる(ステップS7)。
If it is determined in step S6 that the area represented by the selected formula group has no area (step S6; Yes), the
次に、CPU11は、描画確認する旨の選択メニューがユーザに選択されるか否かを判定し(ステップS8)、選択されないと判定した場合(ステップS8;No)には、後述のステップS11に移行する。
Next, the
また、ステップS8において描画確認する旨の選択メニューが選択されたと判定した場合(ステップS8;Yes)には、CPU11は、上記ステップS4と同様の描画確認・領域式修正処理を行う(ステップS9)。
If it is determined in step S8 that the selection menu for confirming drawing has been selected (step S8; Yes), the
次に、CPU11は、ユーザに選択数式群の登録名を入力させた後(ステップS11)、選択数式群に登録名を対応付けて数式群テーブル131に記憶させる(ステップS12)。これにより、選択数式群で表される領域に対して登録名(領域名)が対応付けられて記憶されることとなる。なお、このステップS11においては、後述の図6(d)等に示すように、CPU11は、登録名として使用可能な候補をディスプレイ3に一覧表示させ、何れかの候補をユーザに選択させても良い。
Next, the
次に、CPU11は、選択数式群と、その登録名とをディスプレイ3に表示させた後(ステップS13)、選択数式群のグラフをディスプレイ3に表示させる(ステップS14)。このステップS13においてCPU11は、ステップS4,S9の描画確認・領域式修正処理によって選択数式群における数式の内容が修正されている場合には、修正箇所を識別表示するようになっている。なお、本実施の形態においては、修正箇所を太字で識別表示することとして説明するが、文字の色を変更して識別表示する等、他の態様で識別表示しても良い。
Next, the
次に、CPU11は、一覧キー32が操作されるか否かを判定する(ステップS15)。ここで、本実施の形態においては、このステップS15において一覧キー32が操作された後、後述の処理により複数の数式群がまとめられ、新たな数式群が作成されることとなる。
Next, the
このステップS15において一覧キー32が操作されたと判定した場合(ステップS15;Yes)には、CPU11は、数式群テーブル131に登録された登録名と、対応する数式群のグラフとをディスプレイ3に一覧表示させ、登録名をユーザに選択させる(ステップS16)。なお、このステップS16において、登録名及びグラフがディスプレイ3に表示しきれない場合には、CPU11は、カーソルキー22によるスクロール表示によって各登録名及びグラフをディスプレイ3に表示させるようになっている。
If it is determined in step S15 that the
次に、CPU11は、ユーザにより複数の登録名が選択されるか否かを判定し(ステップS17)、複数選択されないと判定した場合(ステップS17;No)には、他の処理へ移行する。
Next, the
また、ステップS17において登録名が複数選択されたと判定した場合(ステップS17;Yes)には、CPU11は、ユーザにより登録キー31が操作されるか否かを判定し(ステップS18)、操作されないと判定した場合(ステップS18;No)には、他の処理へ移行する。
If it is determined in step S17 that a plurality of registered names have been selected (step S17; Yes), the
また、このステップS18において登録キー31が操作されたと判定した場合(ステップS18;Yes)には、CPU11は、新たに作成される数式群の登録名をユーザに入力させる(ステップS19)。なお、このステップS19においては、CPU11は、登録名として使用可能な候補をディスプレイ3に一覧表示させ、何れかの候補をユーザに選択させても良い。
If it is determined in step S18 that the
次に、CPU11は、ステップS16で選択された複数の登録名に対応する複数の選択数式群を、新たな1つの選択数式群としてまとめ、この選択数式群にステップS19での登録名を対応付けて数式群テーブル131に登録させる(ステップS20)。そして、CPU11は、当該選択数式群の内容をディスプレイ3に表示させた後、上述のステップS15に移行する。
Next, the
また、このステップS15において一覧キー32が操作されないと判定した場合(ステップS15;No)には、CPU11は、描画キー33が操作されるか否かを判定する(ステップS21)。
If it is determined in step S15 that the
このステップS21において描画キー33が操作されたと判定した場合(ステップS21;Yes)には、CPU11は、選択数式群のグラフをディスプレイ3に表示させた後(ステップS22)、グラフで囲まれる何れかの領域がユーザにより指定領域として指定されるか否かを判定する(ステップS23)。
If it is determined in step S21 that the drawing
このステップS23において領域が指定されたと判定した場合(ステップS23;Yes)には、CPU11は上述のステップS4へ移行し、領域が指定されないと判定した場合(ステップS23;No)には、上述のステップS15に移行する。なお、ステップS23からステップS4の描画確認・領域修正処理に移行する場合には、CPU11は、上述のステップT1〜T2を行わず、ステップT3から描画確認・領域修正処理を行うこととしても良い(図4参照)。更に、ステップS23からステップS4の描画確認・領域修正処理に移行する場合には、CPU11は、上述のステップT13で追加された数式を、選択数式群から削除するようになっている。
When it is determined in step S23 that an area has been designated (step S23; Yes), the
また、上述のステップS21において描画キーが操作されないと判定した場合(ステップS21;No)には、CPU11は、EXITキー25が操作されるか否かを判定する(ステップS24)。
If it is determined in step S21 that the drawing key is not operated (step S21; No), the
そして、このステップS24においてEXITキー25が操作されないと判定した場合(ステップS24;No)には、CPU11は他の処理へ移行し、操作されたと判定した場合(ステップS24;Yes)には、領域登録処理を終了する。
If it is determined in step S24 that the
<領域積分入力処理>
続いて、関数電卓1の動作のうち、領域積分入力処理について説明する。
<Area integration input processing>
Next, the region integration input process among the operations of the
図5は、領域積分入力処理の動作を説明するためのフローチャートである。なお、この領域積分入力処理は、ユーザによりタッチパネル30やキー入力部14を介して領域積分入力処理の実行指示が入力されると、記憶部13から数式表示プログラム130が読み出されてRAM12に適宜展開される結果、当該数式表示プログラム130とCPU11との協働によって実行される。
FIG. 5 is a flowchart for explaining the operation of the region integration input process. In this region integration input process, when a user inputs an execution instruction for the region integration input process via the
この図に示すように、領域積分処理においては、まずユーザが数式入力の開始操作を行うと(ステップU1)、CPU11は、数式入力画面をディスプレイ3に表示させた後、領域積分キー34がユーザに操作されるか否かを判定し(ステップU2)、操作されないと判定した場合(ステップU2;No)には、他の処理へ移行する。
As shown in this figure, in the region integration process, first, when the user performs a mathematical expression input start operation (step U1), the
また、ステップU2において領域積分キー34が操作されたと判定した場合(ステップU2;Yes)には、CPU11は、ディスプレイ3にカーソルCRを表示させ、積分関数式における被積分関数(f(x,y))をユーザに入力させる(ステップU3)。
If it is determined in step U2 that the
次に、CPU11は、積分関数式における積分領域の入力エリアにカーソルCRが移動するか否かを判定し(ステップU4)、移動しないと判定した場合(ステップU4;No)には、他の処理へ移行する。
Next, the
また、このステップU4において積分領域の入力エリアにカーソルCRが移動したと判定した場合(ステップU4;Yes)には、CPU11は、ユーザに積分領域名として、数式群テーブル131内の何れかの登録名を入力させる(ステップU5)。なお、このステップU5においては、CPU11は、数式群テーブル131内の登録名をディスプレイ3に一覧表示させ、何れかの登録名をユーザに選択させても良い。
If it is determined in step U4 that the cursor CR has moved to the input area of the integration area (step U4; Yes), the
次に、CPU11は、入力された登録名に対応する数式群を選択数式群として数式群テーブル131から読み出し、この選択数式群で表される領域に面積がないか否かを判定し(ステップU6)、面積があると判定した場合(ステップU6;No)には、後述のステップU10に移行する。
Next, the
また、ステップU6において選択数式群で表される領域に面積がないと判定した場合(ステップU6;Yes)には、CPU11は、選択数式群で表される領域が面積を持たない旨のメッセージと、描画確認するか否かの選択メニュー(図示せず)とをディスプレイ3に表示させる(ステップU7)。
If it is determined in step U6 that the area represented by the selected formula group has no area (step U6; Yes), the
次に、CPU11は、描画確認する旨の選択メニューがユーザに選択されるか否かを判定し(ステップU8)、選択されないと判定した場合(ステップU8;No)には、後述のステップU10に移行する。
Next, the
また、ステップU8において描画確認する旨の選択メニューが選択されたと判定した場合(ステップU8;Yes)には、CPU11は、上記ステップS4と同様の描画確認・領域式修正処理を行った後(ステップU9)、選択数式群と、その登録名とをディスプレイ3に表示させる(ステップU10)。ここで、このステップU10においてCPU11は、ステップU9の描画確認・領域式修正処理によって選択数式群における数式の内容が修正されている場合には、修正箇所を識別表示するようになっている。
On the other hand, if it is determined in step U8 that the selection menu for confirming the drawing has been selected (step U8; Yes), the
次に、CPU11は、ステップU5で入力された数式群の登録名を、積分関数式における積分領域の入力エリアに表示させる(ステップU11)。これにより、登録名を使用した領域積分式が入力されて表示されることとなる。
Next, the
次に、CPU11は、メニューキー26等を介して積分領域の内容を表示させる旨の操作がユーザに行われるか否かを判定し(ステップU12)、行われないと判定した場合(ステップU12;No)には、後述のステップU16に移行する。
Next, the
また、ステップU12において積分領域の内容を表示させる旨の操作が行われたと判定した場合(ステップU12;Yes)には、CPU11は、積分領域の入力エリアに表示された登録名に対応する数式群を数式群テーブル131から読み出してディスプレイ3に表示させる(ステップU13)。
If it is determined in step U12 that an operation for displaying the contents of the integration area has been performed (step U12; Yes), the
次に、CPU11は、描画キー33がユーザに操作されるか否かを判定し(ステップU14)、操作されないと判定した場合(ステップU14;No)には、後述のステップU16に移行する。
Next, the
また、ステップU14において描画キー33が操作されたと判定した場合(ステップU14;Yes)には、CPU11は、ステップU13で表示された数式群のグラフをディスプレイ3に表示させる(ステップU15)。
If it is determined in step U14 that the drawing
次に、CPU11は、EXEキー23がユーザに操作されるか否かを判定し(ステップU16)、操作されないと判定した場合(ステップU16;No)には、他の処理へ移行する。
Next, the
また、ステップU16においてEXEキー23が操作されたと判定した場合(ステップU16;Yes)には、CPU11は、ステップU1〜U11で入力された積分関数式について積分演算を実行し、演算結果をディスプレイ3に表示させて(ステップU17)、領域積分入力処理を終了する。
On the other hand, if it is determined in step U16 that the
[1.4 動作例]
続いて、図面を参照しつつ、上述した関数電卓1の動作を具体的に説明する。
[1.4 Operation example]
Next, the operation of the
(動作例1)
まず、図6(a),(b)に示すように、ユーザが領域登録処理の実行指示を入力した後、複数の数式「Y1≧X3−3X」,「Y2≦X」,「X3≧0」を入力し(ステップS1)、これらの数式を選択数式群として選択する(ステップS2)。なお、これらの数式中「Y1」や「Y2」、「X3」など、変数に付された添え字は、式番号を示している。また、本動作例においては、数式中に小文字で入力された変数を、便宜的に大文字で図示している。また、図6(b)では、選択された数式に黒塗りの三角記号を付している。
(Operation example 1)
First, as shown in FIGS. 6A and 6B, after the user inputs an instruction to execute the region registration process, a plurality of mathematical expressions “Y1 ≧ X 3 −3X”, “Y2 ≦ X”, “X3 ≧ "0" is input (step S1), and these formulas are selected as a selected formula group (step S2). In these formulas, subscripts attached to variables such as “Y1”, “Y2”, and “X3” indicate formula numbers. In this operation example, variables entered in lowercase letters in the formula are shown in uppercase letters for convenience. In FIG. 6B, a black triangle symbol is added to the selected formula.
次に、図6(c)に示すように、ユーザが描画キー33を操作せず(ステップS3;No)、登録キー31を操作すると(ステップS5;Yes)、選択数式群「Y1≧X3−3X」,「Y2≦X」,「X3≧0」で表される領域に面積があると判定され(ステップS6;No)、ディスプレイ3に登録名の入力画面が表示される。
Next, as shown in FIG. 6C, when the user does not operate the drawing key 33 (step S3; No) and operates the registration key 31 (step S5; Yes), the selected formula group “Y1 ≧ X 3 -3X ”,“ Y2 ≦ X ”, and“ X3 ≧ 0 ”are determined to have an area (step S6; No), and a registration name input screen is displayed on the
次に、図6(d)〜(e)に示すように、ユーザが選択数式群の登録名「DA」を入力すると(ステップS11)、選択数式群「Y1≧X3−3X」,「Y2≦X」,「X3≧0」と、その登録名「DA」とが対応付けられて数式群テーブル131に登録され、ディスプレイ3に表示される(ステップS13)。続いて、図6(f)に示すように、これら選択数式群のグラフがディスプレイ3に表示される(ステップS14)。 Next, as shown in FIGS. 6D to 6E, when the user inputs the registered name “DA” of the selected formula group (step S11), the selected formula groups “Y1 ≧ X 3 −3X”, “Y2”. ≦ X ”,“ X3 ≧ 0 ”and the registered name“ DA ”are associated with each other and registered in the formula group table 131 and displayed on the display 3 (step S13). Subsequently, as shown in FIG. 6F, a graph of the selected formula group is displayed on the display 3 (step S14).
そして、ユーザが一覧キー32及び描画キー33を操作せず(ステップS15;No、ステップS21;No)、EXITキー25を操作すると(ステップS24;Yes)、領域登録処理が終了する。
Then, when the user does not operate the
次に、ユーザが領域積分入力処理の実行指示を入力し数式入力の開始操作を行うと(ステップU1)、図7(a)に示すように、ディスプレイ3に数式の入力画面が表示される。
Next, when the user inputs an execution instruction for the region integration input process and performs a mathematical expression input start operation (step U1), a mathematical expression input screen is displayed on the
次に、図7(b)に示すように、ユーザが領域積分キー34を操作すると(ステップU2;Yes)、被積分関数と積分領域との部分が空欄となった積分関数式がディスプレイ3に表示され、被積分関数の部分にカーソルCRが表示される(ステップU3)。
Next, as shown in FIG. 7B, when the user operates the region integration key 34 (step U2; Yes), an integration function equation in which the integrand and integration region portions are blank is displayed on the
次に、図7(c),(d)に示すように、ユーザが被積分関数「X2+Y2」を入力し、積分領域の入力エリアにカーソルCRを移動させた後(ステップU4)、数式群(領域)の登録名「DA」を入力すると(ステップU5)、入力された登録名「DA」に対応する数式群「Y1≧X3−3X」,「Y2≦X」,「X3≧0」が数式群テーブル131から読み出された後、この数式群で表される領域に面積があると判定される(ステップU6;No)。なお、本動作例における登録名の入力時には、図7(d)に示すように、数式群テーブル131に登録済みの登録名「DA」,「D」,…が一覧表示され、ユーザが選択できるようになっている。 Next, as shown in FIGS. 7C and 7D, after the user inputs the integrand “X 2 + Y 2 ” and moves the cursor CR to the input area of the integration area (step U4), When the registration name “DA” of the mathematical formula group (area) is input (step U5), the mathematical formula groups “Y1 ≧ X 3 −3X”, “Y2 ≦ X”, “X3 ≧” corresponding to the input registration name “DA”. After “0” is read from the formula group table 131, it is determined that there is an area in the region represented by this formula group (step U6; No). When the registered name is input in this operation example, as shown in FIG. 7D, registered names “DA”, “D”,... Are displayed in a list in the formula group table 131 and can be selected by the user. It is like that.
次に、数式群と登録名とが表示された後(ステップU10)、図7(e)に示すように、この数式群の登録名「DA」が積分関数式における積分領域の入力エリアに表示される(ステップU11)。 Next, after the mathematical formula group and the registered name are displayed (step U10), as shown in FIG. 7E, the registered name “DA” of this mathematical formula group is displayed in the input area of the integration area in the integral function formula. (Step U11).
次に、図8(a)に示すように、積分領域の内容を表示させる旨の操作をユーザが行うと(ステップU12;Yes)、登録名「DA」に対応する数式群「Y1≧X3−3X」,「Y2≦X」,「X3≧0」がディスプレイ3に表示される(ステップU13)。 Next, as shown in FIG. 8A, when the user performs an operation to display the contents of the integration region (step U12; Yes), the mathematical expression group “Y1 ≧ X 3 ” corresponding to the registered name “DA”. −3X ”,“ Y2 ≦ X ”, and“ X3 ≧ 0 ”are displayed on the display 3 (step U13).
そして、図8(b)に示すように、ユーザが描画キー33を操作すると、数式群「Y1≧X3−3X」,「Y2≦X」,「X3≧0」のグラフがディスプレイ3に表示される(ステップU15)。なお、本動作例では、この状態からユーザがEXEキー23を操作すると、図8(c)に示すように、積分関数式が改めて表示され、更にEXEキー23を操作すると(ステップU16;Yes)、演算結果が表示されるようになっている。
Then, as shown in FIG. 8B, when the user operates the drawing
(動作例2)
まず、図9(a),(b)に示すように、ユーザが領域登録処理の実行指示を入力した後、複数の数式「Y1=X3−3X」,「Y2=X」を入力し(ステップS1)、これらの数式を選択数式群として選択する(ステップS2)。
(Operation example 2)
First, as shown in FIGS. 9A and 9B, after the user inputs an instruction to execute the region registration process, a plurality of mathematical expressions “Y1 = X 3 −3X” and “Y2 = X” are input ( In step S1), these mathematical expressions are selected as a selected mathematical expression group (step S2).
次に、図9(c)に示すように、ユーザが描画キー33を操作すると(ステップS3;Yes)、選択数式群「Y1=X3−3X」,「Y2=X」で表されるグラフ画像がディスプレイ3に表示される(ステップS4、ステップT1)。 Next, as illustrated in FIG. 9C, when the user operates the drawing key 33 (step S <b>3; Yes), graphs represented by selected formula groups “Y1 = X 3 −3X”, “Y2 = X”. An image is displayed on the display 3 (step S4, step T1).
次に、図9(d)に示すように、グラフで囲まれる領域をユーザが指定領域として指定すると(ステップT2;Yes)、選択数式群「Y1=X3−3X」,「Y2=X」における先頭の数式「Y1=X3−3X」が等式であると判定され(ステップT4;Yes)、数式中の等号「=」が不等号「≧」に修正され、数式は「Y3≧X3−3X」となる(ステップT5)。同様に、2番目の数式「Y2=X」が等式であると判定され(ステップT4;Yes)、数式中の等号「=」が不等号「≦」に修正され、数式は「Y4≦X」となる(ステップT5)。なお、本動作例においては、数式が修正される場合には、修正前後の数式を区別するため、式番号を表す添え字が変更されている。 Next, as shown in FIG. 9D, when the user designates the area surrounded by the graph as the designated area (step T2; Yes), the selection formula group “Y1 = X 3 −3X”, “Y2 = X”. the beginning of a formula "Y1 = X 3 -3X" is determined to be an equality in (step T4; Yes), the equal sign "=" in formulas are modified inequality "≧", the formula "Y3 ≧ X the 3 -3X "(step T5). Similarly, it is determined that the second mathematical expression “Y2 = X” is an equality (step T4; Yes), the equal sign “=” in the mathematical expression is corrected to an inequality sign “≦”, and the mathematical expression is “Y4 ≦ X”. (Step T5). In this operation example, when a mathematical expression is modified, the subscript representing the mathematical expression number is changed to distinguish the mathematical expressions before and after the modification.
そして、選択数式群「Y3≧X3−3X」,「Y4≦X」のグラフで表される領域が2つあり、かつ、指定領域以外にグラフで囲まれる領域が存在すると判定され(ステップT11;Yes)、X軸方向での指定領域の範囲を示す不等式「0≦X5≦2」が選択数式群「Y3≧X3−3X」,「Y4≦X」に追加される(ステップT13)。 Then, it is determined that there are two regions represented by the graphs of the selected mathematical formula groups “Y3 ≧ X 3 −3X” and “Y4 ≦ X”, and there are regions surrounded by the graph other than the designated region (step T11). ; Yes), the inequality “0 ≦ X5 ≦ 2” indicating the range of the designated region in the X-axis direction is added to the selected mathematical formula group “Y3 ≧ X 3 −3X”, “Y4 ≦ X” (step T13).
次に、図9(e)に示すように、ユーザが登録キー31を操作すると(ステップS5;Yes)、選択数式群「Y3≧X3−3X」,「Y4≦X」,「0≦X5≦2」で表される領域に面積があると判定され(ステップS6;No)、ディスプレイ3に登録名の入力画面が表示される。
Next, as shown in FIG. 9 (e), when the user operates the registration key 31 (step S5; Yes), the selected formula group “Y3 ≧ X 3 −3X”, “Y4 ≦ X”, “0 ≦ X5”. It is determined that there is an area in the region represented by ≦ 2 ”(step S6; No), and a registration name input screen is displayed on the
次に、図9(e)〜(f)に示すように、ユーザが選択数式群の登録名「D1」を入力すると(ステップS11)、選択数式群「Y3≧X3−3X」,「Y4≦X」,「0≦X5≦2」と、その登録名「D1」とが対応付けられて数式群テーブル131に登録されるとともにディスプレイ3に表示される(ステップS13)。このとき、選択数式群内で修正された箇所は太字で識別表示される。 Next, as shown in FIGS. 9E to 9F, when the user inputs the registered name “D1” of the selected formula group (step S11), the selected formula groups “Y3 ≧ X 3 −3X”, “Y4” .Ltoreq.X "," 0.ltoreq.X5.ltoreq.2 "and the registered name" D1 "are registered in the mathematical expression group table 131 and displayed on the display 3 (step S13). At this time, the corrected part in the selected formula group is identified and displayed in bold.
次に、図9(g)に示すように、選択数式群のグラフがディスプレイ3に表示された後(ステップS14)、ユーザが一覧キー32を操作せずに(ステップS15;No)、描画キー33を操作すると(ステップS21;Yes)、図10(a)に示すように、選択数式群「Y3≧X3−3X」,「Y4≦X」,「0≦X5≦2」のグラフが改めてディスプレイ3に表示される(ステップS22)。 Next, as shown in FIG. 9G, after the graph of the selected formula group is displayed on the display 3 (step S14), the user does not operate the list key 32 (step S15; No), and the drawing key. When 33 is operated (step S21; Yes), as shown in FIG. 10A, the graphs of the selected formula groups “Y3 ≧ X 3 −3X”, “Y4 ≦ X”, “0 ≦ X5 ≦ 2” are renewed. It is displayed on the display 3 (step S22).
次に、図10(b)に示すように、グラフで囲まれる別の領域をユーザが指定領域として指定すると(ステップS23;Yes、ステップT2;Yes)、ステップT13で追加された数式「0≦X5≦2」が選択数式群「Y3≧X3−3X」,「Y4≦X」,「0≦X5≦2」から削除された後、選択数式群「Y3≧X3−3X」,「Y4≦X」における先頭の数式「Y3≧X3−3X」が不等式であり、不等号の向きが指定領域と合致しないと判定され(ステップT6;Yes、ステップT7;No)、数式中の不等号「≧」が不等号「≦」に修正され、数式は「Y6≦X3−3X」となる(ステップT8)。同様に、2番目の数式「Y4≦X」が不等式であり、不等号の向きが指定領域と合致しないと判定され(ステップT6;Yes、ステップT7;No)、数式中の不等号「≦」が不等号「≧」に修正され、数式は「Y7≧X」となる(ステップT8)。 Next, as shown in FIG. 10B, when the user designates another area surrounded by the graph as the designated area (step S23; Yes, step T2; Yes), the mathematical expression “0 ≦ 0” added in step T13 is displayed. After X5 ≦ 2 ”is deleted from the selected formula groups“ Y3 ≧ X 3 −3X ”,“ Y4 ≦ X ”,“ 0 ≦ X5 ≦ 2 ”, the selected formula groups“ Y3 ≧ X 3 −3X ”,“ Y4 The first mathematical expression “Y3 ≧ X 3 −3X” in ≦ X ”is an inequality, and it is determined that the direction of the inequality sign does not match the specified region (step T6; Yes, step T7; No), and the inequality sign“ ≧ ”in the mathematical expression. ”Is corrected to an inequality sign“ ≦ ”, and the mathematical expression becomes“ Y6 ≦ X 3 −3X ”(step T8). Similarly, it is determined that the second mathematical expression “Y4 ≦ X” is an inequality, and the direction of the inequality sign does not match the specified region (step T6; Yes, step T7; No), and the inequality sign “≦” in the mathematical expression is an inequality sign. It is corrected to “≧”, and the mathematical formula becomes “Y7 ≧ X” (step T8).
そして、選択数式群「Y6≦X3−3X」,「Y7≧X」のグラフで表される領域が2つあり、かつ、指定領域以外にグラフで囲まれる領域が存在すると判定され(ステップT11;Yes)、X軸方向での指定領域の範囲を示す不等式「−2≦X8≦0」が選択数式群「Y6≦X3−3X」,「Y7≧X」に追加される(ステップT13)。 Then, it is determined that there are two regions represented by the graphs of the selected mathematical formula groups “Y6 ≦ X 3 −3X” and “Y7 ≧ X”, and there are regions surrounded by the graph other than the designated region (step T11). ; Yes), the inequality “−2 ≦ X8 ≦ 0” indicating the range of the designated region in the X-axis direction is added to the selected equation group “Y6 ≦ X 3 −3X”, “Y7 ≧ X” (step T13). .
次に、図10(c),(d)に示すように、ユーザが登録キー31を操作し(ステップS5;Yes)、選択数式群の登録名「D2」を入力すると(ステップS11)、選択数式群「Y6≦X3−3X」,「Y7≧X」,「−2≦X8≦0」と、その登録名「D2」とが対応付けられて数式群テーブル131に登録されるとともにディスプレイ3に表示される(ステップS13)。このとき、選択数式群内で修正された箇所は太字で識別表示される。
Next, as shown in FIGS. 10C and 10D, when the user operates the registration key 31 (step S5; Yes) and inputs the registration name “D2” of the selected formula group (step S11), the selection is made. The mathematical formula group “Y6 ≦ X 3 −3X”, “Y7 ≧ X”, “−2 ≦ X8 ≦ 0” and the registered name “D2” are associated with each other and registered in the mathematical formula group table 131 and the
次に、図10(e)〜(i)に示すように、選択数式群のグラフがディスプレイ3に表示された後(ステップS14)、ユーザが一覧キー32を操作し(ステップS15;Yes)、登録名「D1」,「D2」の数式群を選択して登録キー31を操作し(ステップS17;Yes、ステップS18;Yes)、登録名「D」を入力すると(ステップS19)、登録名「D1」,「D2」に対応する選択数式群が新たな1つの選択数式群としてまとめられ、登録名「D」と対応付けられて表示される(ステップS20)。
Next, as shown in FIGS. 10E to 10I, after the graph of the selected formula group is displayed on the display 3 (step S14), the user operates the list key 32 (step S15; Yes), When the registered names “D1” and “D2” are selected and the
(動作例3)
まず、図11(a)に示すように、ユーザが領域登録処理の実行指示を入力した後、複数の数式「Y1≦X2」,「Y2≧2X2」,「Y3≦2」を入力し(ステップS1)、これらの数式を選択数式群として選択する(ステップS2)。
(Operation example 3)
First, as shown in FIG. 11A, after the user inputs an instruction to execute the area registration process, a plurality of mathematical expressions “Y1 ≦ X 2 ”, “Y2 ≧ 2X 2 ”, and “Y3 ≦ 2” are input. (Step S1), these mathematical expressions are selected as a selected mathematical expression group (Step S2).
次に、ユーザが登録キー31を操作すると(ステップS5;Yes)、図11(b),(c)に示すように、選択数式群で表される領域が面積を持たない旨のメッセージと、描画確認するか否かの選択メニューとがディスプレイ3に表示される(ステップS7) Next, when the user operates the registration key 31 (step S5; Yes), as shown in FIGS. 11B and 11C, a message indicating that the area represented by the selected formula group has no area; A menu for selecting whether to confirm drawing is displayed on the display 3 (step S7).
このとき、描画確認する旨の選択メニューをユーザが選択すると(ステップS8;Yes)、図11(d)に示すように、選択数式群「Y1≦X2」,「Y2≧2X2」,「Y3≦2」で表されるグラフ画像がディスプレイ3に表示される(ステップS9、ステップT1)。更に、図11(e),(f)に示すように、グラフで囲まれる領域をユーザが指定領域として指定すると(ステップT2;Yes)、選択数式群「Y1≦X2」,「Y2≧2X2」,「Y3≦2」における先頭の数式「Y1≦X2」が不等式であり、不等号の向きが指定領域と合致しないと判定され(ステップT6;Yes、ステップT7;No)、数式中の不等号「≦」が不等号「≧」に修正される(ステップT8)。同様に、2番目の数式「Y2≧2X2」が不等式であり、不等号の向きが指定領域と合致しないと判定され(ステップT6;Yes、ステップT7;No)、数式中の不等号「≧」が不等号「≦」に修正されることとなる(ステップT8)。 At this time, when the user selects a selection menu for confirming drawing (step S8; Yes), as shown in FIG. 11D, selection formula groups “Y1 ≦ X 2 ”, “Y2 ≧ 2X 2 ”, “ A graph image represented by “Y3 ≦ 2” is displayed on the display 3 (step S9, step T1). Further, as shown in FIGS. 11E and 11F, when the user designates an area surrounded by the graph as the designated area (step T2; Yes), the selection formula group “Y1 ≦ X 2 ”, “Y2 ≧ 2X 2 ”,“ Y3 ≦ 2 ”, the first mathematical expression“ Y1 ≦ X 2 ”is an inequality, and it is determined that the direction of the inequality sign does not match the designated area (step T6; Yes, step T7; No). The inequality sign “≦” is corrected to the inequality sign “≧” (step T8). Similarly, it is determined that the second mathematical expression “Y2 ≧ 2X 2 ” is an inequality, and the direction of the inequality sign does not match the designated region (step T6; Yes, step T7; No), and the inequality sign “≧” in the mathematical expression is The inequality sign “≦” is corrected (step T8).
但し、本動作例においては、図11(c)の状態から描画確認する旨の選択メニューをユーザが選択せずに(ステップS8;No)、選択数式群「Y1≦X2」,「Y2≧2X2」,「Y3≦2」に登録名「D4」を対応付けて登録し(ステップS11)、領域登録処理を終了することとして説明する。 However, in this operation example, the user does not select the selection menu for confirming drawing from the state of FIG. 11C (step S8; No), but the selection formula groups “Y1 ≦ X 2 ”, “Y2 ≧ It is assumed that the registration name “D4” is registered in association with “2X 2 ” and “Y3 ≦ 2” (step S11), and the region registration process is terminated.
この状態から、ユーザが領域積分入力処理の実行指示を入力して数式入力の開始操作を行った後(ステップU1)、図12(a),(b)に示すように、領域積分キー34を操作し(ステップU2;Yes)、被積分関数「X2+Y2」を入力して積分領域の入力エリアにカーソルCRを移動させ(ステップU4)、数式群(領域)の登録名「D4」を入力すると(ステップU5)、登録名「D4」に対応する数式群「Y1≦X2」,「Y2≧2X2」,「Y3≦2」が数式群テーブル131から読み出され、この数式群で表される領域に面積がないと判定され(ステップU6;Yes)、図12(c),(d)に示すように、その旨のメッセージと、描画確認するか否かの選択メニューとがディスプレイ3に表示される(ステップU7)。
From this state, after the user inputs an instruction to execute the region integration input process and starts the mathematical expression input (step U1), the
次に、描画確認する旨の選択メニューをユーザが選択すると(ステップU8;Yes)、図12(e)に示すように、選択数式群「Y1≦X2」,「Y2≧2X2」,「Y3≦2」で表されるグラフ画像がディスプレイ3に表示される(ステップU9、ステップT1)。 Next, when the user selects a selection menu for confirming drawing (step U8; Yes), as shown in FIG. 12E, selection formula groups “Y1 ≦ X 2 ”, “Y2 ≧ 2X 2 ”, “ A graph image represented by “Y3 ≦ 2” is displayed on the display 3 (step U9, step T1).
次に、図12(e)に示すように、グラフで囲まれる領域をユーザが指定領域として指定すると(ステップT2;Yes)、選択数式群「Y1≦X2」,「Y2≧2X2」,「Y3≦2」における先頭の数式「Y1≦X2」が不等式であり、不等号の向きが指定領域と合致しないと判定され(ステップT6;Yes、ステップT7;No)、数式中の不等号「≦」が不等号「≧」に修正される(ステップT8)。同様に、2番目の数式「Y2≧2X2」が不等式であり、不等号の向きが指定領域と合致しないと判定され(ステップT6;Yes、ステップT7;No)、数式中の不等号「≧」が不等号「≦」に修正され(ステップT8)。 Next, as shown in FIG. 12E, when the user designates an area surrounded by the graph as a designated area (step T2; Yes), a selection formula group “Y1 ≦ X 2 ”, “Y2 ≧ 2X 2 ”, a head of the mathematical expression "Y1 ≦ X 2" is inequality in the "Y3 ≦ 2", it is determined that the inequality orientation does not match the designated region (step T6; Yes, step T7; no), the inequality sign "≦ in formula Is corrected to an inequality sign “≧” (step T8). Similarly, it is determined that the second mathematical expression “Y2 ≧ 2X 2 ” is an inequality, and the direction of the inequality sign does not match the designated region (step T6; Yes, step T7; No), and the inequality sign “≧” in the mathematical expression is The inequality sign “≦” is corrected (step T8).
そして、図12(f)に示すように、選択数式群と登録名「D4」とが表示される(ステップU10)。このとき、選択数式群内で修正された箇所は太字で識別表示される。 Then, as shown in FIG. 12 (f), the selected formula group and the registered name “D4” are displayed (step U10). At this time, the corrected part in the selected formula group is identified and displayed in bold.
次に、図12(g)に示すように、数式群「Y1≧X2」,「Y2≦2X2」,「Y3≦2」の登録名「D4」が積分関数式における積分領域の入力エリアに表示される(ステップU11)。 Next, as shown in FIG. 12G, the registered name “D4” of the mathematical formula groups “Y1 ≧ X 2 ”, “Y2 ≦ 2X 2 ”, “Y3 ≦ 2” is the input area of the integration region in the integration function equation (Step U11).
次に、積分領域の内容を表示させる旨の操作をユーザが行うと(ステップU12;Yes)、図13(a)に示すように、登録名「D4」に対応する数式群「Y1≧X2」,「Y2≦2X2」,「Y3≦2」がディスプレイ3に表示される(ステップU13)。 Next, when the user performs an operation to display the contents of the integration region (step U12; Yes), as shown in FIG. 13A, a mathematical expression group “Y1 ≧ X 2 ” corresponding to the registered name “D4”. , “Y2 ≦ 2X 2 ”, “Y3 ≦ 2” are displayed on the display 3 (step U13).
そして、ユーザが描画キー33を操作すると、図13(b)に示すように、数式群「Y1≧X2」,「Y2≦2X2」,「Y3≦2」のグラフがディスプレイ3に表示される(ステップU15)。
Then, when the user operates the drawing
以上、本実施の形態によれば、図3のステップS1〜S12や、図5のステップU1〜U11,図6,図7等に示したように、少なくとも1つの数式がユーザ操作に基づいて選択数式群として選択され、選択数式群のグラフで表される領域に対しユーザ操作に基づいて登録名が付けられると、この登録名と選択数式群とが対応付けて登録され、ユーザ操作に基づいて、登録名を使用した領域積分式が入力され、登録名を使用して表示されるので、数式で表される領域を変域として、領域積分式に用いることができる。 As described above, according to the present embodiment, as shown in steps S1 to S12 of FIG. 3, steps U1 to U11 of FIG. 5, FIG. 6, FIG. When a registered name is given based on a user operation to the area represented by the graph of the selected mathematical formula group, the registered name and the selected mathematical formula group are registered in association with each other, based on the user operation. Since the region integration formula using the registered name is input and displayed using the registered name, the region represented by the mathematical expression can be used as the domain in the region integration formula.
また、図3のステップS7〜S9や図11(a)〜(c)等に示したように、面積を持たない領域について登録名が記憶される場合に、当該領域が面積を持たない旨のメッセージが表示されるので、面積を持たない領域が領域積分式に用いられるのを防止することができる。また、この場合に選択数式群のグラフが表示されるので、選択数式群のグラフから数式内の誤りを確認することができる。 Further, as shown in steps S7 to S9 of FIG. 3, FIGS. 11A to 11C, etc., when a registered name is stored for a region having no area, the fact that the region does not have an area is indicated. Since the message is displayed, it is possible to prevent a region having no area from being used in the region integration formula. In this case, since the graph of the selected formula group is displayed, an error in the formula can be confirmed from the graph of the selected formula group.
また、図5のステップU7〜U9や図12(a)〜(c)等に示したように、面積を持たない登録名を使用した領域積分式が入力される場合に、当該領域が面積を持たない旨のメッセージが表示されるので、面積を持たない領域が領域積分式に用いられるのをより確実に防止することができる。また、この場合に選択数式群のグラフが表示されるので、選択数式群のグラフから数式内の誤りを確認することができる。 In addition, as shown in steps U7 to U9 of FIG. 5, FIGS. 12A to 12C, and the like, when a region integration expression using a registered name having no area is input, the area has the area. Since the message indicating that the area is not present is displayed, it is possible to more reliably prevent the area having no area from being used in the area integral expression. In this case, since the graph of the selected formula group is displayed, an error in the formula can be confirmed from the graph of the selected formula group.
また、図4のステップT1〜T10や図11(d)〜(f),図12(e)〜(f)等に示したように、選択数式群のグラフが表示された状態で、これらのグラフで囲まれる何れかの領域がユーザ操作に基づいて指定領域として指定されると、選択数式群によって指定領域が表されるよう、当該選択数式群における数式の内容が修正されるので、選択数式群によって表される領域と、ユーザの意図する領域とが異なる場合であっても、ユーザの意図する領域を領域積分式に用いることができる。 In addition, as shown in steps T1 to T10 of FIG. 4, FIGS. 11D to 11F, FIGS. 12E to 12F, and the like, the graph of the selected formula group is displayed, and these are displayed. When any area surrounded by the graph is designated as a designated area based on a user operation, the content of the formula in the selected formula group is modified so that the designated area is represented by the selected formula group. Even when the region represented by the group is different from the region intended by the user, the region intended by the user can be used in the region integration formula.
また、図3のステップS13や図5のステップS10、図9(f)、図10(d)、図11(f)、図12(f)等に示したように、選択数式群における数式の内容が修正された場合に、修正箇所が識別表示されて選択数式群が表示されるので、選択数式群によって表される領域と、ユーザの意図する領域とが異なっていた場合に、選択数式群内で誤っていた箇所を確認することができる。 Further, as shown in step S13 of FIG. 3, step S10 of FIG. 5, FIG. 9 (f), FIG. 10 (d), FIG. 11 (f), FIG. When the contents are corrected, the correction formula is identified and displayed, and the selected formula group is displayed. Therefore, if the area represented by the selected formula group and the area intended by the user are different, the selected formula group You can check the place that was wrong.
なお、上記の実施の形態における関数電卓1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更可能であることは勿論である。
In addition, it is needless to say that the detailed configuration and detailed operation of each component of the
1 関数電卓
2 入力キー群
3 ディスプレイ
11 CPU
12 RAM
13 記憶部
14 キー入力部
15 表示部
30 タッチパネル
130 数式表示プログラム
131 数式群テーブル
1
12 RAM
13
Claims (8)
前記数式記憶手段に記憶された少なくとも1つの数式を、ユーザ操作に基づいて選択数式群として選択する数式選択手段と、
前記選択数式群のグラフで表される領域に対しユーザ操作に基づいて領域名を付け、この領域名と、前記選択数式群とを対応付けて登録する領域登録手段と、
ユーザ操作に基づいて、前記領域名を使用した領域積分式を入力する領域積分式入力手段と、
前記領域名を使用して前記領域積分式を表示する領域積分式表示手段と、
を備えることを特徴とする数式表示装置。 Formula storage means for storing a plurality of formulas;
Formula selection means for selecting at least one formula stored in the formula storage means as a selected formula group based on a user operation;
An area registration unit that assigns an area name to the area represented by the graph of the selected formula group based on a user operation, and registers the area name and the selected formula group in association with each other;
Based on a user operation, a region integration equation input means for inputting a region integration equation using the region name;
A region integral expression display means for displaying the region integral equation using the region name;
A mathematical expression display device comprising:
前記領域登録手段は、
面積を持たない領域について領域名が登録される場合に、当該領域が面積を持たない旨のメッセージを表示するとともに、前記選択数式群のグラフを表示する第1の数式グラフ確認手段を有することを特徴とする数式表示装置。 The mathematical formula display device according to claim 1,
The area registration means includes:
When a region name is registered for a region that does not have an area, a message indicating that the region does not have an area is displayed, and first formula graph confirmation means for displaying a graph of the selected formula group is included. A mathematical expression display device.
前記領域積分式入力手段は、
面積を持たない領域名を使用した領域積分式が入力される場合に、当該領域が面積を持たない旨のメッセージを表示するとともに、前記選択数式群のグラフを表示する第2の数式グラフ確認手段を有することを特徴とする数式表示装置。 In the mathematical expression display device according to claim 1 or 2,
The region integration type input means includes:
When a region integration expression using a region name having no area is input, a message indicating that the region does not have an area is displayed, and a second equation graph confirmation unit that displays a graph of the selected equation group A mathematical expression display device comprising:
前記選択数式群のグラフが表示された状態で、これらのグラフで囲まれる何れかの領域を、ユーザ操作に基づいて指定領域として指定する領域指定手段と、
前記選択数式群によって前記指定領域が表されるよう、当該選択数式群における数式の内容を修正する数式修正手段と、
を備えることを特徴とする数式表示装置。 The mathematical expression display device according to claim 2 or 3,
In a state where the graph of the selected formula group is displayed, an area designating unit for designating any area surrounded by these graphs as a designated area based on a user operation;
Formula correcting means for correcting the contents of formulas in the selected formula group so that the designated area is represented by the selected formula group;
A mathematical expression display device comprising:
前記選択数式群を表示する選択数式群表示手段を備え、
この選択数式群表示手段は、
前記数式修正手段により前記選択数式群における数式の内容が修正された場合に、修正箇所を識別表示することを特徴とする数式表示装置。 The mathematical formula display device according to claim 4,
A selected formula group display means for displaying the selected formula group;
This selected formula group display means
A mathematical expression display device for identifying and displaying a correction portion when the content of a mathematical expression in the selected mathematical expression group is modified by the mathematical expression correcting means.
前記数式修正手段は、
前記指定領域に合わせて、前記選択数式群における数式内の等号または不等号を修正することを特徴とする数式表示装置。 The mathematical expression display device according to claim 4 or 5,
The formula correcting means includes
An equation display apparatus that corrects an equal sign or an inequality sign in a formula in the selected formula group in accordance with the designated area.
前記数式修正手段は、
前記選択数式群における数式内の等号または不等号を修正した後に、当該選択数式群のグラフで表される領域が複数あり、かつ、これらの領域の一部のみが前記指定領域である場合に、
当該指定領域の座標軸方向での範囲を算出し、この範囲を示す不等式を前記選択数式群に追加することを特徴とする数式表示装置。 The mathematical formula display device according to claim 6, wherein
The formula correcting means includes
After correcting the equal sign or inequality sign in the formula in the selected formula group, when there are a plurality of areas represented by the graph of the selected formula group, and only a part of these areas is the specified area,
A mathematical expression display device characterized by calculating a range of the designated region in the coordinate axis direction and adding an inequality indicating the range to the selected mathematical formula group.
複数の数式を記憶する数式記憶機能と、
前記数式記憶機能によって記憶された少なくとも1つの数式を、ユーザ操作に基づいて選択数式群として選択する数式選択機能と、
前記選択数式群のグラフで表される領域に対しユーザ操作に基づいて領域名を付け、この領域名と、前記選択数式群とを対応付けて登録する領域登録機能と、
ユーザ操作に基づいて、前記領域名を使用した領域積分式を入力する領域積分式入力機能と、
前記領域名を使用して前記領域積分式を表示する領域積分式表示機能と、
を実現させることを特徴とするプログラム。 On the computer,
Formula storage function for storing multiple formulas;
Formula selection function for selecting at least one formula stored by the formula storage function as a selected formula group based on a user operation;
An area registration function for assigning an area name to the area represented by the graph of the selected formula group based on a user operation and registering the area name and the selected formula group in association with each other;
Based on a user operation, a region integration formula input function for inputting a region integration formula using the region name,
A region integral expression display function for displaying the region integral equation using the region name;
A program characterized by realizing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009202215A JP5381520B2 (en) | 2009-09-02 | 2009-09-02 | Mathematical expression display device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009202215A JP5381520B2 (en) | 2009-09-02 | 2009-09-02 | Mathematical expression display device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011053911A true JP2011053911A (en) | 2011-03-17 |
JP5381520B2 JP5381520B2 (en) | 2014-01-08 |
Family
ID=43942845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009202215A Active JP5381520B2 (en) | 2009-09-02 | 2009-09-02 | Mathematical expression display device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5381520B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015055889A (en) * | 2013-09-10 | 2015-03-23 | カシオ計算機株式会社 | Calculation device and calculation program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04120146U (en) * | 1991-04-15 | 1992-10-27 | カシオ計算機株式会社 | small electronic calculator |
JPH08185529A (en) * | 1994-12-28 | 1996-07-16 | Casio Comput Co Ltd | Graph display device |
JPH10222472A (en) * | 1997-01-31 | 1998-08-21 | Casio Comput Co Ltd | Device, method for electronic calculation and recording medium recording calculating processing program |
JP2008299636A (en) * | 2007-05-31 | 2008-12-11 | Casio Comput Co Ltd | Graph display device and control program |
-
2009
- 2009-09-02 JP JP2009202215A patent/JP5381520B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04120146U (en) * | 1991-04-15 | 1992-10-27 | カシオ計算機株式会社 | small electronic calculator |
JPH08185529A (en) * | 1994-12-28 | 1996-07-16 | Casio Comput Co Ltd | Graph display device |
JPH10222472A (en) * | 1997-01-31 | 1998-08-21 | Casio Comput Co Ltd | Device, method for electronic calculation and recording medium recording calculating processing program |
JP2008299636A (en) * | 2007-05-31 | 2008-12-11 | Casio Comput Co Ltd | Graph display device and control program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015055889A (en) * | 2013-09-10 | 2015-03-23 | カシオ計算機株式会社 | Calculation device and calculation program |
Also Published As
Publication number | Publication date |
---|---|
JP5381520B2 (en) | 2014-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4849179B2 (en) | Graph display device and program | |
JP6221372B2 (en) | Graph display device, program, and server device | |
JP5488058B2 (en) | Graph display device and program | |
JP4888254B2 (en) | Geometric learning auxiliary device and control program therefor | |
JP2008065504A (en) | Touch panel control device and touch panel control method | |
WO2010092646A1 (en) | Display controller | |
JP5589433B2 (en) | Formula input device and program | |
JP2009003851A (en) | Information apparatus with touch panel, and icon selecting method and program used for the same | |
JP5831039B2 (en) | Image display apparatus and program | |
JP5381520B2 (en) | Mathematical expression display device and program | |
JP2009059256A (en) | Electronic device capable of drawing graph, and program | |
JP6011694B2 (en) | Mathematical expression display control apparatus and program | |
JP2022179604A (en) | Information processing apparatus, information processing method, and program | |
JP4811177B2 (en) | Graph display device and graph display processing program | |
JP2010122795A (en) | Electronic apparatus and method of controlling the same | |
JP5487844B2 (en) | Computer apparatus and program | |
JP6004746B2 (en) | Information display device, information display method, information display program, and program recording medium | |
JP2008257551A (en) | Information processor, character input method and character input program | |
JP2006331184A (en) | Electronic apparatus and control program for the same | |
JP2008299636A (en) | Graph display device and control program | |
JP2008310522A (en) | Touch panel control device and electric equipment | |
JP2006293498A (en) | Electronic computer | |
JP2006267648A (en) | Image forming apparatus and control method thereof | |
JP6090408B2 (en) | Image display apparatus, program, and image display method | |
JP5353152B2 (en) | Formula arithmetic processing apparatus and formula arithmetic processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120727 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20120727 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130829 |
|
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: 20130903 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130916 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5381520 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |