JP2004213139A - Electronic device and program - Google Patents
Electronic device and program Download PDFInfo
- Publication number
- JP2004213139A JP2004213139A JP2002379156A JP2002379156A JP2004213139A JP 2004213139 A JP2004213139 A JP 2004213139A JP 2002379156 A JP2002379156 A JP 2002379156A JP 2002379156 A JP2002379156 A JP 2002379156A JP 2004213139 A JP2004213139 A JP 2004213139A
- Authority
- JP
- Japan
- Prior art keywords
- graph
- display
- value
- input
- data
- 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
【0001】
【発明の属する技術分野】
本発明は、グラフ表示機能を備えた電子機器及びプログラムに関する。
【0002】
【従来の技術】
従来、幾何図形を描画する描画機能を備えた装置が知られている。例えば、方程式計算、行列演算、複素数演算等の計算機能や、財務計算機能、統計機能等の豊富な機能を備えた関数電卓(以下、「関数電卓」という。)が知られている。この関数電卓は、例えば、計算機能を利用した各種技術計算の演算結果をグラフ化して表示することや入力された式の図形を描画することができる。したがって、教育現場において、数式等の文字データとグラフや図形の関係を勉強するため等に広く活用されている。
【0003】
また、上述したような関数電卓において、グラフを表示させる場合に、グラフを表示するための座標範囲(以下、「表示範囲」という。)を、ユーザの所望の値に設定する機能を備えたものが公知である(例えば、特許文献1参照。)。
【0004】
【特許文献1】
特開昭61−261780号公報
【0005】
【発明が解決しようとする課題】
ところで、ユーザが関数の計算を行う際には、必ずしも具体的な数値を念頭において行うわけではない。例えば、「Y=aX^2」のように、軸変数X、Y以外に特定の数値が指定されない変数(以下、「未定義変数」という。)aを含む数式を想定し、2次関数のグラフの形状をイメージして計算している。
【0006】
しかしながら、関数電卓という装置においては、未定義変数を用いた数式等が入力すると、未定義変数の具体的な値が不明であるために演算を実行できず、エラーとなってしまっていた。例えば、次の場合である。
【0007】
▲1▼未定義変数を用いて座標範囲(表示範囲)を設定した場合
従来の関数電卓において、グラフを描画する際にその座標範囲(表示範囲)を設定できる。ところが未定義変数を用いて座標範囲を設定するとエラーとなってしまっていた。
▲2▼未定義変数を含む数式(グラフ式)を入力する場合
未定義変数の具体的な値が不明であるために数値演算ができないとしてエラーとなってしまい、グラフを描画できなかった。勿論、未定義変数が取り得る数値条件を指定するといった方法によっても、グラフを描画することができなかった。また、未定義変数が含まれている為、未定義変数の値が一意に定まらず、増減表を作成するといったこともできなかった。
▲3▼未定義変数を含むテーブル条件を入力してリストデータを作成する場合
数式を入力し、更にリストデータを作成するためのテーブル条件を入力する場合に、数式に未定義変数が含まれないとしても、テーブル条件に未定義変数が含まれている場合には、リストデータを作成できなかった。
【0008】
そこで本発明は、グラフ表示機能を備えた電子機器において、未定義変数を用いた入力が為された場合であっても、グラフの描画やリストデータの作成等の実行を可能として、計算時のユーザの思考を支援し、使い勝手を向上させることを目的とする。
【0009】
【課題を解決するための手段】
上記課題を解決するために、請求項1に記載の電子機器は、
グラフを表示するための座標範囲を入力する座標範囲入力手段(例えば、図2に示す入力部20)と、
この座標範囲入力手段により入力された座標範囲に未定義変数が含まれているか否かを判別する判別手段(例えば、図2に示すCPU10;図5に示すステップS105)と、
この判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御手段(例えば、図2に示すCPU10;図5に示すステップS112)と、
を備えることを特徴としている。
【0010】
請求項12に記載のプログラムは、
コンピュータに、
グラフを表示するための座標範囲を入力する座標範囲入力機能と、
この座標範囲入力機能により入力された座標範囲に未定義変数が含まれているか否かを判別する判別機能と、
この判別機能により前記座標範囲に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御機能と、
を実現させることを特徴としている。
【0011】
請求項1又は12に記載の発明によれば、グラフを表示するための座標範囲に未定義変数が含まれる場合に、この未定義変数に仮値を代入して座標範囲を設定し、グラフを表示することができる。即ち、座標範囲として具体的な数値が指定されていない場合に、座標範囲を指定してグラフを表示することが可能となる。したがって、計算時のユーザの思考を支援し、グラフ表示機能を備えた電子機器の利便性を向上させることができる。
【0012】
また、請求項2に記載の発明のように、請求項1に記載の電子機器において、前記グラフ表示制御手段により表示制御されたグラフ上に、移動操作に応じて移動するトレースポインタを表示する制御を行うトレースポインタ表示制御手段(例えば、図2に示すCPU10;図5に示すステップS114〜S117)と、
前記判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、前記座標範囲中の前記トレースポインタの位置を前記未定義変数を用いて演算し、座標値として表示する制御を行う座標値表示制御手段(例えば、図2に示すCPU10;図5に示すステップS114)と、
を備えるように構成してもよい。
【0013】
請求項2に記載の発明によれば、グラフを表示するための座標範囲に未定義変数が含まれる場合に、この未定義変数に仮値を代入した座標範囲にグラフを表示した後、グラフ上のトレースポインタの位置に対応する座標値を演算して表示することができる。
【0014】
また、請求項3に記載の発明のように、請求項1又は2に記載の電子機器において、
グラフ式を一意に特定するためのグラフ系コマンドを入力するコマンド入力手段(例えば、図2に示す入力部20)と、
このコマンド入力手段により入力されたグラフ系コマンド、及び前記座標範囲入力手段により入力された座標範囲に同一の未定義変数が含まれているか否かを判別する第2判別手段(例えば、図2に示すCPU10;図9に示すステップSS210)と、
を更に備え、
前記グラフ表示制御手段は、前記コマンド入力手段により入力されたグラフ系コマンドによって特定されたグラフ式のグラフを表示する制御を行う手段であって、前記第2判別手段により同一の未定義変数が含まれていると判別された場合に、当該グラフ式のグラフが、前記仮値を代入した座標範囲に収まるか否かを所定の収容条件に基づいて判定して、収まっていないと判定されたときに前記収容条件を満たす様に仮値を再設定して当該グラフ式のグラフを表示する制御を行う手段(例えば、図2に示すCPU10;図9に示すステップS211〜S216)を有するように構成してもよい。
【0015】
請求項3に記載の発明によれば、グラフ系コマンド及び座標範囲に同一の未定義変数が含まれる場合に、未定義変数に代入する値を適宜再設定して、座標範囲にグラフが収まるように表示することができる。
【0016】
また、請求項4に記載の発明のように、請求項1〜3の何れか一項に記載の電子機器において、
スケールの1単位分の値を表すスケール値を入力するスケール値入力手段(例えば、図2に示す入力部20)と、
このスケール値入力手段により入力されたスケール値に未定義変数が含まれているか否かを判別する第3判別手段(例えば、図2に示すCPU10;図13に示すステップS305)と、
この第3判別手段により前記スケール値に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入したスケール値でスケールを表示する制御を行うスケール表示制御手段(例えば、図2に示すCPU10;図13に示すステップS308)と、
を備えるように構成してもよい。
【0017】
請求項4に記載の発明によれば、スケール値に未定義変数が含まれる場合に、この未定義変数に仮値を代入して、スケールを表示することが可能となる。
【0018】
請求項5に記載の電子機器は、
未定義変数を含むグラフ式のグラフを表示する制御を行うグラフ表示機能付き電子機器であって、
前記未定義変数に仮値を設定して、設定した仮値を代入した前記グラフ式のグラフを表示する制御を行う表示制御手段(例えば、図2に示すCPU10;図17に示すステップS406〜S408)と、
所定の操作入力により前記未定義変数の取り得る値の条件を設定する条件設定手段(例えば、図2に示すCPU10;図17に示すステップS410)と、
この条件設定手段により設定された条件を満足する値を演算して、前記未定義変数に新たな値を再設定し、この再設定した値を代入することで前記グラフ式のグラフを新たなグラフに更新表示する制御を行う更新表示制御手段(例えば、図2に示すCPU10;図17に示すステップS410〜S413)と、
を備えることを特徴としている。
【0019】
請求項13に記載のプログラムは、
コンピュータに、
グラフ式に含まれた未定義変数に仮値を設定して、設定した仮値を代入した当該グラフ式のグラフを表示する制御を行う表示制御機能と、
所定の操作入力により前記未定義変数の取り得る値の条件を設定する条件設定機能と、
この条件設定機能により設定された条件を満足する値を演算して、前記未定義変数に新たな値を再設定し、この再設定した値を代入することで前記グラフ式のグラフを新たなグラフに更新表示する制御を行う更新表示制御機能と、
を実現させることを特徴としている。
【0020】
請求項5又は13に記載の発明によれば、グラフ式に未定義変数が含まれる場合に、この未定義変数に仮値を代入してグラフを表示した後、条件を設定すると、条件に合わせてグラフを更新表示することができる。
【0021】
また、請求項6に記載の発明のように、請求項5に記載の電子機器において、
前記条件設定手段は、前記表示制御手段によって表示制御されたグラフに対する移動指示操作又は変形指示操作により、当該指示操作後のグラフにより特定されるグラフ式に基づいて、前記未定義変数の取り得る値の条件を設定する手段(例えば、図2に示すCPU10;図17に示すステップS410)を有するように構成してもよい。
【0022】
請求項6に記載の発明によれば、グラフ式に未定義変数が含まれる場合に、この未定義変数に仮値を代入してグラフを表示した後、グラフに対する移動指示操作又は変形指示操作に応じて未定義変数が取り得る値の条件を設定できる。
【0023】
また、請求項7に記載の発明のように、請求項5に記載の電子機器において、
前記条件設定手段は、操作入力により前記未定義変数の取り得る値の条件を設定する操作入力手段(例えば、図2に示すCPU10;図22に示すステップS509及びS510)を有するように構成してもよい。
【0024】
請求項7に記載の発明によれば、操作入力手段により未定義変数の取り得る値の条件を設定することができる。
【0025】
また、請求項8に記載の発明のように、請求項5又は7に記載の電子機器において、
前記更新表示制御手段は、前記条件設定手段により設定された条件を満足する値に一定の範囲があると判別した場合に、当該範囲分を線幅とするグラフを前記新たなグラフとして更新表示する制御を行う手段(図2に示すCPU10;図26に示すステップS612)を有するように構成してもよい。
【0026】
請求項8に記載の発明によれば、グラフの条件を設定して、この設定した条件を満たすグラフ全てを表す線幅とするグラフを表示することが可能となる。
【0027】
請求項9に記載の電子機器は、
数式を入力する数式入力手段(例えば、図2に示す入力部20)と、
この数式入力手段により入力された数式のリストテーブルを作成するためのテーブル条件を入力するテーブル条件入力手段(例えば、図2に示す入力部20)と、
このテーブル条件入力手段により入力されたテーブル条件に未定義変数が含まれているか否かを判別する判別手段(例えば、図2に示すCPU10;図30に示すステップS705)と、
この判別手段により前記テーブル条件に未定義変数が含まれていると判別された場合に、前記リストテーブルの要素を、当該未定義変数を前記数式に代入した文字式としてリストテーブルを作成して表示する制御を行うリストテーブル表示制御手段(例えば、図2に示すCPU10;図30に示すステップS710)と、
を備えることを特徴としている。
【0028】
請求項14に記載のプログラムは、
コンピュータに、
数式を入力する数式入力機能と、
この数式入力機能により入力された数式のリストテーブルを作成するためのテーブル条件を入力するテーブル条件入力機能と、
このテーブル条件入力機能により入力されたテーブル条件に未定義変数が含まれているか否かを判別する判別機能と、
この判別機能により前記テーブル条件に未定義変数が含まれていると判別された場合に、前記リストテーブルの要素を、当該未定義変数を前記数式に代入した文字式としてリストテーブルを作成して表示する制御を行うリストテーブル表示制御機能と、
を実現させることを特徴としている。
【0029】
請求項9又は14に記載の発明によれば、数式を基にしたリストテーブルを作成するためのテーブル条件に未定義変数が含まれている場合に、数式にこの未定義変数を代入した文字式を要素とするリストテーブルを作成して表示することができる。即ち、テーブル条件に未定義変数が含まれていてもリストテーブルを表示することが可能となる。
【0030】
また、請求項10に記載の発明のように、請求項9に記載の電子機器において、
前記テーブル条件入力手段は、作成するリストテーブルの範囲を入力する範囲入力手段(例えば、図2に示す入力部20)を有し、
前記リストテーブル表示制御手段は、前記範囲入力手段により入力されたリストテーブルの範囲の一部を省略してリストテーブルを表示する場合に、省略標識(例えば、図35(b)に示す省略記号SH)を表示する制御を行う省略標識表示制御手段(例えば、図2に示すCPU10;図34に示すステップS810)を有するとともに、
前記リストテーブル表示制御手段により表示制御されたリストテーブル上を、移動操作に応じて移動して当該リストテーブルの要素を指示するカーソルを表示する制御を行うカーソル表示制御手段(例えば、図2に示すCPU10;図34に示すステップS813及びS815)と、
前記カーソルが前記省略標識上に位置した場合に、前記数式入力手段により入力された数式を一般式化して表示する制御を行う一般式化表示制御手段(例えば、図2に示すCPU10:図34に示すステップS814及びS816)と、
を更に備えるように構成してもよい。
【0031】
請求項10に記載の発明によれば、数式を基にしたリストテーブルを作成するためのテーブル条件に未定義変数が含まれている場合に、数式にこの未定義変数を代入した文字式を要素とするリストテーブルを作成して、作成したリストテーブルの範囲の一部を省略して表示できる。また、省略した範囲の要素を一般式化して表示できる。即ち、テーブル条件に未定義変数が含まれていてもリストテーブルを表示するとともに、一部省略して表示した部分の要素を表示することも可能となる。
【0032】
請求項11に記載の電子機器は、
数式を入力する数式入力手段(例えば、図2に示す入力部20)と、
この数式入力手段により入力された数式に未定義変数が含まれるか否かを判別する判別手段(例えば、図2に示すCPU10:図38に示すステップS905)と、
この判別手段により前記数式に未定義変数が含まれると判別された場合に、当該未定義変数が取り得る極点及び変曲点の種類に応じて、前記数式の増減表を作成する増減表作成手段(例えば、図2に示すCPU10;図38に示すステップS907)と、
この増減表作成手段により作成された各増減表を表示する制御を行う増減表表示制御手段(例えば、図2に示すCPU10;図38に示すステップS909及びS911)と、
を備えることを特徴としている。
【0033】
請求項15に記載のプログラムは、
コンピュータに、
数式を入力する数式入力機能と、
この数式入力機能により入力された数式に未定義変数が含まれるか否かを判別する判別機能と、
この判別機能により前記数式に未定義変数が含まれると判別された場合に、当該未定義変数が取り得る極点及び変曲点の種類に応じて、前記数式の増減表を作成する増減表作成機能と、
この増減表作成機能により作成された各増減表を表示する制御を行う増減表表示制御機能と、
を実現させることを特徴としている。
【0034】
請求項11又は15に記載の発明によれば、数式に未定義変数が含まれる場合に、この未定義変数が取り得る極点及び変曲点の種類に応じて増減表を作成し、表示することができる。即ち、未定義変数が含まれる数式に基づく増減表の作成及び表示が可能となる。
【0035】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を説明する。なお、以下においては、本発明をグラフ表示機能を有する電子機器の一種であるグラフ関数電卓に適用した場合について説明するが、本発明が適用可能なものはこれに限られない。
【0036】
図1は、本発明を適用したグラフ関数電卓(以下、単に「関数電卓」という。)1の外観例を示す図である。同図によれば、関数電卓1は、ディスプレイ2、キー群3、入力ペン4、を備えて構成されている。キー群3を構成するキーには、それぞれ固有の機能が割り当てられており、ユーザはこれらのキーを押下して関数電卓1を操作する。また、ディスプレイ2には、後述するタブレット(タッチパネル)30が一体的に配設されており、ユーザは入力ペン4を使用したディスプレイ2上のタッチ操作により関数電卓1を操作することも可能である。
【0037】
また、関数電卓1は、例えば、計算式、テーブル、リスト等を算出する計算機能を実現するための計算アプリケーションプログラム(以下、適宜「計算アプリケーション」という。)、グラフ描画機能を実現するためのグラフアプリケーションプログラム(以下、適宜「グラフアプリケーション」という。)等を搭載している。
以下、図面を参照して、関数電卓1の第1〜第9の実施の形態を説明する。
【0038】
1. 第1の実施の形態
本第1の実施の形態は、グラフアプリケーションのグラフ表示範囲の設定用画面(以下、「表示範囲設定ウィンドウRW」という。)において入力されたデータに未定義変数が含まれる場合に、この未定義変数に仮の値を代入する。また、ユーザによりキー群3等から入力されたグラフ式に未定義変数が含まれる場合に、この未定義変数に仮の値を代入する。これにより、グラフアプリケーションのグラフ表示画面(以下、「グラフウィンドウGW」という。)の表示範囲を設定して、グラフを描画する。また、トレースの実行指示が入力された場合に、グラフ上にトレースポインタを表示させて、トレース位置の座標を表示する制御を行うものである。
【0039】
1.1 内部構成
図2は、第1の実施の形態における関数電卓1の内部構成の一例を示すブロック図である。同図によれば、関数電卓1は、CPU10、入力部20、タブレット30、位置検出回路31、表示部40、表示駆動回路41、RAM50、ROM70、記憶装置90、記憶媒体100を備えて構成される。
【0040】
CPU10は、入力される指示に応じて所定のプログラムに基づいた処理を実行して、各機能部への指示やデータの転送等を行い、関数電卓1を統括的に制御する。具体的には、CPU10は、入力部20又はタブレット30から入力される操作信号に応じてROM70に格納されたプログラムを読み出し、当該プログラムに従って処理を実行する。そして、処理結果をRAM50に保存するとともに、当該処理結果を表示するための表示信号を表示駆動回路41に適宜出力して、対応する表示情報を表示部40に表示させる。
【0041】
入力部20は、数値や数式等の入力、機能選択等に必要なキーを備えた入力装置であり、押下されたキーの押下信号等をCPU10に出力する。この入力部20におけるキー入力により、例えば、各種アプリケーションの起動指示、図形描画処理の実行、数式の入力、演算処理の実行、処理の終了やモードの解除、ポインタ操作、各種選択操作や当該選択操作の確定指示等の入力手段を実現する。この入力部20は、図1に示すキー群3に相当するものである。
【0042】
また、関数電卓1は、入力装置として、タッチパネルであるタブレット30を備える。このタブレット30は、表示部40における位置を指示する指示ペン(図1に示す入力ペン4に相当)等の装置と、指示された表示部40の位置を感知する装置とが組み合わされた入力装置である。タブレット30に接続される位置検出回路31は、タブレット30により指示された位置座標を検出する。このタブレット30を使用すれば、表示部40における位置を細かく指定することができ、タブレット30を使用した表示部40のタッチ操作により、上述した入力部20における入力手段を実現することができる。
【0043】
表示駆動回路41は、CPU10から入力される表示信号に基づいて表示部40を制御して各種画面を表示させるものである。表示部40は、LCD(LiquidCrystal Display)やELD(Electro Luminescent Display)等で構成され、例えば、図4に示す表示画面を表示する。この表示部40は、図1のディスプレイ2に相当するものであり、タブレット30と一体的に形成されている。
【0044】
RAM50は、CPU10が実行する各種処理プログラムや、これらのプログラムの実行に関わるデータ等を一時的に保存する格納領域(メモリ)を備える。図3は、本実施の形態におけるRAM50の構成を示す図である。
【0045】
同図によれば、RAM50は、表示範囲設定ウィンドウRWにおいて入力された表示範囲を指定するための表示範囲設定データ51、表示範囲設定データ51に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値である表示範囲仮代入値データ51a、グラフウィンドウGWに描画されるグラフのドットデータであるグラフデータ52、グラフを描画するためのグラフ式のデータ(グラフ式データ)52a、グラフ式データ52aに未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるグラフ式仮代入値データ52b、グラフ上のトレース位置の座標データである座標値データ53、の各データを格納するための領域を備える。
【0046】
図4は、ROM70の構成を示す図である。同図によれば、ROM70には、各種初期設定やハードウェアの検査、必要なプログラムのロードを行うための初期プログラムが格納される。CPU10は、関数電卓1の電源投入時においてこの初期プログラムを実行することにより、関数電卓1の動作環境を設定する。
【0047】
また、ROM70には、計算アプリケーションやグラフアプリケーション等の各種アプリケーションプログラム、各種設定処理や各種演算処理等の関数電卓1の動作に係る各種処理プログラム、関数電卓1の備える種々の機能を実現するためのプログラムやデータが格納される。特に、本実施の形態においては、第1グラフ描画処理プログラム71が格納されている。
【0048】
第1グラフ描画処理プログラム71は、第1グラフ描画処理(図5参照)を実現するためのプログラムである。CPU10がこの第1グラフ描画処理プログラム71を実行することにより、第1グラフ描画処理が実現される。
【0049】
記憶装置90は、プログラムやデータ等を記憶する記憶媒体100を有しており、この記憶媒体100は、磁気的、光学的記憶媒体、若しくは半導体メモリにより構成されている、この記憶媒体100は、記憶装置90に固定的に設けたもの、若しくは着脱自在に装着するものであり、この記憶媒体100には、関数電卓1に対応する各種処理プログラム、及び各種処理プログラムに基づいて処理されたデータ等を格納する。
【0050】
なお、この記憶媒体100に記憶するプログラムやデータ等は、通信回線(図示省略)を介して接続された他の機器から受信して記憶する構成としてもよい。また、記憶媒体100及び記憶装置90を他の装置から、通信回線を介してプログラムやデータを転送して使用するようにしてもよい。
【0051】
1.2 動作
次に、第1の実施の形態における関数電卓1の動作について説明する。
図5は、第1グラフ描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図6は、図5のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0052】
図5に示す第1グラフ描画処理において、まずCPU10は、グラフモードをOFFからONに切り替えた後(ステップS101)、グラフアプリケーションの実行を開始して表示範囲設定ウィンドウRWを表示部40に表示させる(ステップS102)。そして、ユーザは、例えばキー群3により、表示範囲設定ウィンドウRWのカーソル位置に、グラフの表示範囲を設定する数値又は未定義変数を入力する。すると、CPU10は、表示範囲を指定するデータが入力されたことを検知して(ステップS103;YES)、入力されたデータを表示範囲設定データ51としてRAM50に格納する(ステップS104)。
【0053】
図6(a)及び(b)は、この段階において表示部40に表示される表示画面の一例を示す図である。図6(a)に示す表示範囲設定ウィンドウRWにおいて、ユーザは、X座標の最小値「Xmin」、X座標の最大値「Xmax」、Y座標の最小値「Ymin」、Y座標の最大値「Ymax」の各値を設定する。ユーザがこれらの値に未定義変数を設定した例が図6(b)である。図6(b)においては、例えば「Xmin:−A」、「Xmax:A」、「Ymin:−B」、「Ymax:B」のような文字(未定義変数)により表示範囲の各値が指定されている。
【0054】
次に、CPU10は、表示範囲設定データ51に未定義変数が含まれると判別した場合(ステップS105;YES)、未定義変数に仮代入する値を算出して、算出した値を表示範囲仮代入値データ51aとしてRAM50に格納する(ステップS106)。一方、CPU10は、表示範囲設定データ51に未定義変数が含まれないと判別した場合(ステップS105;NO)、ステップS107に移行する。
【0055】
ここで、上記ステップS106において未定義変数に仮代入する値は、例えば、表示部40に前回グラフウィンドウGWを表示した際の表示範囲の値を基に算出してもよいし、ROM70にデフォルトの値を予め記憶させておき、この値を基に算出してもよい。
【0056】
次いで、ユーザによって、キー群3等からグラフ式とグラフ描画指示が入力されると、CPU10は、その入力を検知して(ステップS107;YES)、入力されたグラフ式に未定義変数が含まれるか否かを判別する(ステップS108)。CPU10は、グラフ式に未定義変数が含まれると判別した場合(ステップS108;YES)、グラフ式に仮代入する未定義変数の値を算出して、算出した値をグラフ式仮代入値データ52bとしてRAM50に格納する(ステップS109)。
【0057】
ここで、上記ステップS109において未定義変数に代入する値としては、例えば、グラフ式が2次関数や3次関数の場合には、当該関数の極大値や極小値等の特異点がステップS104〜S106で設定された表示範囲内に収まるような値を算出し、使用してもよい。また、一次関数の場合には、予めデフォルトのy切片やx切片のデータをROM70に記憶させておき、この切片をグラフが通過する値を算出して使用することとしてもよい。
【0058】
続いて、CPU10は、グラフ式のグラフデータを算出して(ステップS110)、グラフデータ52とグラフ式データ52aをRAM50に格納する(ステップS111)。次に、CPU10は、表示範囲設定データ51に基づいて表示部40にグラフウィンドウGWを表示して、グラフを描画する(ステップS112)。
【0059】
図6(c)は、この段階での表示画面の一例を示す図である。同図によれば、表示部40において、グラフウィンドウGWが表示され、このグラフウィンドウGWは、図6(b)に示す段階でユーザにより入力された設定に従って表示範囲が設定されている。即ち、X軸方向において「−A」から「A」、Y軸方向において「−B」から「B」の表示範囲がグラフウィンドウGWに表示されており、その中にグラフG1が表示されている。
【0060】
次いで、CPU10は、グラフウィンドウGWに設けられたトレースボタンTRBが選択されて、トレースの実行指示が入力されたか否かを判別する(ステップS113)。CPU10は、トレースの指示が入力されないと判別した場合(ステップS113;NO)、そのまま第1グラフ描画処理を終了する。一方、CPU10は、トレースの指示が入力されたと判別すると(ステップS113;YES)、次の処理を行う。
【0061】
CPU10は、表示範囲仮代入値データ51a、グラフ式データ52a、グラフ式仮代入値データ52b、に格納された各値と、表示画面に対するトレースポインタの相対位置に基づいて、トレースポインタの移動先の位置座標を算出する(ステップS114)。このとき、CPU10は、表示範囲設定データ51、グラフデータ52に未定義変数が含まれている場合には、この未定義変数にはある値が代入されている。したがって、この値によって定められた座標値を未定義変数に戻す計算を行い、トレースポインタの移動先の座標位置を、未定義変数を含む座標値として算出する。
【0062】
次いで、CPU10は、算出したトレースポインタの移動先の位置を座標値データ53としてRAM50に格納し(ステップS115)。また、グラフ上のトレース位置にトレースポインタH1を表示して(ステップS116)、トレース位置の座標をグラフウィンドウGW内に表示する(ステップS117)。
【0063】
図6(d)は、この段階での表示部40の表示画面の一例を示す図である。同図によれば、グラフウィンドウGWにおいて、式C1「Y2=1nX」のグラフが描画されており、トレースポインタH1の位置の座標値「X=A/5,Y=Ln(A/5)」が表示されている。この図6に示す例では、表示範囲設定データ51に未定義変数(A、B)が含まれているため、トレース時に示される座標値は、未定義変数を含んで表されることとなる。
【0064】
そして、CPU10は、ユーザによるトレースポインタの移動操作が終了するまでステップS114〜S117の処理を繰り返し(ステップS118;YES)、移動操作が終了した場合は(ステップS118;NO)、第1グラフ描画処理を終了する。
【0065】
以上説明したように、第1の実施の形態において、ユーザは、表示範囲やグラフ式を設定するデータとして、未定義変数又は数値を指定すると、グラフウィンドウGWにグラフが描画される。また、未定義変数が指定された場合であっても、トレース処理時のトレース位置の座標値が未定義変数を用いて表示される。
【0066】
このため、表示範囲やグラフ式に代入する具体的な数値が決まっていない場合でも、グラフウィンドウGWにおいてグラフの形状を目で見て確認することができ、グラフをイメージしやすくなる。
【0067】
2. 第2の実施の形態
以下、第2の実施の形態について説明する。
本第2の実施の形態は、表示範囲設定データに未定義変数が含まれる場合に、この未定義変数に仮の値を代入する。また、仮の値を代入することによって表示範囲を設定した後、描画するグラフが表示範囲内に表示できない場合に、表示範囲設定データに仮に代入した値を変更する。これにより、グラフを表示範囲内に表示する制御を行うものである。
【0068】
2.1 内部構成
本第2の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM250に置き換え、ROM70をROM270に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0069】
図7は、RAM250の構成を示す図である。同図によれば、RAM250は、表示範囲設定データ51、表示範囲設定データ51に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値である表示範囲仮代入値データ51a、グラフデータ52、グラフを描画するためのグラフ式のデータ(グラフ式データ)52a、グラフ描画コマンドを入力するためのグラフアプリケーションの画面(以下、「コマンドデータCW」という。)において入力されるコマンドデータ54、コマンドデータ54に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるコマンド仮代入値データ54a、の各データの格納領域を備える。
【0070】
図8は、ROM270の構成を示す図である。同図によれば、ROM270には、第2グラフ描画処理プログラム271が格納されている。
【0071】
第2グラフ描画処理プログラム271は、第2グラフ描画処理(図9参照)を実現するためのプログラムである。CPU10がこの第2グラフ描画処理プログラム271を実行することにより、第2グラフ描画処理が実現される。
【0072】
2.2 動作
次に、第2の実施の形態における関数電卓1の動作について説明する。
図9は、第2グラフ描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図10は、図9のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0073】
図9に示す第2グラフ描画処理において、まずCPU10は、グラフモードをOFFからONに切り替えた後(ステップS201)、グラフアプリケーションの実行を開始して表示範囲設定ウィンドウRWを表示部40に表示させる(ステップS202)。そして、ユーザは、例えばキー群3により、表示範囲設定ウィンドウRWのカーソル位置に、グラフの表示範囲を設定する数値又は未定義変数を入力する。すると、CPU10は、表示範囲を指定するデータが入力されたことを検知して(ステップS203;YES)、入力されたデータを表示範囲設定データ51としてRAM250に格納する(ステップS204)。
【0074】
図10(a)は、この段階において表示部40に表示される表示画面の一例を示す図である。図10(a)に示す表示範囲設定ウィンドウRWにおいて、ユーザは、X座標の最小値「Xmin」、X座標の最大値「Xmax」、Y座標の最小値「Ymin」、Y座標の最大値「Ymax」の各値を設定する。ユーザがこれらの値に未定義変数を設定した場合は、図示するように、例えば「Xmin:−A」、「Xmax:A」、「Ymin:−B」、「Ymax:B」のような文字(未定義変数)により値が指定される。
【0075】
次に、CPU10は、表示範囲設定データ51に未定義変数が含まれると判別した場合(ステップS205;YES)、未定義変数に仮代入する値を算出して、算出した値を表示範囲仮代入値データ51aとしてRAM250に格納する(ステップS206)。一方、CPU10は、表示範囲設定データ51に未定義変数が含まれないと判別した場合(ステップS205;NO)、ステップS207に移行する。
【0076】
ここで、上記ステップS206において未定義変数に仮代入する値としては、例えば、表示部40に前回グラフウィンドウGWを表示した際の表示範囲の値を基に算出して使用してもよいし、ROM270等にデフォルトの値を予め記憶させておき、この値を基に算出した値を使用してもよい。
【0077】
次いで、CPU10は、表示部40にコマンドウィンドウCWを表示させる(ステップS207)。ユーザは、キー群3等から、グラフを描画するためのコマンドデータを入力する。すると、CPU10は、コマンドデータが入力されたことを検知して(ステップS208;YES)、コマンドデータ54としてRAM250に格納する(ステップS209)。
【0078】
図10(b)は、この段階で表示部40に表示される表示画面の一例を示す図である。同図によれば、コマンドウィンドウCWにおいて、座標(A,5)から座標(−B,B)までの直線を描画するコマンドが入力されている。
【0079】
次に、CPU10は、表示範囲設定データの設定に使用された未定義変数と同一の未定義変数が、コマンドデータ54に含まれるか否かを判別する(ステップS210)。CPU10は、コマンドデータ54に同一の未定義変数が含まれると判別した場合(ステップS210;YES)、コマンドデータ54に対して表示範囲仮代入値データ51aが不適当であるか否かを判別する(ステップS211)。CPU10は、表示範囲仮代入値データ51aが不適当であると判別した場合(ステップS211;YES)、表示範囲仮代入値データ51aを算出しなおして更新する(ステップS212)。
【0080】
ここで、ステップS211において、表示範囲仮代入値データ51aが不適当か否かの判別方法について具体的に説明する。例えば、ステップS204において、X軸方向の表示範囲が「−A〜A」に設定され、ステップS209においてX座標「3」の位置に点を描画するように指定されたと仮定する。このとき、「A」に仮代入される表示範囲仮代入値データ51aが「0」以上「3」未満であった場合、表示部40に設定された表示範囲内において、指示された点を描画することができない。このように、コマンドデータ54によって描画指示されたグラフが、表示範囲内に描画できない場合に不適当と判別する。
【0081】
次に、CPU10は、その他の未定義変数(表示範囲設定データ51に含まれる未定義変数以外)が、コマンドデータ54に含まれるか否かを判別する(ステップS213)。CPU10は、コマンドデータ54にその他の未定義変数が含まれると判別した場合(ステップS213;YES)、この未定義変数に仮に代入する値を算出するとともに、算出した値をコマンド仮代入値データ54aとしてRAM250に格納する(ステップS215)。
【0082】
上記ステップS215においてコマンド仮代入値には、表示範囲設定データ51により設定された表示範囲にコマンドデータ54に基づくグラフを表示可能とする値が設定される。例えば、コマンドデータ54により描画指示されたグラフが2次関数や3次関数の場合には、当該関数の極大値や極小値等の特異点がステップS204〜S206で設定された表示範囲内に収まるような値を算出して、使用してもよい。また、一次関数の場合には、予めデフォルトのy切片やx切片のデータをROM270に記憶させておき、この切片をグラフが通過するような値を算出して使用することとしてもよい。
【0083】
次いで、CPU10は、コマンドデータ54により描画指示されたグラフのグラフデータ52を算出し、グラフデータ52とそのグラフ式データ52aをRAM250に格納する(ステップS215)。そして、表示範囲設定データ51に基づいてグラフウィンドウGWを表示部40に表示して、グラフを描画する(ステップS216)。
【0084】
図10(c)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、グラフウィンドウGWにおいて、図10(b)のコマンドウィンドウCWで入力された、座標(A,5)から座標(−B,B)までの直線を引くコマンドにより描画指示されたグラフG2が、表示範囲内に表示されている。
以上の処理を実行すると、CPU10は第2グラフ描画処理を終了する。
【0085】
以上説明したように、第2の実施の形態において、ユーザが表示範囲設定データやコマンドデータ54に未定義変数を指定した場合にも、グラフウィンドウGWに所望のグラフが表示される。また、表示範囲の未定義変数に仮代入された値が、コマンドデータ54に応じて自動的に変更されて、グラフが表示画面内に収まるように自動的に調節されて表示される。
【0086】
したがって、グラフの表示範囲やコマンドデータ54に未定義変数や数値を指定した場合にも、関数電卓1にグラフを表示描画させることが可能となる。このため、表示範囲やコマンドデータ54に代入する具体的な数値が決まっていない場合に、コマンドデータ54により描画指示したグラフが確実に表示範囲内に表示され、便利である。
【0087】
3. 第3の実施の形態
以下、第3の実施の形態について説明する。
本第3の実施の形態は、表示範囲設定ウィンドウRWにおいて入力されたスケール値のデータに未定義変数が含まれる場合に、この未定義変数に仮の値(以下、「スケール値仮代入値データ」という。)を代入する。また、表示範囲設定データにも未定義変数が含まれている場合には、この未定義変数に仮の値(以下、「表示範囲仮代入値データ」という。)を代入してグラフウィンドウGWの表示制御を行うが、その際に次の処理を行う。表示範囲仮代入値データ、スケール値仮代入値データ、及び予め定められたスケールのデフォルトの目盛り数のデータに基づき、決められた数の目盛りを表示部の表示範囲に表示させる制御を行うものである。
【0088】
3.1 内部構成
本第3の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM350に置き換えて、ROM70をROM370に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0089】
図11は、RAM350の構成を示す図である。同図によれば、RAM350は、表示範囲設定データ51、表示範囲設定データ51の表示範囲を設定する値に未定義変数が含まれる場合に、この未定義変数に仮に代入される値である表示範囲仮代入値データ51a、表示範囲設定データ51のスケール値を設定する値に未定義変数が含まれる場合に、この未定義変数に仮に代入される値であるスケール値仮代入値データ51b、グラフデータ52、グラフを描画するためのグラフ式データ52a、の各データの格納領域を備える。
【0090】
図12は、ROM370の構成を示す図である。同図によれば、ROM370には、スケール表示処理プログラム371とデフォルトの目盛り数のデータ(以下、「目盛り数デフォルトデータ」という。)372が格納されている。
【0091】
スケール表示処理プログラム371は、スケール表示処理(図13参照)を実現するためのプログラムである。CPU10がこのスケール表示処理プログラム371を実行することにより、スケール表示処理が実現される。
【0092】
目盛り数デフォルトデータ372は、表示範囲設定データ51に未定義変数が含まれている場合に、グラフウィンドウGW内に表示するスケールの目盛りの数として予め設定された値である。なお、目盛り数デフォルトデータ372は、ユーザにより適宜設定可能としてもよい。
【0093】
3.2 動作
次に、第3の実施の形態における関数電卓1の動作について説明する。
図13は、スケール表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図14は、図13のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0094】
まず、図14(a)を参照して、スケール値について説明する。図14(a)は、グラフウィンドウGWにスケールとグラフG3が表示された例を示す図である。同図に示すように、グラフウィンドウGWにおいて、X軸及びY軸上に一定間隔で目盛りが付されている。この目盛り1つ分の値の幅をスケール値と呼ぶ。
【0095】
図13に示すスケール表示処理において、まずCPU10は、グラフモードをOFFからONに切り替えた後(ステップS301)、グラフアプリケーションの実行を開始して表示範囲設定ウィンドウRWを表示部40に表示させる(ステップS302)。そして、ユーザは、例えばキー群3により、表示範囲設定ウィンドウRWに表示されたカーソルを移動させて、グラフの表示範囲及びスケール値の入力欄を選択して、数値又は未定義変数を入力する。すると、CPU10は、表示範囲及びスケール値を指定するデータが入力されたことを検知して(ステップS303;YES)、入力されたデータを表示範囲設定データ51としてRAM370格納する(ステップS304)。
【0096】
図14(b)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図に示す表示範囲設定ウィンドウRWにおいて、ユーザは、X座標の最小値「Xmin」、X座標の最大値「Xmax」、Y座標の最小値「Ymin」、Y座標の最大値「Ymax」により決定される表示範囲を設定するデータと、「scale」により決定されるスケール値の各データを設定する。ユーザは、例えば、これらの値に未定義変数又は数値を設定する。同図によれば、設定された値は、「Xmin:−A」、「Xmax:A」、「Ymin:−3.1」、「Ymax:3.1」となっている。
【0097】
次に、CPU10は、表示範囲設定データ51に未定義変数が含まれると判別した場合(ステップS305;YES)、ステップS306に移行する。
【0098】
ステップS306において、CPU10は、まずROM370に予め記憶された目盛り数デフォルトデータ372を読み出す。そして、目盛り数デフォルトデータ372が示す数の目盛りがグラフウィンドウGWの表示範囲内に表示されるように、表示範囲仮代入値データ51a及びスケール値仮代入値データ51bの値を算出する。
【0099】
具体的には、例えば、表示範囲のX軸方向に目盛り数「10」を表示する設定となっており、表示範囲設定データ51が「Xmax:A」、「Xmin:−A」、「Ymax:5」、「Ymin:−5」であり、スケール値「scale:B」に設定されている場合に、CPU10は、表示範囲に表示されるX軸方向の幅の値、即ち2Aにわたって、目盛り数「10」を表示するように制御する。よって、目盛り1つ分の幅、即ちスケールBの値は、「2A/10」(「A/5」)となる。したがって、未定義変数Aに「20」を仮代入した場合には、未定義変数Bに仮代入する値は、自動的に「A/5=4」となる。
このように、CPU10は、目盛り数デフォルトデータ372に基づいて、表示範囲仮代入値データ51aとスケール値仮代入値データ51bを決定する。
【0100】
なお、目盛り数デフォルトデータ372としては、グラフウィンドウGWのX軸方向及びY軸方向についてそれぞれ異なる目盛り数のデータを記憶してもよいし、同じデータとしてもよい。
【0101】
次いで、CPU10は、ステップS306において算出した表示範囲仮代入値データ51aとスケール値仮代入値データ51bを、RAM350に格納して(ステップS307)そして、CPU10は、表示範囲設定データ51に基づいて、グラフウィンドウGWを表示し、画面内にスケールを表示する(ステップS308)。
【0102】
図14(c)は、この段階での表示部40における表示画面の一例を示す図である。同図によれば、グラフウィンドウGWにおいて、X軸及びY軸上にスケールが表示されている。
以上の処理を実行すると、CPU10はスケール表示処理を終了する。
【0103】
以上説明したように、第3の実施の形態において、ユーザがグラフウィンドウGWの表示範囲やスケールの値に未定義変数を指定した場合にも、関数電卓1によりエラー処理が実行されることなく、グラフウィンドウGWにスケールが表示される。
【0104】
したがって、表示範囲のスケール値が具体的な数値であるか未定義変数であるかを問わず、グラフウィンドウGWにスケールが表示されるため、ユーザは効率良くグラフを使用した学習を行うことができる。
【0105】
4. 第4の実施の形態
以下、第4の実施の形態について説明する。
本第4の実施の形態は、数式を表示する数式ウィンドウFW、グラフを表示するグラフウィンドウGW、及びユーザに選択されたグラフのグラフ式を表示する式表示欄WWを表示部40に表示する。また、未定義変数を含むグラフ式が入力された場合に、この未定義変数に仮の値を代入することによりグラフウィンドウGWにグラフを描画する。更に、ユーザによりグラフウィンドウGW上の任意の座標が指定されると、指定された座標に応じてグラフの描画位置を変更するとともに、未定義変数に仮代入した値を変更する制御を行うものである。
【0106】
4.1内部構成
本第4の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM450に置き換えて、ROM70をROM470に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0107】
図15は、RAM450の構成を示す図である。同図によれば、RAM450は、グラフウィンドウGWにおける表示データであるグラフデータ52、グラフを描画するためのグラフ式データ52a、グラフ式データ52aに未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるグラフ式仮代入値データ52b、数式ウィンドウFWにおける表示データである数式データ55、描画する図形を特定するための図形特定データ60、の各データの格納領域を備える。
【0108】
図16は、ROM470の構成を示す図である。同図によれば、ROM470には、グラフ表示位置指定処理プログラム471が格納されている。
【0109】
グラフ表示位置指定処理プログラム471は、グラフ表示位置指定処理(図17参照)を実現するためのプログラムである。CPU10がこのグラフ表示位置指定処理プログラム471を実行することにより、グラフ表示位置指定処理が実現される。
【0110】
4.2 動作
次に、第4の実施の形態における関数電卓1の動作について説明する。
図17は、グラフ表示位置指定処理に係る関数電卓1の動作を説明するためのフローチャートであり、図18は、図17のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0111】
図17に示すグラフ表示位置指定処理において、ユーザは、キー群3又は入力ペン4を使用して、所望の図形の種類を指定して、この図形を特定するためのデータである数値や文字(未定義変数)等(以下「図形特定データ」という。)を入力する。すると、CPU10は、描画する図形の種類を検知するとともに(ステップS401)、図形特定データの入力を検知し(ステップS402)、図形特定データ60としてRAM450に格納する(ステップS404)。
【0112】
次いで、CPU10は、図形特定データ60に未定義変数が含まれると判別した場合(ステップS405;YES)、この未定義変数に仮に代入する値を算出して、算出した値をグラフ式仮代入値データ52bとしてRAM450に格納する(ステップS406)。
【0113】
次に、CPU10は、描画する図形のグラフデータを算出し、グラフデータ52及びグラフ式データ52aをRAM450に格納する(ステップS407)。次いで、CPU10は、グラフデータ52を表示部40に送出してグラフウィンドウGWにグラフを描画する(ステップS408)。
【0114】
図18(a)及び(b)は、この段階での表示部40における表示画面の一例を示す図である。図18(a)は、数式ウィンドウFWにグラフ式C4が表示され、グラフウィンドウGWにグラフ式C4に基づくグラフG4が既に描画されている画面例である。ユーザは、グラフウィンドウGWにおいて、入力ペン4を使用して、円の中心と半径を指定する図形特定データを指定して円描画コマンドを入力する。これにより、例えば、未定義変数「A」,「B」を含むグラフ式「(x−A)^2+(y−B)^2=4」が指定されて、グラフ式データ52aとしてRAM450に格納される。
【0115】
CPU10は、コマンドに従って図18(a)に示すグラフG5を描画して、グラフG5の中心にポインタH10を表示する。図18(b)において、ユーザは、入力ペン4を使用してグラフG5のポインタH10を移動させ、グラフG5の表示位置を変更するコマンドを入力する。これに応じて、CPU10は以下に述べるステップS410以降の処理を実行する。
【0116】
次いで、CPU10は、グラフ上の座標が指定されたことを検出した場合に(ステップS409;YES)、指定位置(座標)から未定義変数に仮代入するグラフ式仮代入値データ52bの値を再算出して、グラフ式データ52a及びグラフ式仮代入値データ52bを更新する(ステップS410)。また、CPU10は、グラフデータを再算出した後(ステップS411)、グラフの表示位置を変更する(ステップS412)。そして、表示部40の式表示欄WWにグラフ式を表示する(ステップS413)。
【0117】
図18(c)及び(d)は、この段階における表示部40の表示画面の一例を示す図である。図18(c)に示すように、ユーザにより入力ペン4を用いてグラフG5の中心H10が移動されて座標が指定された場合、CPU10はグラフG5の表示位置を変更する。その後、図18(d)に示すように、移動したグラフG5のグラフ式を式表示欄WWに表示する。式表示欄WWには、未定義変数A、Bを含むグラフG5のグラフ式C5が表示されている。
【0118】
なお、グラフウィンドウGWの表示範囲に具体的な数値が設定されている場合には、グラフG5の正確な位置を算出可能であるため、図18(d)の画面の代わりに、図19に示すように具体的な数値を代入したグラフ式C5’を式表示欄WWに表示してもよい。
【0119】
以上説明したように、第4の実施の形態において、ユーザが未定義変数を含む数式を入力すると、関数電卓1によりエラー処理が実行されることなく、表示部40にグラフが描画される。また、グラフ描画後にグラフの位置を変更する指示を入力すると、グラフの描画位置が変更される。
【0120】
したがって、未定義変数を含む数式に基づくグラフを描画するとともに、ユーザにより指定された座標位置に基づいてグラフの表示位置を変更できる。このため、ユーザがイメージする所望の位置にグラフを描画することができる。
【0121】
5. 第5の実施の形態
以下、第5の実施の形態について説明する。
本第5の実施の形態は、数式ウィンドウFWに入力された数式に基づくグラフをグラフウィンドウGWに描画する。また、数式ウィンドウFWに入力された数式に含まれた未定義変数の条件をが条件データ入力欄IAに入力されると、この条件に応じてグラフウィンドウGWに描画されたグラフの位置を変更する制御を行うものである。
【0122】
5.1 内部構成
本第5の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM550に置き換えて、ROM70をROM570に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0123】
図20は、RAM550の構成を示す図である。同図によれば、RAM550は、グラフウィンドウGWにおける表示データであるグラフデータ52と、グラフを描画するためのグラフ式データ52a、グラフ式データ52aに未定義変数が含まれる場合にこの未定義変数に仮に代入する値として算出された値であるグラフ式仮代入値データ52b、数式ウィンドウFWにおける表示データである数式データ55、条件データ入力欄IAにおける表示データである条件データ56、の各データの格納領域を備える。
【0124】
図21は、ROM570の構成を示す図である。同図によれば、ROM570には、条件設定グラフ描画処理プログラム571が格納されている。
【0125】
条件設定グラフ描画処理プログラム571は、条件設定グラフ描画処理(図22参照)を実現するためのプログラムである。CPU10がこの条件設定グラフ描画処理プログラム571を実行することにより、条件設定グラフ描画処理が実現される。
【0126】
5.2 動作
次に、第5の実施の形態における関数電卓1の動作について説明する。
図22は、条件設定グラフ描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図23は、図22のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0127】
図22に示す条件設定グラフ描画処理において、まずCPU10は、グラフモードをOFFからONに切り替える(ステップS501)。次いで、計算アプリケーション及びグラフアプリケーションの実行を開始して、表示部40に数式ウィンドウFW、グラフウィンドウGW、条件データ入力欄IAを表示させる(ステップS502)。そして、ユーザは、例えばキー群3により数式ウィンドウFWに未定義変数を含む数式を入力して、グラフ描画のコマンドを入力する。
【0128】
CPU10は、数式ウィンドウFWに未定義変数を含む数式が入力されて、描画コマンドが指定されたと判別すると(ステップS503;YES)、入力されたグラフ式を数式データ55としてRAM550に格納する(ステップS504)。
【0129】
次いで、CPU10は、ユーザにより入力された数式に基づくグラフが、グラフウィンドウGWの表示領域に収まるように、数式内の未定義変数に仮代入する値を算出し、グラフ式仮代入値データ52bとしてRAM550に格納する(ステップS505)。CPU10は、仮代入値を代入した数式からグラフデータを算出して、グラフデータ52とグラフ式データ52aをRAM550に格納する(ステップS506)。次いで、CPU10は、グラフウィンドウGWにグラフを描画する(ステップS507)。
【0130】
図23(a)及び(b)は、この段階において表示部40に表示される表示画面の遷移例を示す図である。図23(a)に示す例では、数式ウィンドウFWに数式C6「Y=X+A」が表示され、グラフウィンドウGWには数式C6のグラフ式G6が表示されている。更に、図23(b)に示す例では、数式ウィンドウFWに数式C7「Y=X+B」が追加され、これに伴ってグラフウィンドウGWに数式C7のグラフG7が表示されている。
【0131】
続いて、CPU10は、条件データ入力欄IAにおいて、数式ウィンドウFWに表示された数式に含まれる未定義変数の条件が入力された場合(ステップS509;YES)、入力された条件を条件データ56としてRAM550に格納する(ステップS510)。
【0132】
次に、CPU10は、ステップS505において数式の未定義変数に仮代入した値が、条件データ56の条件と一致するか(条件を満足するか)否かを判別する(ステップS511)。CPU10は、グラフ式仮代入値データ52bが条件データ56と一致すると判別した場合は(ステップS511;YES)、条件設定グラフ描画処理を終了する。
【0133】
一方、グラフ式仮代入値データ52bが条件データ56と一致しない場合には(ステップS511;NO)、CPU10は、条件データ56が示す条件を満たすように、グラフ式仮代入値データ51bを再計算して、グラフ式仮代入値データ51bを更新する(ステップS512)。次いで、CPU10は、更新されたグラフ式仮代入値データ51bを代入した数式データ51のグラフデータを算出して、グラフデータ52及びグラフ式データ52aを更新する(ステップS513)。そして、CPU10は、グラフウィンドウGWにおけるグラフの描画位置を更新する(ステップS514)。
【0134】
図23(c)及び(d)は、この段階において表示部40に表示される表示画面の遷移例を示す図である。図23(c)によれば、条件データ入力欄IAにおいて、ユーザにより条件J1「A>B>0」が入力されている。条件J1が入力されると、CPU10は、条件に応じてグラフG6及びG7の描画位置を変更する。本画面例では、直線を示す数式C6及びC7のy切片の値は正であり、AはBよりも大きい値をとる条件が指定されたため、図24(d)に示すようにグラフG6及びG7の配置が変更される。
以上の処理を実行すると、CPU10は条件設定グラフ描画処理を終了する。
【0135】
以上説明したように、第5の実施の形態において、ユーザが未定義変数を含む数式を指定して、この数式に基づくグラフの描画を指示すると、関数電卓1の表示部40にグラフが描画される。また、各数式に含まれる未定義変数の大小関係等を示す条件を入力すると、描画されているグラフが条件を満たしていない場合には、表示位置が変更されるといった条件に応じたグラフの変更がなされる。
【0136】
したがって、未定義変数を含む数式に基づくグラフを表示することが可能となるだけでなく、条件を指定することによりイメージどおりの位置にグラフを表示させることができる。
【0137】
6. 第6の実施の形態
以下、第6の実施の形態について説明する。
本第6の実施の形態は、数式ウィンドウFWに入力された数式に基づくグラフをグラフウィンドウGWに描画する。また、数式ウィンドウFWに入力された数式に含まれた未定義変数の条件を示すデータが条件データ入力欄IAに入力されると、この条件を満たす全ての値を数式の未定義変数に代入する。そして、これにより得られた全データをグラフウィンドウGWに描画することにより、所定の線幅を有するグラフを描画する制御を行うものである。
【0138】
6.1 内部構成
本第6の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM650に置き換えて、ROM70をROM670に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0139】
図24は、RAM650の構成を示す図である。同図によれば、RAM650は、グラフウィンドウGWにおける表示データであるグラフデータ52、グラフを描画するためのグラフ式データ52a、グラフ式に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるグラフ式仮代入値データ52b、数式ウィンドウFWにおける表示データである数式データ55、条件データ入力欄IAにおける表示データである条件データ56、の各データの格納領域を備える。
【0140】
図25は、ROM670の構成を示す図である。同図によれば、ROM670には、条件充足グラフ全描画処理プログラム671が格納されている。
【0141】
条件充足グラフ全描画処理プログラム671は、条件充足グラフ全描画処理(図26参照)を実現するためのプログラムである。CPU10がこの条件充足グラフ全描画処理プログラム671を実行することにより、条件充足グラフ全描画処理が実現される。
【0142】
6.2 動作
次に、第6の実施の形態における関数電卓1の動作について説明する。
図26は、条件充足グラフ全描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図27は、図26のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0143】
図26に示す条件充足グラフ全描画処理において、まずCPU10は、グラフモードをOFFからONに切り替える(ステップS601)。次いで、計算アプリケーション及びグラフアプリケーションの実行を開始して、表示部40に数式ウィンドウFW、グラフウィンドウGW、条件データ入力欄IAを表示させる(ステップS602)。そして、ユーザは、例えばキー群3により数式ウィンドウFWに未定義変数を含む数式を入力して、グラフ描画のコマンドを入力する。
【0144】
CPU10は、条件データ入力欄IAにおいて未定義変数を含む数式が入力されると(ステップS603;YES)、入力された数式を数式データ55としてRAM650に格納する(ステップS604)。次に、CPU10は、数式に基づくグラフがグラフウィンドウGWの表示範囲内に収まるように、数式に含まれた未定義変数に仮代入する値を算出して、算出した値をグラフ式仮代入値データとしてRAM650に格納する(ステップS605)。
【0145】
続いて、CPU10は、仮代入値を代入した数式からグラフデータを算出して、グラフデータ52とグラフ式データ52aをRAM650に格納する(ステップS606)。次いで、CPU10は、グラフウィンドウGWにグラフを描画する(ステップS607)。
【0146】
図27(a)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、数式ウィンドウFWに数式C8「Y=X+A」が表示され、グラフウィンドウGWには数式C8のグラフG8が表示されている。
【0147】
次いで、CPU10は、条件データ入力欄IAにおいて、数式ウィンドウFWに表示された数式に含まれる未定義変数の範囲を指定する条件が入力された場合(ステップS609:YES)、入力された条件を条件データ56としてRAM650に格納する(ステップS610)。
【0148】
次いで、CPU10は、条件データ56を充足する全ての値をグラフ式仮代入値データ52bに設定して、数式データ55にこのグラフ式仮代入値データ52bを代入して、全グラフデータを算出し、グラフデータ52及びグラフ式データ52aを更新する(ステップS611)。そして、CPU10は、グラフウィンドウGWに、ステップS611において算出した全グラフデータに基づいてグラフを描画する(ステップS612)。
【0149】
図27(b)及び(c)は、この段階において表示部40に表示される表示画面の遷移例を示す図である。図27(b)において、条件データ入力欄IAに条件J2「2>A>−1」が入力されている。CPU10は、数式ウィンドウFWに表示された数式C8「Y=X+A」の未定義変数Aに条件J2により指定された範囲の数値を代入して、図27(c)に示すように、全グラフG9(グラフ式「Y=X+2」から「Y=X−1」のグラフ)をグラフウィンドウGWに表示する。
以上の処理を実行すると、CPU10は、条件充足グラフ全描画処理を終了する。
【0150】
以上説明したように、第6の実施の形態において、ユーザは、未定義変数を含む数式を指定して、グラフ描画コマンドを入力すると、数式に基づくグラフが表示部40に表示される。また、未定義変数に代入する値の範囲を指定する条件を入力すると、この条件を満たす全てのグラフがグラフウィンドウGWに表示される。
【0151】
したがって、未定義変数を含む数式を指定してグラフを表示させることが可能になるだけでなく、グラフが描画された後に未定義変数の値の範囲を条件として入力することにより、所望の条件を満たす(所定の幅を有する)全てのグラフを表示させることができる。
【0152】
なお、例えば、図27(b)における条件として「A>−1」が入力さRた場合には、数式C8のy切片が「−1」より大きい領域を塗りつぶした様な(無限の幅としての)グラフが描画される。
【0153】
7. 第7の実施の形態
以下、第7の実施の形態について説明する。
本第7の実施の形態は、計算アプリケーションのテーブルの表示範囲設定用画面(以下、「テーブル表示範囲設定ウィンドウTRW」という。)において入力された、初期値、終端値、刻み幅、等のテーブルの表示範囲を設定するデータ(以下、「テーブル表示範囲設定データ」という。)に未定義変数が含まれる場合に、初期値からn(nは正の整数)個分のデータと、終端値からn個分のデータを算出する。そして、算出したデータを、計算アプリケーションのテーブル表示用画面(以下、「テーブルウィンドウTW」という。)に表示し、値を算出していない省略部分については、省略記号を表示する制御を行うものである。
【0154】
7.1 内部構成
本第7の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM750に置き換えて、ROM70をROM770に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0155】
図28は、RAM750の構成を示す図である。同図によれば、RAM750は、テーブル表示範囲設定ウィンドウTRWにおける表示データであるテーブル表示範囲設定データ57と、テーブルウィンドウTWにおける表示データであるテーブルデータ58と、の各データの格納領域を備える。
【0156】
図29は、ROM770の構成を示す図である。同図によれば、ROM770には、テーブル表示処理プログラム771が格納されている。
【0157】
テーブル表示処理プログラム771は、テーブル表示処理(図30参照)を実現するためのプログラムである。CPU10がこのテーブル表示処理プログラム771を実行することにより、テーブル表示処理が実現される。
【0158】
7.2 動作
次に、第7の実施の形態における関数電卓1の動作について説明する。
図30は、テーブル表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図31は、図30のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0159】
図30に示すテーブル表示処理において、まずCPU10は、テーブルモードをOFFからONに切り替える(ステップS701)。次いで、計算アプリケーションの実行を開始して、表示部40にテーブル表示範囲設定ウィンドウTRWを表示させる(ステップS702)。ユーザは、テーブル表示範囲設定ウィンドウTRWにおいて、初期値(start)、終端値(end)、刻み幅(pitch)の各値を入力して設定する。
【0160】
CPU10は、テーブル表示範囲設定ウィンドウTRWにおいてユーザにより初期値、終端値、刻み幅のデータが入力されたと判別すると(ステップS703;YES)、入力されたデータをテーブル表示範囲設定データ57としてRAM750に格納する(ステップS704)。次いで、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれるか否かを判別し(ステップS705)、未定義変数が含まれていないと判別した場合には(ステップS705;NO)、テーブル表示範囲設定データ57に基づいてテーブルデータを算出し(ステップS708)、ステップS709に移行する。
【0161】
一方、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれると判別した場合には(ステップS705;NO)、初期値からn個分のデータを算出した後(ステップS706)、終端値からn個分のデータを算出する(ステップS707)。
【0162】
次に、CPU10は、ステップS706及びS707、又はS708において算出したテーブルのデータを、テーブルデータ58としてRAM750に格納する(ステップS709)。そして、テーブルデータを表示部40に送出して、テーブルウィンドウTWにテーブルを表示させる(ステップS710)。なお、CPU10は未定義変数が含まれるテーブル表示範囲設定データに基づいてテーブルデータを算出した場合には、ステップS710において、初期値及び終端値のそれぞれからn個ずつ算出した値の間の算出していない値については、省略記号SHを表示する。
【0163】
図31(a)及び(b)は、ユーザにより指定されたテーブル表示範囲設定データ57に基づいて、テーブル表示ウィンドウTWにテーブルが表示されるまでの画面遷移を示している。図31(a)に示すように、テーブル表示範囲設定ウィンドウTRWにおいて、数式C9に「(Y=)PX」、初期値に「1」、終端値に未定義変数「A」、刻み幅に未定義変数「B」が設定された場合、CPU10は、初期値「1」からn(同図では「n=3」)個分のデータを算出するとともに、終端値「A」からn個分のデータを算出する。そして、算出したデータを、図31(b)に示すテーブルウィンドウTWに表示するとともに、省略部分には省略記号SHを表示する。
【0164】
なお、図示しないが、テーブル表示範囲設定データ57に具体的な数値が設定された場合には、省略記号SHを表示せずに、全テーブルデータを算出してテーブルウィンドウTWに表示する。仮に、図31(a)に示す数式C9「Y=PX」について、初期値「1」、終端値「10」、刻み幅「2」が指定された場合、CPU10は、Xの値「1,2,5,7,9」を表示するとともに、対応するYの値「P,2P,5P,7P,9P」をテーブルウィンドウTWに表示する。
以上の処理を実行すると、CPU10はテーブル表示処理を終了する。
【0165】
以上説明したように、第7の実施の形態において、ユーザは、テーブルの表示範囲の設定データを入力すると、設定データに未定義変数が含まれる場合にも、設定データに基づくテーブルがテーブルウィンドウTWに表示される。
【0166】
したがって、テーブルの表示範囲設定データに具体的な値を設定しない場合においても、関数電卓1によりエラー処理が実行されることなく、テーブルを表示させることが可能となる。
【0167】
8. 第8の実施の形態
以下、第8の実施の形態について説明する。
本第8の実施の形態は、テーブル表示範囲設定ウィンドウTRWにおいて入力されたテーブルの表示範囲を設定するデータ(初期値、終端値、刻み幅)に未定義変数が含まれる場合に、初期値からn(nは正の整数とする。)個分のデータと、終端値からn個分のデータを算出する。そして、算出したデータを、テーブルウィンドウTWに表示し、値を算出していない省略部分については、省略記号を表示する。更に、省略部分の表示指示が入力された場合に、省略部分の値を求めるための一般式を算出して表示する制御を行うものである。
【0168】
8.1 内部構成
本第8の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM850に置き換えて、ROM70をROM870に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0169】
図32は、RAM850の構成を示す図である。同図によれば、RAM850は、テーブル表示範囲設定ウィンドウTRWにおける表示データであるテーブル表示範囲設定データ57と、テーブルウィンドウTWにおける表示データであるテーブルデータ58と、テーブルデータ58に基づくテーブルの省略部分の値を示す一般式のデータ(以下、「一般式データ」という。)58aと、の各データの格納領域を備える。
【0170】
図33は、ROM870の構成を示す図である。同図によれば、ROM870には、テーブル選択部分表示処理プログラム871が格納されている。
【0171】
テーブル選択部分表示処理プログラム871は、テーブル選択部分表示処理(図34参照)を実現するためのプログラムである。CPU10がテーブル選択部分表示処理プログラム871を実行することにより、テーブル選択部分表示処理が実現される。
【0172】
8.2 動作
次に、第8の実施の形態における関数電卓1の動作について説明する。
図34は、テーブル選択部分表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図35は、図34のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0173】
図34に示すテーブル選択部分表示処理において、まずCPU10は、テーブルモードをOFFからONに切り替える(ステップS801)。次いで、計算アプリケーションの実行を開始して、表示部40にテーブル表示範囲設定ウィンドウTRWを表示させる(ステップS802)。ユーザは、テーブル表示範囲設定ウィンドウTRWにおいて、初期値(start)、終端値(end)、刻み幅(pitch)の各値を入力して設定する。
【0174】
CPU10は、テーブル表示範囲設定ウィンドウTRWにおいてユーザにより初期値、終端値、刻み幅のデータが入力されたと判別すると(ステップS803;YES)、入力されたデータをテーブル表示範囲設定データ57としてRAM850に格納する(ステップS804)。
【0175】
図35(a)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、数式C10に「Y=PX」、初期値に「1」、終端値に未定義変数「A」、刻み幅に未定義変数「B」が設定されている。
【0176】
次いで、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれるか否かを判別し(ステップS805)、未定義変数が含まれていないと判別した場合には(ステップS805;NO)、テーブル表示範囲設定データ57に基づいてテーブルデータを算出し(ステップS808)、ステップS809に移行する。
【0177】
一方、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれると判別した場合には(ステップS805;NO)、初期値からn個分のデータを算出した後(ステップS806)、終端値からn個分のデータを算出する(ステップS807)。
【0178】
次に、CPU10は、ステップS806及びS807、又はS808において算出したテーブルのデータを、テーブルデータ58としてRAM850に格納する(ステップS809)。そして、テーブルデータを表示部40に送出して、テーブルウィンドウTWにテーブルを表示させ、テーブルの内、省略して表示する部分には省略記号SHを表示する(ステップS810)。
【0179】
図35(b)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、図35(a)の画面において設定されたテーブル表示範囲設定データに基づくテーブルが表示されている。ユーザは、キー群3を操作することによってカーソル位置を移動して、テーブルの所望の値を選択する。すると、CPU10は、カーソル位置にあるデータ(以下、「トレースデータ」という。)を反転表示して、テーブルデータTWの右下部のトレースデータ表示部TDにトレースデータ「2B+1」を表示する。
【0180】
続いて、CPU10は、ユーザによりカーソルの移動(以下、「トレース」という。)が入力されたと判別した場合に(ステップS811;YES)、トレース位置が省略記号SHの部分であるか否かを更に判別する(ステップS812)。CPU10は、省略記号SHの部分がトレースされていると判別した場合は(ステップS812;YES)、省略記号SHにカーソルを移動して反転表示するとともに、省略部分のデータの一般式を算出して、一般式データ58aとしてRAM850に格納する(ステップS813)。そして、算出した一般式をトレースデータに設定し(ステップS814)、ステップS816に移行する。
【0181】
図35(c)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、省略記号SHの部分がトレース中であり、省略記号SHが反転表示されている。また、テーブルウィンドウTWの右下部のトレースデータ表示部TDに一般式「X=t,Y=tP」が表示されている。
【0182】
一方、CPU10は、省略記号SH以外のデータがトレースされたと判別した場合には(ステップS812;NO)、トレースデータにカーソルを移動して反転表示して、トレースデータに設定し(ステップS815)、ステップS816に移行する。
【0183】
続いて、CPU10は、トレースデータをトレースデータ表示部TDに表示する(ステップS816)。次に、CPU10は、カーソルの移動を検知したか否かを判別し(ステップS817)、カーソルの移動を検知した場合は(ステップS817:YES)、ステップS812に戻る。一方、CPU10は、カーソルの移動を検知しない場合は(ステップS817;NO)、ユーザによる終了入力の有無を更に判別する(ステップS818)。CPU10は、ユーザにより終了入力がなされた場合(ステップS818;YES)、テーブル選択部分表示処理を終了し、終了入力がなされない場合は(ステップS818;NO)、他処理を実行する。
【0184】
以上説明したように、第8の実施の形態において、ユーザがテーブル表示範囲設定データ57について数値又は未定義変数を設定すると、テーブルウィンドウTWにテーブルが表示される。また、カーソルを移動して、テーブル内の省略記号SHをトレースすると、省略記号SHの部分のデータを示す一般式が表示される。
【0185】
したがって、テーブル表示範囲設定データ57に未定義変数が含まれている場合でも、所望のテーブルを表示させてデータを確認することができる。また、テーブルの省略記号SHをトレースすると、省略部分のデータを一般式によって確認することも可能となる。
【0186】
9. 第9の実施の形態
以下、第9の実施の形態について説明する。
本第9の実施の形態は、数式ウィンドウFWにおいて入力された数式に基づいて、増減表を算出し、増減表の表示用画面(以下、「増減表ウィンドウATW」という。)に表示する。数式ウィンドウFWにおいて入力された数式に未定義変数が含まれる場合には、未定義変数の値の場合分けを行う。そして、場合分けごとに増減表を算出する。また、ユーザによる表示切替の指示に応じて、増減表ウィンドウATWにおいて、各場合分けの増減表を一つずつ切り替えて表示する制御を行うものである。
【0187】
9.1 内部構成
本第9の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM950に置き換えて、ROM70をROM970に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0188】
図36は、RAM950の構成を示す図である。同図によれば、数式ウィンドウFWにおける表示データである数式データ55と、増減表ウィンドウATWにおける表示データである増減表データ59と、の各データの格納領域を備える。
【0189】
図37は、ROM970の構成を示す図である。同図によれば、ROM970には、増減表表示処理プログラム971が格納されている。
【0190】
増減表表示処理プログラム971は、増減表表示処理(図38参照)を実現するためのプログラムである。CPU10が増減表表示処理プログラム971を実行することにより増減表表示処理が実現される。
【0191】
9.2 動作
次に、第9の実施の形態における関数電卓1の動作について説明する。
図38は、増減表表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図39及び図40は、図38のフローチャートに示す動作において表示部40に表示される表示画面の一例を示す図である。
【0192】
図38に示す増減表表示処理において、まずCPU10は、増減表モードをOFFからONに切り替える(ステップS901)。次いで、計算アプリケーションの実行を開始して、表示部40に数式ウィンドウFW及び増減表ウィンドウATWを表示させる(ステップS902)。ユーザは、キー群3を使用して、数式ウィンドウFXに所望の数式を入力した後、増減表作成のコマンドを入力する。
【0193】
すると、CPU10は、数式ウィンドウFWに数式が入力されて増減表作成のコマンドが入力されたことを検知すると(ステップS903;YES)、数式を数式データ55としてRAM950に格納する(ステップS904)。
【0194】
図39は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、表示部40には、数式ウィンドウFW及び増減表ウィンドウATWが表示されている。また、数式ウィンドウFWには、ユーザにより入力された数式C11「Y1:(X−2)(X+1)(X−A)」が表示されている。
【0195】
次に、CPU10は、数式データ55に未定義変数が含まれるか否かを判別する(ステップS905)。CPU10は、数式データ55に未定義変数が含まれると判別した場合(ステップS905;YES)、未定義変数の場合分けを実行する(ステップS906)。次に、CPU10は、場合分けごとの増減表を算出して(ステップS907)、算出した増減表のデータを増減表データ59としてRAM950に格納する(ステップS908)。次に、CPU10は、場合分けした内の1つの増減表を増減表ウィンドウATWに表示する(ステップS909)。
【0196】
ここで、ユーザは、その他の場合分けの増減表を表示させる場合には、キー群3を使用して表示切替の指示を入力する。すると、CPU10は、表示切替の指示が入力されたか否かを判別して(ステップS910)、表示切替の指示が入力されたと判別すると(ステップS910;YES)、次の場合分けの増減表を増減表ウィンドウATWに表示する(ステップS911)。一方、CPU10は、表示切替の指示が入力されないと判別すると(ステップS910;NO)、増減表表示処理を終了する。
【0197】
図40(a)、(b)、(c)は、数式ウィンドウFWに入力された数式に未定義変数が含まれており、上記ステップS910で表示切替の指示が入力された場合に、表示部40に表示される表示画面の遷移例を示す図である。例えば、図39に示したように、数式ウィンドウFWに、未定義変数Aを含む数式C11「(X−2)(X+1)(X−A)」が入力された場合、CPU10は、「A<−1」、「−1<A<2」、「A>2」の3通りの場合分け処理を実行し、各場合分けについての増減表を作成する。「A<−1」の場合の増減表を図40(a)に、「−1<A<2」の場合の増減表を図40(b)に、「A>2」の場合の増減表を図40(c)に示す。CPU10は、表示切替の指示入力を検出するごとに、図40(a)、(b)、(c)の画面を増減表ウィンドウATWに順次表示し、更に表示切替が指示されると再度(a)の増減表を表示する。
【0198】
CPU10は、上述したステップS905において、数式データ55に未定義変数が含まれないと判別した場合(ステップS905;NO)、数式データ55に基づき増減表を算出し(ステップS912)、算出した増減表のデータを増減表データ59としてRAM950に格納する(ステップS913)。次いで、CPU10は、増減表を増減表ウィンドウATWに表示して(ステップS914)、増減表表示処理を終了する。
【0199】
以上説明したように、第9の実施の形態において、ユーザが数式を入力して増減表作成を指示するコマンドを入力すると、数式に基づく増減表が表示部40に表示される。入力した数式に未定義変数が含まれる場合には、関数電卓1により未定義変数の値について場合分け処理が実行され、場合分けごとの増減表が表示される。
【0200】
したがって、未定義変数を含む数式の増減表を関数電卓1に表示させることが可能となり、ユーザは学習等に役立てることができる。
【0201】
なお、上記第1〜第9の各実施の形態における関数電卓1の細部構成、及び細部動作に関して、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。
【0202】
【発明の効果】
請求項1又は12に記載の発明によれば、グラフを表示するための座標範囲に未定義変数が含まれる場合に、この未定義変数に仮値を代入して座標範囲を設定し、グラフを表示することができる。即ち、座標範囲として具体的な数値が指定されていない場合に、座標範囲を指定してグラフを表示することが可能となる。したがって、計算時のユーザの思考を支援し、グラフ表示機能を備えた電子機器の利便性を向上させることができる。
【0203】
請求項2に記載の発明によれば、グラフを表示するための座標範囲に未定義変数が含まれる場合に、この未定義変数に仮値を代入した座標範囲にグラフを表示した後、グラフ上のトレースポインタの位置に対応する座標値を演算して表示することができる。
【0204】
請求項3に記載の発明によれば、グラフ系コマンドと座標範囲に同一の未定義変数が含まれる場合に、未定義変数に代入する値を適宜再設定して、座標範囲にグラフが収まるように表示することができる。
【0205】
請求項4に記載の発明によれば、スケール値に未定義変数が含まれる場合に、この未定義変数に仮値を代入して、スケールを表示することが可能となる。
【0206】
請求項5又は13に記載の発明によれば、グラフ式に未定義変数が含まれる場合に、この未定義変数に仮値を代入してグラフを表示した後、条件を設定すると、条件に合わせてグラフを更新表示することができる。
【0207】
請求項6に記載の発明によれば、グラフ式に未定義変数が含まれる場合に、この未定義変数に仮値を代入してグラフを表示した後、グラフに対する移動指示操作又は変形指示操作に応じて未定義変数が取り得る値の条件を設定できる。
【0208】
請求項7に記載の発明によれば、操作入力手段により未定義変数の取り得る値の条件を設定することができる。
【0209】
請求項8に記載の発明によれば、グラフの条件を設定して、この設定した条件を満たすグラフ全てを表す線幅とするグラフを表示することが可能となる。
【0210】
請求項9又は14に記載の発明によれば、数式を基にしたリストテーブルを作成するためのテーブル条件に未定義変数が含まれている場合に、数式にこの未定義変数を代入した文字式を要素とするリストテーブルを作成して表示することができる。即ち、テーブル条件に未定義変数が含まれていてもリストテーブルを表示することが可能となる。
【0211】
請求項10に記載の発明によれば、数式を基にしたリストテーブルを作成するためのテーブル条件に未定義変数が含まれている場合に、数式にこの未定義変数を代入した文字式を要素とするリストテーブルを作成して、作成したリストテーブルの範囲の一部を省略して表示できる。また、省略した範囲の要素を一般式化して表示できる。即ち、テーブル条件に未定義変数が含まれていてもリストテーブルを表示するとともに、一部省略して表示した部分の要素を表示することも可能となる。
【0212】
請求項11又は15に記載の発明によれば、数式に未定義変数が含まれる場合に、この未定義変数が取り得る極点及び変曲点の種類に応じて増減表を作成し、表示することができる。即ち、未定義変数が含まれる数式に基づく増減表の作成及び表示が可能となる。
【図面の簡単な説明】
【図1】本発明を適用した関数電卓の外観例を示す図である。
【図2】図1の関数電卓の内部構成を示すブロック図である。
【図3】第1の実施の形態におけるRAMの構成を示す図である。
【図4】第1の実施の形態におけるROMの構成を示す図である。
【図5】第1グラフ描画処理に係る関数電卓の動作を説明するためのフローチャートである。
【図6】図5のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図7】第2の実施の形態におけるRAMの構成を示す図である。
【図8】第2の実施の形態におけるROMの構成を示す図である。
【図9】第2グラフ描画処理に係る関数電卓の動作を説明するためのフロチャートである。
【図10】図9のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図11】第3の実施の形態におけるRAMの構成を示す図である。
【図12】第3の実施の形態におけるROMの構成を示す図である。
【図13】スケール表示処理に係る関数電卓の動作を示すフローチャートである。
【図14】図13のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図15】第4の実施の形態におけるRAMの構成を示す図である。
【図16】第4の実施の形態におけるROMの構成を示す図である。
【図17】グラフ表示位置指定処理に係る関数電卓の動作を示すフローチャートである。
【図18】図17のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図19】図18に示す表示画面の他の表示例を示す図である。
【図20】第5の実施の形態におけるRAMの構成を示す図である。
【図21】第5の実施の形態におけるROMの構成を示す図である。
【図22】条件設定グラフ描画処理に係る関数電卓の動作を示すフローチャートである。
【図23】図22のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図24】第6の実施の形態におけるRAMの構成を示す図である。
【図25】第6の実施の形態におけるROMの構成を示す図である。
【図26】条件充足グラフ全描画処理に係る関数電卓の動作を示すフローチャートである。
【図27】図26のフローチャートに示す動作おいて、表示部に表示される表示画面の遷移例を示す図である。
【図28】第7の実施の形態におけるRAMの構成を示す図である。
【図29】第7の実施の形態におけるROMの構成を示す図である。
【図30】テーブル表示処理に係る関数電卓の動作を示すフローチャートである。
【図31】図30のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図32】第8の実施の形態におけるRAMの構成を示す図である。
【図33】8の実施の形態におけるROMの構成を示す図である。
【図34】テーブル選択部分表示処理に係る関数電卓の動作を示すフローチャートである。
【図35】図34のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図36】第9の実施の形態におけるRAMの構成を示す図である。
【図37】第9の実施の形態におけるROMの構成を示す図である。
【図38】増減表表示処理に係る関数電卓の動作を示すフローチャートである。
【図39】図38のフローチャートに示す動作において、表示部に表示される表示画面の一例を示す図である。
【図40】図38のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【符号の説明】
1 関数電卓
2 ディスプレイ
3 キー群
4 入力ペン
10 CPU
20 入力部
30 タブレット
31 位置検出回路
40 表示部
41 表示駆動回路
50,250,350,450,550,650,750,850,950 RAM
51 表示範囲設定データ
51a 表示範囲仮代入値データ
51b スケール値仮代入値データ
52 グラフデータ
52a グラフ式データ
52b グラフ式仮代入値データ
53 座標値データ
54 コマンドデータ
54a コマンド仮代入値データ
55 数式データ
56 条件データ
57 テーブル表示範囲設定データ
58 テーブルデータ
58a 一般式データ
59 増減表データ
70,270,370,470,570,670,770,870,970 ROM
71 第1グラフ描画処理プログラム
271 第2グラフ描画処理プログラム
371 スケール表示処理プログラム
372 目盛り数デフォルトデータ
471 グラフ表示位置指定処理プログラム
571 条件設定グラフ描画処理プログラム
671 条件充足グラフ全描画処理プログラム
771 テーブル表示処理プログラム
871 テーブル選択部分表示処理プログラム
971 増減表表示処理プログラム
90 記憶装置
100 記憶媒体
RW 表示範囲設定ウィンドウ
GW グラフウィンドウ
CW コマンドウィンドウ
FW 数式ウィンドウ
WW 式表示欄
IA 条件データ入力欄
TRW テーブル表示範囲設定ウィンドウ
TW テーブルウィンドウ
SH 省略記号
TD トレースデータ表示部
ATW 増減表ウィンドウ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic device having a graph display function and a program.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an apparatus having a drawing function of drawing a geometric figure is known. For example, there has been known a scientific calculator (hereinafter, referred to as a “functional calculator”) having abundant functions such as an equation calculation, a matrix operation, and a complex number operation, and a financial calculation function and a statistical function. This scientific calculator can display, for example, the calculation results of various technical calculations using a calculation function in the form of a graph, and can draw a figure of an input expression. Therefore, it is widely used in educational sites to study the relationship between character data such as mathematical formulas and graphs and figures.
[0003]
In addition, the above-described scientific calculator has a function of setting a coordinate range (hereinafter, referred to as a “display range”) for displaying a graph to a value desired by a user when displaying the graph. Is known (for example, refer to Patent Document 1).
[0004]
[Patent Document 1]
JP-A-61-261780
[0005]
[Problems to be solved by the invention]
By the way, when a user calculates a function, the user does not always perform the calculation with a specific numerical value in mind. For example, assuming a mathematical expression including a variable (hereinafter, referred to as “undefined variable”) a for which a specific numerical value is not specified other than the axis variables X and Y, such as “Y = aX ^ 2”, The calculation is performed by imagining the shape of the graph.
[0006]
However, in a device such as a scientific calculator, when a mathematical expression or the like using an undefined variable is input, the calculation cannot be executed because the specific value of the undefined variable is unknown, and an error occurs. For example, in the following case.
[0007]
(1) When the coordinate range (display range) is set using undefined variables
In a conventional scientific calculator, when a graph is drawn, its coordinate range (display range) can be set. However, setting a coordinate range using undefined variables resulted in an error.
(2) When entering a mathematical expression (graph expression) that includes undefined variables
Since the specific value of the undefined variable was unknown, it was an error that the numerical operation could not be performed and an error occurred, and the graph could not be drawn. Of course, it was not possible to draw a graph by a method of specifying a numerical condition that an undefined variable can take. In addition, since an undefined variable is included, the value of the undefined variable is not uniquely determined, and an increase / decrease table cannot be created.
(3) Creating list data by inputting table conditions including undefined variables
When entering a formula and further entering a table condition for creating list data, even if the formula does not include an undefined variable, if the table condition contains an undefined variable, the list data Could not be created.
[0008]
Thus, the present invention provides an electronic device having a graph display function that enables execution of drawing of a graph, creation of list data, and the like, even when an input using an undefined variable is performed, so that the calculation can be performed at the time of calculation. The purpose is to support the user's thinking and improve usability.
[0009]
[Means for Solving the Problems]
In order to solve the above problems, the electronic device according to
A coordinate range input means (for example, an
Determining means (for example,
When the determination unit determines that the coordinate range includes an undefined variable, the control unit sets a temporary value to the undefined variable and displays a graph for the coordinate range in which the set temporary value is substituted. (For example,
It is characterized by having.
[0010]
The program according to
On the computer,
A coordinate range input function for inputting a coordinate range for displaying a graph,
A determination function of determining whether or not an undefined variable is included in the coordinate range input by the coordinate range input function;
When it is determined that the undefined variable is included in the coordinate range by the determination function, a provisional value is set to the undefined variable, and a graph is displayed for the coordinate range in which the set provisional value is substituted. Graph display control function to perform
Is realized.
[0011]
According to the first or twelfth aspect of the present invention, when an undefined variable is included in a coordinate range for displaying a graph, a temporary range is assigned to the undefined variable to set a coordinate range, and the graph is displayed. Can be displayed. That is, when a specific numerical value is not specified as the coordinate range, the graph can be displayed by specifying the coordinate range. Therefore, it is possible to support the user's thinking at the time of calculation and to improve the convenience of the electronic device having the graph display function.
[0012]
According to another aspect of the present invention, in the electronic device according to the first aspect, a control for displaying a trace pointer that moves in accordance with a moving operation on a graph that is display-controlled by the graph display control unit. (For example, the
When the discriminating means determines that the coordinate range includes an undefined variable, a control for calculating the position of the trace pointer in the coordinate range using the undefined variable and displaying the position as a coordinate value. (For example,
May be provided.
[0013]
According to the second aspect of the present invention, when an undefined variable is included in a coordinate range for displaying a graph, the graph is displayed in a coordinate range in which a temporary value is assigned to the undefined variable, and then the graph is displayed. The coordinate value corresponding to the position of the trace pointer can be calculated and displayed.
[0014]
Further, as in the invention according to
Command input means (for example, an
A second determining means (for example, as shown in FIG. 2) for determining whether or not the same undefined variable is included in the graph-based command input by the command input means and the coordinate range input by the coordinate range input means.
Further comprising
The graph display control means is means for performing control for displaying a graph of a graph specified by a graph command input by the command input means, and includes the same undefined variable by the second determination means. When it is determined that the tentative value has been substituted, it is determined based on predetermined accommodation conditions whether or not the graph of the graph formula falls within the coordinate range to which the tentative value has been substituted. And a means for controlling to display the graph of the graph by resetting the provisional value so as to satisfy the accommodation condition (for example,
[0015]
According to the third aspect of the present invention, when the same undefined variable is included in the graph-based command and the coordinate range, the value to be assigned to the undefined variable is reset as appropriate so that the graph can be included in the coordinate range. Can be displayed.
[0016]
Further, as in the invention according to
Scale value input means (for example, an
Third determining means (for example,
When it is determined by the third determining means that the scale value includes an undefined variable, a temporary value is set for the undefined variable, and the scale is displayed with the scale value obtained by substituting the set temporary value. Scale display control means (for example,
May be provided.
[0017]
According to the fourth aspect of the present invention, when an undefined variable is included in a scale value, it is possible to display a scale by substituting a temporary value for the undefined variable.
[0018]
The electronic device according to
An electronic device with a graph display function that performs control to display a graph of a graph expression including an undefined variable,
Display control means (for example,
Condition setting means (for example,
By calculating a value that satisfies the condition set by the condition setting means, resetting a new value to the undefined variable, and substituting the reset value, the graph of the graph formula is replaced with a new graph. Update display control means (for example,
It is characterized by having.
[0019]
The program according to claim 13,
On the computer,
A display control function of setting a provisional value to an undefined variable included in the graph expression and performing control to display a graph of the graph expression in which the set provisional value is substituted;
A condition setting function for setting a condition of a possible value of the undefined variable by a predetermined operation input;
By calculating a value that satisfies the condition set by the condition setting function, resetting a new value to the undefined variable, and substituting the reset value, the graph of the graph formula is replaced with a new graph. An update display control function for controlling the update display on the
Is realized.
[0020]
According to the invention as set forth in
[0021]
Further, as in the invention according to claim 6, in the electronic device according to
The condition setting unit is configured to execute a movement instruction operation or a deformation instruction operation on a graph display-controlled by the display control unit, based on a graph expression specified by the graph after the instruction operation, to obtain a possible value of the undefined variable. (For example, the
[0022]
According to the invention as set forth in claim 6, when an undefined variable is included in a graph expression, a temporary value is assigned to the undefined variable, and the graph is displayed. The condition of the value that the undefined variable can take can be set accordingly.
[0023]
Further, as in the invention according to
The condition setting means is configured to include an operation input means (for example,
[0024]
According to the invention described in
[0025]
Further, as in the invention according to
When it is determined that the value satisfying the condition set by the condition setting means has a certain range, the update display control means updates and displays the graph having the line width as the new graph as the new graph. It may be configured to have means for controlling (
[0026]
According to the invention described in
[0027]
The electronic device according to claim 9,
Formula input means (for example,
A table condition input unit (for example, the
Determining means (for example,
When the determination unit determines that the table condition includes an undefined variable, a list table is created and displayed as a character expression obtained by substituting the undefined variable into the mathematical expression. List table display control means (for example,
It is characterized by having.
[0028]
The program according to claim 14,
On the computer,
A formula input function for inputting formulas,
A table condition input function for inputting a table condition for creating a list table of formulas input by the formula input function,
A determination function for determining whether an undefined variable is included in the table condition input by the table condition input function,
When it is determined by the determination function that the table condition includes an undefined variable, a list table is created and displayed as a character expression obtained by substituting the undefined variable into the mathematical expression. List table display control function to control
Is realized.
[0029]
According to the invention described in claim 9 or 14, when an undefined variable is included in a table condition for creating a list table based on a mathematical expression, a character expression in which the undefined variable is substituted into the mathematical expression Can be created and displayed. That is, the list table can be displayed even if the table condition includes an undefined variable.
[0030]
Further, as in the invention according to
The table condition input means has a range input means (for example, the
The list table display control means, when omitting a part of the range of the list table input by the range input means and displaying the list table, displays an ellipsis sign (for example, an ellipsis symbol SH shown in FIG. 35B). ), And has an omission sign display control means (for example,
Cursor display control means (for example, as shown in FIG. 2 shown in FIG. 2) for performing a control to move on the list table, the display of which is controlled by the list table display control means, in accordance with a moving operation and to display a cursor for indicating an element of the list table.
When the cursor is positioned on the abbreviated sign, the general expression display control means (for example,
May be further provided.
[0031]
According to the tenth aspect, when a table condition for creating a list table based on a mathematical expression includes an undefined variable, a character expression in which the undefined variable is substituted for the mathematical expression is used as an element. Can be created, and a part of the range of the created list table can be omitted and displayed. In addition, elements in the omitted range can be represented by a general formula. That is, even if an undefined variable is included in the table condition, it is possible to display the list table and to display the elements of the displayed portion with a part omitted.
[0032]
The electronic device according to
Formula input means (for example,
Determining means (for example,
An increase / decrease table creating means for creating an increase / decrease table of the mathematical expression according to the types of poles and inflection points that the undefined variable can take when the mathematical expression includes an undefined variable; (For example, the
Increase / decrease table display control means (for example,
It is characterized by having.
[0033]
The program according to claim 15,
On the computer,
A formula input function for inputting formulas,
A determination function for determining whether or not an undefined variable is included in a formula input by the formula input function;
An increase / decrease table creation function for creating an increase / decrease table for the mathematical expression according to the types of poles and inflection points that can be taken by the undefined variable when it is determined by the determination function that the mathematical expression includes an undefined variable. When,
An increase / decrease table display control function for controlling to display each increase / decrease table created by the increase / decrease table creation function;
Is realized.
[0034]
According to the invention of
[0035]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following, a case will be described in which the present invention is applied to a graph scientific calculator which is a kind of electronic apparatus having a graph display function, but the present invention is not limited to this.
[0036]
FIG. 1 is a diagram illustrating an example of the appearance of a graph scientific calculator (hereinafter, simply referred to as a “scientific calculator”) 1 to which the present invention is applied. As shown in FIG. 1, the
[0037]
In addition, the
Hereinafter, with reference to the drawings, first to ninth embodiments of the
[0038]
1. First embodiment
In the first embodiment, when data input on a screen for setting a graph display range of a graph application (hereinafter referred to as a “display range setting window RW”) includes an undefined variable, Assign temporary values to variables. Further, when an undefined variable is included in the graph formula input from the
[0039]
1.1 Internal configuration
FIG. 2 is a block diagram illustrating an example of the internal configuration of the
[0040]
The
[0041]
The
[0042]
In addition, the
[0043]
The
[0044]
The
[0045]
According to the figure, the
[0046]
FIG. 4 is a diagram showing the configuration of the
[0047]
The
[0048]
The first graph
[0049]
The
[0050]
The program, data, and the like stored in the
[0051]
1.2 Operation
Next, the operation of the
FIG. 5 is a flowchart for explaining the operation of the
[0052]
In the first graph drawing process shown in FIG. 5, first, after switching the graph mode from OFF to ON (step S101), the
[0053]
FIGS. 6A and 6B are diagrams illustrating an example of a display screen displayed on the
[0054]
Next, when the
[0055]
Here, the value to be temporarily assigned to the undefined variable in step S106 may be calculated based on, for example, the value of the display range when the graph window GW was previously displayed on the
[0056]
Next, when the user inputs a graph expression and a graph drawing instruction from the
[0057]
Here, as the values to be substituted into the undefined variables in step S109, for example, when the graph expression is a quadratic function or a cubic function, the singular points such as the maximum value and the minimum value of the function are defined in steps S104 to S104. A value that falls within the display range set in S106 may be calculated and used. In the case of a linear function, default y-intercept and x-intercept data may be stored in the
[0058]
Subsequently, the
[0059]
FIG. 6C is a diagram showing an example of the display screen at this stage. According to the figure, a graph window GW is displayed on the
[0060]
Next, the
[0061]
The
[0062]
Next, the
[0063]
FIG. 6D shows an example of the display screen of the
[0064]
Then, the
[0065]
As described above, in the first embodiment, when the user specifies an undefined variable or a numerical value as data for setting a display range or a graph expression, a graph is drawn in the graph window GW. Further, even when an undefined variable is designated, the coordinate value of the trace position at the time of the trace processing is displayed using the undefined variable.
[0066]
For this reason, even when the display range and specific numerical values to be substituted into the graph formula are not determined, the shape of the graph can be visually confirmed in the graph window GW, and the graph can be easily imaged.
[0067]
2. Second embodiment
Hereinafter, a second embodiment will be described.
In the second embodiment, when the display range setting data includes an undefined variable, a temporary value is assigned to the undefined variable. After the display range is set by substituting the temporary value, if the graph to be drawn cannot be displayed within the display range, the value temporarily substituted into the display range setting data is changed. Thus, control for displaying the graph within the display range is performed.
[0068]
2.1 Internal configuration
The configuration of the
[0069]
FIG. 7 is a diagram showing the configuration of the
[0070]
FIG. 8 is a diagram showing a configuration of the
[0071]
The second graph drawing
[0072]
2.2 Operation
Next, an operation of the
FIG. 9 is a flowchart for explaining the operation of the
[0073]
In the second graph drawing process shown in FIG. 9, first, the
[0074]
FIG. 10A is a diagram illustrating an example of a display screen displayed on the
[0075]
Next, when the
[0076]
Here, as the value to be temporarily assigned to the undefined variable in step S206, for example, the value may be calculated based on the value of the display range when the previous graph window GW was displayed on the
[0077]
Next, the
[0078]
FIG. 10B is a diagram illustrating an example of a display screen displayed on the
[0079]
Next, the
[0080]
Here, a method of determining whether or not the display range temporary
[0081]
Next, the
[0082]
In the above-described step S215, a value that enables a graph based on the
[0083]
Next, the
[0084]
FIG. 10C is a diagram illustrating an example of a display screen displayed on the
When the above processing is executed, the
[0085]
As described above, in the second embodiment, even when the user specifies an undefined variable in the display range setting data or the
[0086]
Therefore, even when an undefined variable or a numerical value is specified in the display range of the graph or the
[0087]
3. Third embodiment
Hereinafter, a third embodiment will be described.
In the third embodiment, when the scale value data input in the display range setting window RW includes an undefined variable, a temporary value (hereinafter referred to as “scale value temporary substitution value data”) ").) If the display range setting data also includes an undefined variable, a temporary value (hereinafter referred to as “display range temporary substitution value data”) is substituted into the undefined variable, and the graph window GW is displayed. Display control is performed, and at that time, the following processing is performed. Based on the display range temporary substitution value data, the scale value temporary substitution value data, and the data of the default scale number of the predetermined scale, control is performed to display a predetermined number of scales in the display range of the display unit. is there.
[0088]
3.1 Internal configuration
The configuration of the
[0089]
FIG. 11 is a diagram showing a configuration of the
[0090]
FIG. 12 is a diagram showing a configuration of the
[0091]
The scale
[0092]
The scale
[0093]
3.2 Operation
Next, the operation of the
FIG. 13 is a flowchart for explaining the operation of the
[0094]
First, the scale value will be described with reference to FIG. FIG. 14A is a diagram illustrating an example in which the scale and the graph G3 are displayed in the graph window GW. As shown in the figure, in the graph window GW, scales are provided at regular intervals on the X axis and the Y axis. The width of one scale value is called a scale value.
[0095]
In the scale display processing shown in FIG. 13, first, the
[0096]
FIG. 14B is a diagram illustrating an example of a display screen displayed on the
[0097]
Next, when the
[0098]
In step S306, the
[0099]
Specifically, for example, the setting is such that the number of scales “10” is displayed in the X-axis direction of the display range, and the display
As described above, the
[0100]
As the scale
[0101]
Next, the
[0102]
FIG. 14C is a diagram illustrating an example of a display screen on the
After executing the above processing, the
[0103]
As described above, in the third embodiment, even when the user specifies an undefined variable in the display range or scale value of the graph window GW, the
[0104]
Therefore, regardless of whether the scale value of the display range is a specific numerical value or an undefined variable, the scale is displayed in the graph window GW, so that the user can efficiently perform learning using the graph. .
[0105]
4. Fourth embodiment
Hereinafter, a fourth embodiment will be described.
In the fourth embodiment, a mathematical expression window FW for displaying a mathematical expression, a graph window GW for displaying a graph, and an expression display field WW for displaying a graph expression of a graph selected by the user are displayed on the
[0106]
4.1 Internal configuration
The configuration of the
[0107]
FIG. 15 is a diagram showing a configuration of the
[0108]
FIG. 16 is a diagram showing a configuration of the
[0109]
The graph display position
[0110]
4.2 Operation
Next, the operation of the
FIG. 17 is a flowchart for explaining the operation of the
[0111]
In the graph display position designation processing shown in FIG. 17, the user designates a desired graphic type using the
[0112]
Next, when the
[0113]
Next, the
[0114]
FIGS. 18A and 18B are diagrams illustrating an example of a display screen on the
[0115]
The
[0116]
Next, when the
[0117]
FIGS. 18C and 18D are diagrams illustrating an example of the display screen of the
[0118]
Note that when a specific numerical value is set in the display range of the graph window GW, the accurate position of the graph G5 can be calculated. Therefore, instead of the screen of FIG. As described above, the graph formula C5 'into which specific numerical values are substituted may be displayed in the formula display column WW.
[0119]
As described above, in the fourth embodiment, when the user inputs a mathematical expression including an undefined variable, the
[0120]
Therefore, it is possible to draw a graph based on a mathematical expression including an undefined variable and change the display position of the graph based on the coordinate position specified by the user. Therefore, a graph can be drawn at a desired position imagined by the user.
[0121]
5. Fifth embodiment
Hereinafter, a fifth embodiment will be described.
In the fifth embodiment, a graph based on a mathematical expression input to a mathematical expression window FW is drawn in a graph window GW. When the condition of the undefined variable included in the mathematical expression input to the mathematical expression window FW is input to the condition data input box IA, the position of the graph drawn in the graph window GW is changed according to the condition. The control is performed.
[0122]
5.1 Internal configuration
The configuration of the
[0123]
FIG. 20 is a diagram showing a configuration of the
[0124]
FIG. 21 is a diagram showing a configuration of the
[0125]
The condition setting graph
[0126]
5.2 Operation
Next, an operation of the
FIG. 22 is a flowchart for explaining the operation of the
[0127]
In the condition setting graph drawing process shown in FIG. 22, first, the
[0128]
If the
[0129]
Next, the
[0130]
FIGS. 23A and 23B are diagrams showing transition examples of the display screen displayed on the
[0131]
Subsequently, when the condition of the undefined variable included in the formula displayed in the formula window FW is input in the condition data input field IA (step S509; YES), the input condition is set as the
[0132]
Next, the
[0133]
On the other hand, if the graph-type temporary
[0134]
FIGS. 23C and 23D are diagrams showing transition examples of the display screen displayed on the
When the above processing is performed, the
[0135]
As described above, in the fifth embodiment, when the user specifies a mathematical expression including an undefined variable and instructs to draw a graph based on the mathematical expression, the graph is drawn on the
[0136]
Therefore, not only can a graph based on a mathematical expression including an undefined variable be displayed, but also a graph can be displayed at a position exactly as specified by specifying a condition.
[0137]
6. Sixth embodiment
Hereinafter, the sixth embodiment will be described.
In the sixth embodiment, a graph based on a mathematical expression input to a mathematical expression window FW is drawn in a graph window GW. When data indicating the condition of the undefined variable included in the formula input to the formula window FW is input to the condition data input box IA, all values satisfying this condition are substituted for the undefined variable of the formula. . Then, by drawing all the obtained data in the graph window GW, control is performed to draw a graph having a predetermined line width.
[0138]
6.1 Internal configuration
The configuration of the
[0139]
FIG. 24 is a diagram showing a configuration of the
[0140]
FIG. 25 is a diagram showing the configuration of the
[0141]
The condition satisfaction graph full
[0142]
6.2 Operation
Next, the operation of the
FIG. 26 is a flowchart for explaining the operation of the
[0143]
In the condition satisfaction graph full rendering process shown in FIG. 26, first, the
[0144]
When a mathematical expression including an undefined variable is input in the condition data input field IA (step S603; YES), the
[0145]
Subsequently, the
[0146]
FIG. 27A is a diagram illustrating an example of a display screen displayed on the
[0147]
Next, when the condition specifying the range of the undefined variable included in the mathematical expression displayed in the mathematical expression window FW is input in the condition data input field IA (step S609: YES), the input condition is determined. The
[0148]
Next, the
[0149]
FIGS. 27B and 27C are diagrams showing transition examples of the display screen displayed on the
When the above processing is performed, the
[0150]
As described above, in the sixth embodiment, when the user specifies a mathematical expression including an undefined variable and inputs a graph drawing command, a graph based on the mathematical expression is displayed on the
[0151]
Therefore, not only can a graph be displayed by specifying a mathematical expression including an undefined variable, but also by inputting a value range of the undefined variable as a condition after the graph is drawn, a desired condition can be set. All graphs that satisfy (have a predetermined width) can be displayed.
[0152]
Note that, for example, when “A> −1” is input as the condition in FIG. 27B, the area where the y intercept of Expression C8 is larger than “−1” is filled (as an infinite width). Graph) is drawn.
[0153]
7. Seventh embodiment
Hereinafter, the seventh embodiment will be described.
In the seventh embodiment, a table of initial values, terminal values, step sizes, and the like input on a display range setting screen (hereinafter, referred to as a “table display range setting window TRW”) of a table of a calculation application is used. When undefined variables are included in the data for setting the display range (hereinafter referred to as “table display range setting data”), n (n is a positive integer) data from the initial value and the end value Calculate n data. The calculated data is displayed on a table display screen (hereinafter, referred to as a “table window TW”) of the calculation application, and control is performed to display an abbreviation symbol for an omitted part for which a value is not calculated. is there.
[0154]
7.1 Internal configuration
The configuration of the
[0155]
FIG. 28 is a diagram showing a configuration of the
[0156]
FIG. 29 is a diagram showing a configuration of the
[0157]
The table
[0158]
7.2 Operation
Next, the operation of the
FIG. 30 is a flowchart for explaining the operation of the
[0159]
In the table display process shown in FIG. 30, first, the
[0160]
When the
[0161]
On the other hand, if the
[0162]
Next, the
[0163]
FIGS. 31A and 31B show screen transitions until a table is displayed in the table display window TW based on the table display
[0164]
Although not shown, when a specific numerical value is set in the table display
When the above processing is executed, the
[0165]
As described above, in the seventh embodiment, when the user inputs the setting data of the display range of the table, even if the setting data includes an undefined variable, the table based on the setting data is displayed in the table window TW. Will be displayed.
[0166]
Therefore, even when a specific value is not set in the display range setting data of the table, the table can be displayed without error processing being performed by the
[0167]
8. Eighth embodiment
Hereinafter, an eighth embodiment will be described.
In the eighth embodiment, when data (initial value, terminal value, step size) for setting the display range of a table input in the table display range setting window TRW includes an undefined variable, n (n is a positive integer) data and n data are calculated from the terminal value. Then, the calculated data is displayed in the table window TW, and an abbreviation symbol is displayed for an omitted part for which a value has not been calculated. Further, when an instruction to display the omitted part is input, control is performed to calculate and display a general formula for calculating the value of the omitted part.
[0168]
8.1 Internal configuration
The configuration of the
[0169]
FIG. 32 is a diagram showing a configuration of the
[0170]
FIG. 33 is a diagram showing a configuration of the
[0171]
The table selection part
[0172]
8.2 Operation
Next, the operation of the
FIG. 34 is a flowchart for explaining the operation of the
[0173]
In the table selection portion display processing shown in FIG. 34, first, the
[0174]
When the
[0175]
FIG. 35A shows an example of a display screen displayed on the
[0176]
Next, the
[0177]
On the other hand, if the
[0178]
Next, the
[0179]
FIG. 35B is a diagram illustrating an example of a display screen displayed on the
[0180]
Subsequently, when the
[0181]
FIG. 35C is a diagram illustrating an example of a display screen displayed on the
[0182]
On the other hand, when the
[0183]
Subsequently, the
[0184]
As described above, in the eighth embodiment, when the user sets a numerical value or an undefined variable for the table display
[0185]
Therefore, even when undefined variables are included in the table display
[0186]
9. Ninth embodiment
Hereinafter, a ninth embodiment will be described.
In the ninth embodiment, an increase / decrease table is calculated based on the mathematical expression input in the mathematical expression window FW, and is displayed on a display screen for the increase / decrease table (hereinafter, referred to as “increase / decrease table window ATW”). When an undefined variable is included in a formula input in the formula window FW, the case of the value of the undefined variable is classified. Then, an increase / decrease table is calculated for each case. In addition, in accordance with a display switching instruction from the user, control is performed to switch and display the increase / decrease table for each case one by one in the increase / decrease table window ATW.
[0187]
9.1 Internal configuration
The configuration of the
[0188]
FIG. 36 is a diagram showing a configuration of the
[0189]
FIG. 37 is a diagram showing the configuration of the
[0190]
The increase / decrease table
[0191]
9.2 Operation
Next, the operation of the
FIG. 38 is a flowchart for explaining the operation of the
[0192]
In the increase / decrease table display process shown in FIG. 38, first, the
[0193]
Then, when the
[0194]
FIG. 39 is a diagram illustrating an example of a display screen displayed on the
[0195]
Next, the
[0196]
Here, when displaying the increase / decrease table of other cases, the user uses the
[0197]
FIGS. 40 (a), (b) and (c) show the case where an undefined variable is included in the mathematical expression input to the mathematical expression window FW, and the display switching unit is input in step S910. FIG. 10 is a diagram showing a transition example of a display screen displayed on 40. For example, as shown in FIG. 39, when the mathematical expression C11 “(X−2) (X + 1) (X−A)” including the undefined variable A is input into the mathematical expression window FW, the
[0198]
When the
[0199]
As described above, in the ninth embodiment, when the user inputs a mathematical expression and inputs a command instructing creation of an increase / decrease table, an increase / decrease table based on the expression is displayed on the
[0200]
Therefore, it is possible to display an increase / decrease table of a mathematical expression including an undefined variable on the
[0201]
The detailed configuration and detailed operation of the scientific
[0202]
【The invention's effect】
According to the first or twelfth aspect of the present invention, when an undefined variable is included in a coordinate range for displaying a graph, a temporary range is assigned to the undefined variable to set a coordinate range, and the graph is displayed. Can be displayed. That is, when a specific numerical value is not specified as the coordinate range, the graph can be displayed by specifying the coordinate range. Therefore, it is possible to support the user's thinking at the time of calculation and to improve the convenience of the electronic device having the graph display function.
[0203]
According to the second aspect of the present invention, when an undefined variable is included in a coordinate range for displaying a graph, the graph is displayed in a coordinate range in which a temporary value is assigned to the undefined variable, and then the graph is displayed. The coordinate value corresponding to the position of the trace pointer can be calculated and displayed.
[0204]
According to the third aspect of the present invention, when the same undefined variable is included in the coordinate range with the graph-based command, the value to be substituted for the undefined variable is reset as appropriate so that the graph fits in the coordinate range. Can be displayed.
[0205]
According to the fourth aspect of the present invention, when an undefined variable is included in a scale value, it is possible to display a scale by substituting a temporary value for the undefined variable.
[0206]
According to the invention as set forth in
[0207]
According to the invention as set forth in claim 6, when an undefined variable is included in a graph expression, a temporary value is assigned to the undefined variable, and the graph is displayed. The condition of the value that the undefined variable can take can be set accordingly.
[0208]
According to the invention described in
[0209]
According to the invention described in
[0210]
According to the invention described in claim 9 or 14, when an undefined variable is included in a table condition for creating a list table based on a mathematical expression, a character expression in which the undefined variable is substituted into the mathematical expression Can be created and displayed. That is, the list table can be displayed even if the table condition includes an undefined variable.
[0211]
According to the tenth aspect, when a table condition for creating a list table based on a mathematical expression includes an undefined variable, a character expression in which the undefined variable is substituted for the mathematical expression is used as an element. Can be created, and a part of the range of the created list table can be omitted and displayed. In addition, elements in the omitted range can be represented by a general formula. That is, even if an undefined variable is included in the table condition, it is possible to display the list table and to display the elements of the displayed portion with a part omitted.
[0212]
According to the invention of
[Brief description of the drawings]
FIG. 1 is a diagram showing an example of the appearance of a scientific calculator to which the present invention is applied.
FIG. 2 is a block diagram showing an internal configuration of the scientific calculator shown in FIG.
FIG. 3 is a diagram illustrating a configuration of a RAM according to the first embodiment.
FIG. 4 is a diagram illustrating a configuration of a ROM according to the first embodiment.
FIG. 5 is a flowchart illustrating the operation of the scientific calculator according to the first graph drawing process.
FIG. 6 is a diagram showing a transition example of a display screen displayed on a display unit in the operation shown in the flowchart of FIG.
FIG. 7 is a diagram illustrating a configuration of a RAM according to a second embodiment;
FIG. 8 is a diagram illustrating a configuration of a ROM according to a second embodiment.
FIG. 9 is a flowchart for explaining the operation of the scientific calculator according to the second graph drawing process.
10 is a diagram showing a transition example of a display screen displayed on a display unit in the operation shown in the flowchart of FIG.
FIG. 11 is a diagram illustrating a configuration of a RAM according to a third embodiment;
FIG. 12 is a diagram illustrating a configuration of a ROM according to a third embodiment.
FIG. 13 is a flowchart showing the operation of the scientific calculator according to the scale display process.
FIG. 14 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 15 is a diagram illustrating a configuration of a RAM according to a fourth embodiment;
FIG. 16 is a diagram illustrating a configuration of a ROM according to a fourth embodiment.
FIG. 17 is a flowchart showing the operation of the scientific calculator according to the graph display position designation processing.
18 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
19 is a diagram showing another display example of the display screen shown in FIG.
FIG. 20 is a diagram illustrating a configuration of a RAM according to a fifth embodiment.
FIG. 21 is a diagram illustrating a configuration of a ROM according to a fifth embodiment.
FIG. 22 is a flowchart showing the operation of the scientific calculator according to the condition setting graph drawing process.
23 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG. 22.
FIG. 24 is a diagram illustrating a configuration of a RAM according to a sixth embodiment;
FIG. 25 is a diagram illustrating a configuration of a ROM according to a sixth embodiment.
FIG. 26 is a flowchart showing the operation of the scientific calculator according to the condition satisfaction graph full drawing process.
FIG. 27 is a diagram showing a transition example of a display screen displayed on a display unit in the operation shown in the flowchart of FIG. 26;
FIG. 28 is a diagram illustrating a configuration of a RAM according to a seventh embodiment.
FIG. 29 is a diagram illustrating a configuration of a ROM according to a seventh embodiment.
FIG. 30 is a flowchart showing the operation of the scientific calculator according to the table display processing.
31 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG. 30.
FIG. 32 is a diagram illustrating a configuration of a RAM according to an eighth embodiment.
FIG. 33 is a diagram showing a configuration of a ROM according to the eighth embodiment.
FIG. 34 is a flowchart showing the operation of the scientific calculator according to the table selection portion display processing.
35 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG. 34.
FIG. 36 is a diagram illustrating a configuration of a RAM according to a ninth embodiment;
FIG. 37 is a diagram illustrating a configuration of a ROM according to a ninth embodiment;
FIG. 38 is a flowchart showing the operation of the scientific calculator according to the increase / decrease table display processing.
39 is a diagram showing an example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG. 38.
40 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG. 38.
[Explanation of symbols]
1 Scientific calculator
2 Display
3 key group
4 Input pen
10 CPU
20 Input section
30 tablets
31 Position detection circuit
40 Display
41 Display drive circuit
50, 250, 350, 450, 550, 650, 750, 850, 950 RAM
51 Display range setting data
51a Display range temporary substitution value data
51b Scale value temporary substitution value data
52 Graph data
52a Graphical data
52b Graph-type temporary substitution value data
53 Coordinate value data
54 Command data
54a Command temporary substitution value data
55 Formula data
56 Condition data
57 Table display range setting data
58 Table data
58a General formula data
59 Change table data
70, 270, 370, 470, 570, 670, 770, 870, 970 ROM
71 1st graph drawing processing program
271 Second Graph Drawing Processing Program
371 Scale display processing program
372 scale number default data
471 Graph display position specification processing program
571 Condition setting graph drawing processing program
671 Condition Satisfaction Graph All Drawing Processing Program
771 Table display processing program
871 Table selection part display processing program
971 change table display processing program
90 storage device
100 storage media
RW display range setting window
GW graph window
CW command window
FW formula window
WW type display field
IA condition data input field
TRW table display range setting window
TW table window
SH ellipsis
TD trace data display
ATW change table window
Claims (15)
この座標範囲入力手段により入力された座標範囲に未定義変数が含まれているか否かを判別する判別手段と、
この判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御手段と、
を備えることを特徴とするグラフ表示機能付き電子機器。Coordinate range input means for inputting a coordinate range for displaying a graph,
Determining means for determining whether an undefined variable is included in the coordinate range input by the coordinate range input means,
When the determination unit determines that the coordinate range includes an undefined variable, the control unit sets a provisional value to the undefined variable and displays a graph for the coordinate range in which the set provisional value is substituted. Graph display control means for performing
An electronic device with a graph display function, comprising:
前記判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、前記座標範囲中の前記トレースポインタの位置を前記未定義変数を用いて演算し、座標値として表示する制御を行う座標値表示制御手段と、
を備えることを特徴とする請求項1に記載の電子機器。Trace pointer display control means for controlling display of a trace pointer that moves in response to a movement operation on a graph whose display is controlled by the graph display control means;
When the discriminating means determines that the coordinate range includes an undefined variable, a control for calculating the position of the trace pointer in the coordinate range using the undefined variable and displaying the position as a coordinate value. Coordinate value display control means for performing
The electronic device according to claim 1, further comprising:
このコマンド入力手段により入力されたグラフ系コマンド、及び前記座標範囲入力手段により入力された座標範囲に同一の未定義変数が含まれているか否かを判別する第2判別手段と、
を更に備え、
前記グラフ表示制御手段は、前記コマンド入力手段により入力されたグラフ系コマンドによって特定されたグラフ式のグラフを表示する制御を行う手段であって、前記第2判別手段により同一の未定義変数が含まれていると判別された場合に、当該グラフ式のグラフが、前記仮値を代入した座標範囲に収まるか否かを所定の収容条件に基づいて判定して、収まっていないと判定されたときに前記収容条件を満たす様に仮値を再設定して当該グラフ式のグラフを表示する制御を行う手段を有する、ことを特徴とする請求項1又は2に記載の電子機器。Command input means for inputting a graph command for uniquely specifying a graph expression,
A second determination unit that determines whether the same undefined variable is included in the graph-based command input by the command input unit and the coordinate range input by the coordinate range input unit;
Further comprising
The graph display control means is means for performing control for displaying a graph of a graph type specified by a graph command input by the command input means, and includes the same undefined variable by the second determination means. When it is determined that the tentative value has been substituted, it is determined based on predetermined accommodation conditions whether or not the graph of the graph formula falls within the coordinate range into which the temporary value has been substituted, and when it is determined that the graph does not fit. 3. The electronic apparatus according to claim 1, further comprising: means for resetting a provisional value so as to satisfy the accommodation condition and performing control for displaying the graph of the graph.
このスケール値入力手段により入力されたスケール値に未定義変数が含まれているか否かを判別する第3判別手段と、
この第3判別手段により前記スケール値に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入したスケール値でスケールを表示する制御を行うスケール表示制御手段と、
を備えることを特徴とする請求項1〜3の何れか一項に記載の電子機器。Scale value input means for inputting a scale value representing a value of one unit of the scale;
Third determining means for determining whether an undefined variable is included in the scale value input by the scale value input means,
When it is determined by the third determination means that the scale value includes an undefined variable, a temporary value is set for the undefined variable, and the scale is displayed with the scale value obtained by substituting the set temporary value. Scale display control means for performing control to perform
The electronic device according to claim 1, further comprising:
前記未定義変数に仮値を設定して、設定した仮値を代入した前記グラフ式のグラフを表示する制御を行う表示制御手段と、
所定の操作入力により前記未定義変数の取り得る値の条件を設定する条件設定手段と、
この条件設定手段により設定された条件を満足する値を演算して、前記未定義変数に新たな値を再設定し、この再設定した値を代入することで前記グラフ式のグラフを新たなグラフに更新表示する制御を行う更新表示制御手段と、
を備えることを特徴とする電子機器。An electronic device with a graph display function that performs control to display a graph of a graph expression including an undefined variable,
Display control means for setting a provisional value to the undefined variable, and performing control to display a graph of the graph formula in which the set provisional value is substituted.
Condition setting means for setting a condition of a possible value of the undefined variable by a predetermined operation input;
By calculating a value that satisfies the condition set by the condition setting means, resetting a new value to the undefined variable, and substituting the reset value, the graph of the graph formula is replaced with a new graph. Update display control means for controlling the update display on
An electronic device comprising:
この数式入力手段により入力された数式のリストテーブルを作成するためのテーブル条件を入力するテーブル条件入力手段と、
このテーブル条件入力手段により入力されたテーブル条件に未定義変数が含まれているか否かを判別する判別手段と、
この判別手段により前記テーブル条件に未定義変数が含まれていると判別された場合に、前記リストテーブルの要素を、当該未定義変数を前記数式に代入した文字式としてリストテーブルを作成して表示する制御を行うリストテーブル表示制御手段と、
を備えることを特徴とする電子機器。Formula input means for inputting a formula,
Table condition input means for inputting a table condition for creating a list table of formulas input by the formula input means,
Determining means for determining whether an undefined variable is included in the table condition input by the table condition input means,
When the determination unit determines that the table condition includes an undefined variable, a list table is created and displayed as a character expression obtained by substituting the undefined variable into the mathematical expression. List table display control means for controlling
An electronic device comprising:
前記リストテーブル表示制御手段は、前記範囲入力手段により入力されたリストテーブルの範囲の一部を省略してリストテーブルを表示する場合に、省略標識を表示する制御を行う省略標識表示制御手段を有するとともに、
前記リストテーブル表示制御手段により表示制御されたリストテーブル上を、移動操作に応じて移動して当該リストテーブルの要素を指示するカーソルを表示する制御を行うカーソル表示制御手段と、
前記カーソルが前記省略標識上に位置した場合に、前記数式入力手段により入力された数式を一般式化して表示する制御を行う一般式化表示制御手段と、
を更に備えることを特徴とする請求項9に記載の電子機器。The table condition input means has a range input means for inputting a range of a list table to be created,
The list table display control means includes an abbreviated sign display control means for performing control to display an abbreviated sign when the list table is displayed by omitting a part of the range of the list table input by the range input means. With
Cursor display control means for performing control to move on the list table display-controlled by the list table display control means in accordance with a moving operation and to display a cursor indicating an element of the list table,
When the cursor is positioned on the abbreviated sign, generalized display control means for performing control to generalize and display the mathematical expression input by the mathematical expression input means,
The electronic device according to claim 9, further comprising:
この数式入力手段により入力された数式に未定義変数が含まれるか否かを判別する判別手段と、
この判別手段により前記数式に未定義変数が含まれると判別された場合に、当該未定義変数が取り得る極点及び変曲点の種類に応じて、前記数式の増減表を作成する増減表作成手段と、
この増減表作成手段により作成された各増減表を表示する制御を行う増減表表示制御手段と、
を備えることを特徴とする電子機器。Formula input means for inputting a formula,
Determining means for determining whether or not an undefined variable is included in the mathematical expression input by the mathematical expression input means;
An increase / decrease table creating means for creating an increase / decrease table for the mathematical expression according to the types of poles and inflection points that the undefined variable can take when the mathematical expression includes an undefined variable; When,
Increase / decrease table display control means for controlling to display each increase / decrease table created by the increase / decrease table creation means;
An electronic device comprising:
グラフを表示するための座標範囲を入力する座標範囲入力機能と、
この座標範囲入力機能により入力された座標範囲に未定義変数が含まれているか否かを判別する判別機能と、
この判別機能により前記座標範囲に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御機能と、
を実現させるためのプログラム。On the computer,
A coordinate range input function for inputting a coordinate range for displaying a graph,
A determination function of determining whether or not an undefined variable is included in the coordinate range input by the coordinate range input function;
When it is determined that the undefined variable is included in the coordinate range by the determination function, a provisional value is set to the undefined variable, and a graph is displayed for the coordinate range in which the set provisional value is substituted. Graph display control function to perform
The program to realize.
数式に含まれた未定義変数に仮値を設定して、設定した仮値を代入した当該数式のグラフを表示する制御を行う表示制御機能と、
所定の操作入力により前記未定義変数の取り得る値の条件を設定する条件設定機能と、
この条件設定機能により設定された条件を満足する値を演算して、前記未定義変数に新たな値を再設定し、この再設定した値を代入することで前記数式のグラフを新たなグラフに更新表示する制御を行う更新表示制御機能と、
を実現させるためのプログラム。On the computer,
A display control function of setting a provisional value to an undefined variable included in the formula and performing control to display a graph of the formula in which the set provisional value is substituted;
A condition setting function for setting a condition of a possible value of the undefined variable by a predetermined operation input;
By calculating a value that satisfies the condition set by this condition setting function, resetting a new value to the undefined variable, and substituting the reset value, the graph of the mathematical formula is converted to a new graph. An update display control function for controlling the update display;
The program to realize.
数式を入力する数式入力機能と、
この数式入力機能により入力された数式のリストテーブルを作成するためのテーブル条件を入力するテーブル条件入力機能と、
このテーブル条件入力機能により入力されたテーブル条件に未定義変数が含まれているか否かを判別する判別機能と、
この判別機能により前記テーブル条件に未定義変数が含まれていると判別された場合に、前記リストテーブルの要素を、当該未定義変数を前記数式に代入した文字式としてリストテーブルを作成して表示する制御を行うリストテーブル表示制御機能と、
を実現させるためのプログラム。On the computer,
A formula input function for inputting formulas,
A table condition input function for inputting a table condition for creating a list table of formulas input by the formula input function,
A determination function for determining whether an undefined variable is included in the table condition input by the table condition input function,
When it is determined by the determination function that the table condition includes an undefined variable, a list table is created and displayed as a character expression obtained by substituting the undefined variable into the mathematical expression. List table display control function to control
The program to realize.
数式を入力する数式入力機能と、
この数式入力機能により入力された数式に未定義変数が含まれるか否かを判別する判別機能と、
この判別機能により前記数式に未定義変数が含まれると判別された場合に、当該未定義変数が取り得る極点及び変曲点の種類に応じて、前記数式の増減表を作成する増減表作成機能と、
この増減表作成機能により作成された各増減表を表示する制御を行う増減表表示制御機能と、
を実現させるためのプログラム。On the computer,
A formula input function for inputting formulas,
A determination function for determining whether or not an undefined variable is included in a formula input by the formula input function;
An increase / decrease table creation function for creating an increase / decrease table for the mathematical expression according to the types of poles and inflection points that can be taken by the undefined variable when it is determined by the determination function that the mathematical expression includes an undefined variable. When,
An increase / decrease table display control function for controlling to display each increase / decrease table created by the increase / decrease table creation function;
The program to realize.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002379156A JP3972815B2 (en) | 2002-12-27 | 2002-12-27 | Electronic device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002379156A JP3972815B2 (en) | 2002-12-27 | 2002-12-27 | Electronic device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004213139A true JP2004213139A (en) | 2004-07-29 |
JP3972815B2 JP3972815B2 (en) | 2007-09-05 |
Family
ID=32815738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002379156A Expired - Fee Related JP3972815B2 (en) | 2002-12-27 | 2002-12-27 | Electronic device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3972815B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008537234A (en) * | 2005-04-15 | 2008-09-11 | マイクロソフト コーポレーション | Representation of simultaneity symbols and numbers |
-
2002
- 2002-12-27 JP JP2002379156A patent/JP3972815B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008537234A (en) * | 2005-04-15 | 2008-09-11 | マイクロソフト コーポレーション | Representation of simultaneity symbols and numbers |
Also Published As
Publication number | Publication date |
---|---|
JP3972815B2 (en) | 2007-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2010200876B2 (en) | Electronic computer and method of controlling the same | |
US7289120B2 (en) | Graphic display control apparatus and program | |
EP2237230B1 (en) | Graph display control apparatus and graph display control method | |
US4794554A (en) | Electronic calculator having a graph display function | |
AU2011200709B2 (en) | Graph display apparatus, recording medium on which program is recorded, and graph display method | |
JP2008276741A (en) | Function calculator and control program therefor | |
JP3485406B2 (en) | Function calculator with graph function | |
US20090058858A1 (en) | Electronic apparatus having graph display function | |
JP3972815B2 (en) | Electronic device and program | |
JP4174893B2 (en) | Graph display control device and storage medium | |
JP4811177B2 (en) | Graph display device and graph display processing program | |
JP4244434B2 (en) | Inequality processing apparatus and storage medium | |
JP2005071147A (en) | Graph display controller and program | |
JP3663697B2 (en) | Graph display device and graph display control method | |
JP5692317B2 (en) | Calculation apparatus and calculation program | |
JP2001350463A (en) | Control device for displaying graph, md storage medium therefor | |
JP7420164B2 (en) | Graphic display device, graphic display method and program | |
JP2001092789A (en) | Calculating device and storage medium | |
JP4325591B2 (en) | Graph display device and graph display processing program | |
JP2004126759A (en) | Figure display control device and program | |
JP2004206577A (en) | Graphic display controller and program | |
JP3680399B2 (en) | Graph display device | |
JP2001357021A (en) | Graph display controller and storage medium | |
JP2000132516A (en) | Calculation device and storage medium | |
JP2000200339A (en) | Set figure display controller and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050831 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061201 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061212 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070123 |
|
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: 20070522 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070604 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 3972815 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100622 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110622 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110622 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120622 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120622 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130622 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |