JP2004213139A - Electronic device and program - Google Patents

Electronic device and program Download PDF

Info

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
Application number
JP2002379156A
Other languages
Japanese (ja)
Other versions
JP3972815B2 (en
Inventor
Tomohiro Sudo
智浩 須藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2002379156A priority Critical patent/JP3972815B2/en
Publication of JP2004213139A publication Critical patent/JP2004213139A/en
Application granted granted Critical
Publication of JP3972815B2 publication Critical patent/JP3972815B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable plotting of data including an undefined variable to improve convenience, in an electronic device having a graph display function. <P>SOLUTION: A user sets a value of display range setting data on a display range, a scale or the like, inputs a numerical formula, and inputs a command for directing drawing of a graph, a table, an increase/decrease table or the like. When a CPU 10 decides that the display range setting data or the numerical formula inputted by the user includes the undefined variable, the CPU 10 calculates a value temporarily substituted for the undefined variable. The CPU 10 substitutes the calculated value for the display range setting data or the numerical formula, calculates graph data, table data or increase/decrease table data, and displays the graph, the table, the increase/decrease table or the like on a display part 40. <P>COPYRIGHT: (C)2004,JPO&NCIPI

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 claim 1 is
A coordinate range input means (for example, an input unit 20 shown in FIG. 2) for inputting a coordinate range for displaying a graph;
Determining means (for example, CPU 10 shown in FIG. 2; step S105 shown in FIG. 5) for determining whether or not 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 temporary value to the undefined variable and displays a graph for the coordinate range in which the set temporary value is substituted. (For example, CPU 10 shown in FIG. 2; step S112 shown in FIG. 5)
It is characterized by having.
[0010]
The program according to claim 12,
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 CPU 10 shown in FIG. 2; steps S114 to S117 shown in FIG. 5)
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, CPU 10 shown in FIG. 2; step S114 shown in FIG. 5)
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 claim 3, in the electronic device according to claim 1 or 2,
Command input means (for example, an input unit 20 shown in FIG. 2) for inputting a graph-based command for uniquely specifying a graph expression;
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. CPU 10 shown; step SS210 shown in FIG. 9);
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, CPU 10 shown in FIG. 2; steps S211 to S216 shown in FIG. 9). May be.
[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 claim 4, in the electronic device according to any one of claims 1 to 3,
Scale value input means (for example, an input unit 20 shown in FIG. 2) for inputting a scale value representing a value of one unit of the scale;
Third determining means (for example, CPU 10 shown in FIG. 2; step S305 shown in FIG. 13) for determining whether or not an undefined variable is included in the scale value input by the scale value input means;
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, CPU 10 shown in FIG. 2; step S308 shown in FIG. 13)
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 claim 5,
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, CPU 10 shown in FIG. 2; steps S406 to S408 shown in FIG. 17) for setting a temporary value to the undefined variable and performing control for displaying a graph of the graph formula in which the set temporary value is substituted. )When,
Condition setting means (for example, CPU 10 shown in FIG. 2; step S410 shown in FIG. 17) for setting conditions of possible values of the undefined variables 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 example, CPU 10 shown in FIG. 2; steps S410 to S413 shown in FIG. 17) for performing update display control;
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 claim 5 or 13, when a graph expression includes an undefined variable, a temporary value is assigned to the undefined variable, a graph is displayed, and a condition is set. The graph can be updated and displayed.
[0021]
Further, as in the invention according to claim 6, in the electronic device according to claim 5,
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 CPU 10 shown in FIG. 2; step S410 shown in FIG. 17).
[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 claim 7, in the electronic device according to claim 5,
The condition setting means is configured to include an operation input means (for example, CPU 10 shown in FIG. 2; steps S509 and S510 shown in FIG. 22) for setting a condition of a possible value of the undefined variable by an operation input. Is also good.
[0024]
According to the invention described in claim 7, it is possible to set the condition of a value that can be taken by the undefined variable by the operation input means.
[0025]
Further, as in the invention according to claim 8, in the electronic device according to claim 5 or 7,
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 (CPU 10 shown in FIG. 2; step S612 shown in FIG. 26).
[0026]
According to the invention described in claim 8, it is possible to set a graph condition and display a graph having a line width representing all the graphs satisfying the set condition.
[0027]
The electronic device according to claim 9,
Formula input means (for example, input unit 20 shown in FIG. 2) for inputting a formula,
A table condition input unit (for example, the input unit 20 shown in FIG. 2) for inputting a table condition for creating a list table of the mathematical expression input by the mathematical expression input unit;
Determining means (for example, CPU 10 shown in FIG. 2; step S705 shown in FIG. 30) 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 example, CPU 10 shown in FIG. 2; step S710 shown in FIG. 30)
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 claim 10, in the electronic device according to claim 9,
The table condition input means has a range input means (for example, the input unit 20 shown in FIG. 2) for inputting a range of the list table to be created,
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, CPU 10 shown in FIG. 2; step S810 shown in FIG. 34).
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. CPU 10; steps S813 and S815 shown in FIG. 34);
When the cursor is positioned on the abbreviated sign, the general expression display control means (for example, CPU 10 shown in FIG. 2: Steps S814 and S816),
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 claim 11,
Formula input means (for example, input unit 20 shown in FIG. 2) for inputting a formula,
Determining means (for example, CPU 10 shown in FIG. 2; step S905 shown in FIG. 38) for determining whether 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 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 CPU 10 shown in FIG. 2; step S907 shown in FIG. 38);
Increase / decrease table display control means (for example, CPU 10 shown in FIG. 2; steps S909 and S911 shown in FIG. 38) for controlling to display each increase / decrease table created by this increase / decrease table creation means;
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 claim 11 or 15, when an undefined variable is included in a mathematical expression, an increase / decrease table is created and displayed according to the types of poles and inflection points that can be taken by the undefined variable. Can be. That is, it is possible to create and display an increase / decrease table based on a mathematical expression including an undefined variable.
[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 scientific calculator 1 includes a display 2, a key group 3, and an input pen 4. The keys constituting the key group 3 are assigned unique functions, and the user operates the scientific calculator 1 by pressing these keys. In addition, a tablet (touch panel) 30 described later is integrally provided on the display 2, and the user can operate the scientific calculator 1 by a touch operation on the display 2 using the input pen 4. .
[0037]
In addition, the scientific calculator 1 includes, for example, a calculation application program (hereinafter, appropriately referred to as “calculation application”) for realizing a calculation function for calculating a calculation formula, a table, a list, and the like, and a graph for realizing a graph drawing function. An application program (hereinafter, appropriately referred to as a “graph application”) and the like are installed.
Hereinafter, with reference to the drawings, first to ninth embodiments of the scientific calculator 1 will be described.
[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 key group 3 or the like by the user, a temporary value is substituted for the undefined variable. Thereby, the display range of the graph display screen (hereinafter, referred to as “graph window GW”) of the graph application is set, and the graph is drawn. Further, when a trace execution instruction is input, control is performed to display a trace pointer on a graph and to display coordinates of a trace position.
[0039]
1.1 Internal configuration
FIG. 2 is a block diagram illustrating an example of the internal configuration of the scientific calculator 1 according to the first embodiment. As shown in FIG. 1, the scientific calculator 1 includes a CPU 10, an input unit 20, a tablet 30, a position detection circuit 31, a display unit 40, a display drive circuit 41, a RAM 50, a ROM 70, a storage device 90, and a storage medium 100. You.
[0040]
The CPU 10 executes a process based on a predetermined program according to the input instruction, performs an instruction to each functional unit, transfers data, and the like, and controls the scientific electronic calculator 1 as a whole. Specifically, the CPU 10 reads a program stored in the ROM 70 in response to an operation signal input from the input unit 20 or the tablet 30, and executes processing according to the program. Then, the processing result is stored in the RAM 50, and a display signal for displaying the processing result is appropriately output to the display drive circuit 41, and the corresponding display information is displayed on the display unit 40.
[0041]
The input unit 20 is an input device provided with keys necessary for inputting numerical values, mathematical expressions, etc., selecting functions, and the like, and outputs to the CPU 10 a pressing signal of a pressed key and the like. Key inputs on the input unit 20 include, for example, an instruction to start various applications, execution of graphic drawing processing, input of mathematical expressions, execution of arithmetic processing, termination of processing and release of mode, pointer operation, various selection operations, and the selection operation Input means, such as an instruction for confirming the setting. The input unit 20 corresponds to the key group 3 shown in FIG.
[0042]
In addition, the scientific calculator 1 includes a tablet 30 as a touch panel as an input device. The tablet 30 is an input device in which a device such as an indicating pen (corresponding to the input pen 4 shown in FIG. 1) for indicating a position on the display unit 40 and a device for sensing the position of the indicated display unit 40 are combined. It is. The position detection circuit 31 connected to the tablet 30 detects the position coordinates specified by the tablet 30. If the tablet 30 is used, the position on the display unit 40 can be specified in detail, and the input means in the input unit 20 can be realized by the touch operation of the display unit 40 using the tablet 30.
[0043]
The display drive circuit 41 controls the display unit 40 based on a display signal input from the CPU 10 to display various screens. The display unit 40 includes an LCD (Liquid Crystal Display), an ELD (Electro Luminescent Display), or the like, and displays, for example, a display screen shown in FIG. The display unit 40 corresponds to the display 2 in FIG. 1 and is formed integrally with the tablet 30.
[0044]
The RAM 50 includes a storage area (memory) for temporarily storing various processing programs executed by the CPU 10 and data related to the execution of these programs. FIG. 3 is a diagram illustrating a configuration of the RAM 50 according to the present embodiment.
[0045]
According to the figure, the RAM 50 stores the display range setting data 51 for specifying the display range input in the display range setting window RW, and when the display range setting data 51 includes an undefined variable, The display range provisionally substituted value data 51a, which is a value temporarily calculated as a value to be substituted, the graph data 52, which is dot data of a graph rendered in the graph window GW, and graph-type data for rendering a graph (graph-type data) Data) 52a, graph formula temporary substitution value data 52b that is a value calculated as a value temporarily substituted for the undefined variable when the graph formula data 52a includes an undefined variable, and coordinate data of the trace position on the graph And an area for storing each data of the coordinate value data 53.
[0046]
FIG. 4 is a diagram showing the configuration of the ROM 70. According to the figure, the ROM 70 stores an initial program for performing various initial settings, hardware inspection, and loading necessary programs. The CPU 10 sets the operating environment of the scientific calculator 1 by executing the initial program when the power of the scientific calculator 1 is turned on.
[0047]
The ROM 70 also stores various application programs such as a calculation application and a graph application, various processing programs related to the operation of the scientific calculator 1 such as various setting processes and various arithmetic processes, and various functions provided in the scientific calculator 1. Stores programs and data. In particular, in the present embodiment, a first graph drawing processing program 71 is stored.
[0048]
The first graph drawing processing program 71 is a program for realizing the first graph drawing processing (see FIG. 5). The first graph drawing processing is realized by the CPU 10 executing the first graph drawing processing program 71.
[0049]
The storage device 90 has a storage medium 100 that stores programs, data, and the like. The storage medium 100 is configured by a magnetic, optical storage medium, or a semiconductor memory. The storage medium 90 is fixedly provided or detachably mounted. The storage medium 100 includes various processing programs corresponding to the scientific electronic calculator 1 and data processed based on the various processing programs. Is stored.
[0050]
The program, data, and the like stored in the storage medium 100 may be configured to be received from another device connected via a communication line (not shown) and stored. Further, the storage medium 100 and the storage device 90 may be used by transferring a program or data from another device via a communication line.
[0051]
1.2 Operation
Next, the operation of the scientific calculator 1 according to the first embodiment will be described.
FIG. 5 is a flowchart for explaining the operation of the scientific calculator 1 relating to the first graph drawing process, and FIG. 6 shows a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0052]
In the first graph drawing process shown in FIG. 5, first, after switching the graph mode from OFF to ON (step S101), the CPU 10 starts executing the graph application and causes the display unit 40 to display the display range setting window RW. (Step S102). Then, the user inputs a numerical value or an undefined variable for setting the display range of the graph at the cursor position of the display range setting window RW by using, for example, the key group 3. Then, the CPU 10 detects that data specifying the display range has been input (Step S103; YES), and stores the input data in the RAM 50 as the display range setting data 51 (Step S104).
[0053]
FIGS. 6A and 6B are diagrams illustrating an example of a display screen displayed on the display unit 40 at this stage. In the display range setting window RW shown in FIG. 6A, the user can input a minimum X coordinate “Xmin”, a maximum X coordinate “Xmax”, a minimum Y coordinate “Ymin”, and a maximum Y coordinate “ Ymax "is set. FIG. 6B shows an example in which the user sets undefined variables to these values. In FIG. 6B, each value of the display range is represented by characters (undefined variables) such as “Xmin: −A”, “Xmax: A”, “Ymin: −B”, and “Ymax: B”. Is specified.
[0054]
Next, when the CPU 10 determines that the display range setting data 51 includes an undefined variable (step S105; YES), the CPU 10 calculates a value to be temporarily assigned to the undefined variable, and assigns the calculated value to the display range temporary assignment. It is stored in the RAM 50 as the value data 51a (step S106). On the other hand, if the CPU 10 determines that the display range setting data 51 does not include an undefined variable (step S105; NO), the process proceeds to step S107.
[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 display unit 40, or the default value may be stored in the ROM 70. The value may be stored in advance and calculated based on this value.
[0056]
Next, when the user inputs a graph expression and a graph drawing instruction from the key group 3 or the like, the CPU 10 detects the input (step S107; YES), and the input graph expression includes an undefined variable. It is determined whether or not this is the case (step S108). When the CPU 10 determines that the undefined variable is included in the graph expression (step S108; YES), the CPU 10 calculates the value of the undefined variable to be temporarily substituted into the graph expression, and uses the calculated value as the graph-type temporary substitution value data 52b. Is stored in the RAM 50 (step S109).
[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 ROM 70 in advance, and the intercept may be used by calculating a value through which the graph passes.
[0058]
Subsequently, the CPU 10 calculates the graph data of the graph (step S110), and stores the graph data 52 and the graph data 52a in the RAM 50 (step S111). Next, the CPU 10 displays the graph window GW on the display unit 40 based on the display range setting data 51, and draws a graph (step S112).
[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 display unit 40, and the display range of the graph window GW is set according to the setting input by the user at the stage shown in FIG. That is, a display range of “−A” to “A” in the X-axis direction and a display range of “−B” to “B” in the Y-axis direction are displayed in the graph window GW, and the graph G1 is displayed therein. .
[0060]
Next, the CPU 10 determines whether or not the trace button TRB provided in the graph window GW has been selected and a trace execution instruction has been input (step S113). When determining that the instruction for tracing has not been input (step S113; NO), the CPU 10 terminates the first graph drawing process. On the other hand, when determining that the instruction for tracing has been input (step S113; YES), the CPU 10 performs the following processing.
[0061]
The CPU 10 determines the destination of the trace pointer based on the values stored in the display range temporary substitution value data 51a, the graph type data 52a, and the graph type temporary substitution value data 52b, and the relative position of the trace pointer with respect to the display screen. The position coordinates are calculated (step S114). At this time, when the display range setting data 51 and the graph data 52 include an undefined variable, the CPU 10 assigns a certain value to the undefined variable. Therefore, a calculation is performed to return the coordinate value determined by this value to the undefined variable, and the coordinate position of the destination of the trace pointer is calculated as a coordinate value including the undefined variable.
[0062]
Next, the CPU 10 stores the calculated destination position of the trace pointer as the coordinate value data 53 in the RAM 50 (step S115). Further, the trace pointer H1 is displayed at the trace position on the graph (step S116), and the coordinates of the trace position are displayed in the graph window GW (step S117).
[0063]
FIG. 6D shows an example of the display screen of the display unit 40 at this stage. According to the figure, the graph of the formula C1 “Y2 = 1nX” is drawn in the graph window GW, and the coordinate value “X = A / 5, Y = Ln (A / 5)” of the position of the trace pointer H1. Is displayed. In the example shown in FIG. 6, since the display range setting data 51 includes the undefined variables (A, B), the coordinate values shown at the time of tracing are represented including the undefined variables.
[0064]
Then, the CPU 10 repeats the processing of steps S114 to S117 until the user completes the operation of moving the trace pointer (step S118; YES). When the operation of moving is completed (step S118; NO), the first graph drawing processing is performed. To end.
[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 scientific calculator 1 according to the second embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 is replaced with the RAM 250 and the ROM 70 is replaced with the ROM 270 in the first embodiment. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0069]
FIG. 7 is a diagram showing the configuration of the RAM 250. According to the figure, the RAM 250 stores the display range setting data 51 and the display range temporary substitution, which is a value calculated as a value temporarily substituted for the undefined variable when the display range setting data 51 includes an undefined variable. Value data 51a, graph data 52, graph type data (graph type data) 52a for drawing a graph, and a graph application screen for inputting a graph drawing command (hereinafter, referred to as "command data CW"). A storage area is provided for each of command data 54 to be executed and command temporary assignment value data 54a which is a value calculated as a value temporarily assigned to the undefined variable when the command data 54 includes an undefined variable. .
[0070]
FIG. 8 is a diagram showing a configuration of the ROM 270. According to the figure, the ROM 270 stores a second graph drawing processing program 271.
[0071]
The second graph drawing processing program 271 is a program for realizing the second graph drawing processing (see FIG. 9). When the CPU 10 executes the second graph drawing processing program 271, the second graph drawing processing is realized.
[0072]
2.2 Operation
Next, an operation of the scientific calculator 1 according to the second embodiment will be described.
FIG. 9 is a flowchart for explaining the operation of the scientific calculator 1 according to the second graph drawing process. FIG. 10 shows a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0073]
In the second graph drawing process shown in FIG. 9, first, the CPU 10 switches the graph mode from OFF to ON (step S201), starts execution of the graph application, and displays the display range setting window RW on the display unit 40. (Step S202). Then, the user inputs a numerical value or an undefined variable for setting the display range of the graph at the cursor position of the display range setting window RW by using, for example, the key group 3. Then, the CPU 10 detects that data specifying the display range has been input (Step S203; YES), and stores the input data as the display range setting data 51 in the RAM 250 (Step S204).
[0074]
FIG. 10A is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. In the display range setting window RW shown in FIG. 10A, the user can input a minimum X coordinate “Xmin”, a maximum X coordinate “Xmax”, a minimum Y coordinate “Ymin”, and a maximum Y coordinate “ Ymax "is set. When the user sets undefined variables to these values, as shown in the figure, for example, characters such as “Xmin: −A”, “Xmax: A”, “Ymin: −B”, and “Ymax: B” (Undefined variable) specifies the value.
[0075]
Next, when the CPU 10 determines that the display range setting data 51 includes an undefined variable (step S205; YES), the CPU 10 calculates a value to be temporarily assigned to the undefined variable, and assigns the calculated value to the display range temporary assignment. It is stored in the RAM 250 as the value data 51a (step S206). On the other hand, when determining that the display range setting data 51 does not include the undefined variable (step S205; NO), the CPU 10 shifts to step S207.
[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 display unit 40, and may be used. A default value may be stored in the ROM 270 or the like in advance, and a value calculated based on this value may be used.
[0077]
Next, the CPU 10 causes the display unit 40 to display the command window CW (Step S207). The user inputs command data for drawing a graph from the key group 3 or the like. Then, the CPU 10 detects that the command data has been input (Step S208; YES), and stores it as the command data 54 in the RAM 250 (Step S209).
[0078]
FIG. 10B is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, in the command window CW, a command for drawing a straight line from the coordinates (A, 5) to the coordinates (-B, B) is input.
[0079]
Next, the CPU 10 determines whether or not the same undefined variable as the undefined variable used for setting the display range setting data is included in the command data 54 (step S210). When determining that the same undefined variable is included in the command data 54 (step S210; YES), the CPU 10 determines whether or not the display range temporary substitution value data 51a is inappropriate for the command data 54. (Step S211). If the CPU 10 determines that the display range temporary substitution value data 51a is inappropriate (step S211; YES), the CPU 10 recalculates and updates the display range temporary substitution value data 51a (step S212).
[0080]
Here, a method of determining whether or not the display range temporary substitution value data 51a is inappropriate in step S211 will be specifically described. For example, assume that the display range in the X-axis direction is set to “−A to A” in step S204, and that a point is designated to be drawn at the position of the X coordinate “3” in step S209. At this time, if the display range temporary substitution value data 51a temporarily substituted for “A” is “0” or more and less than “3”, the designated point is drawn in the display range set on the display unit 40. Can not do it. As described above, when the graph instructed by the command data 54 cannot be drawn in the display range, it is determined that the graph is inappropriate.
[0081]
Next, the CPU 10 determines whether or not other undefined variables (other than the undefined variables included in the display range setting data 51) are included in the command data 54 (Step S213). If the CPU 10 determines that other undefined variables are included in the command data 54 (step S213; YES), the CPU 10 calculates a value to be temporarily assigned to the undefined variable, and uses the calculated value as the command temporary assignment value data 54a. Is stored in the RAM 250 (step S215).
[0082]
In the above-described step S215, a value that enables a graph based on the command data 54 to be displayed in the display range set by the display range setting data 51 is set as the command temporary substitution value. For example, when the graph indicated by the command data 54 is a quadratic function or a cubic function, the singular points such as the maximum value and the minimum value of the function fall within the display range set in steps S204 to S206. Such a value may be calculated and used. In the case of a linear function, default y-intercept and x-intercept data may be stored in the ROM 270 in advance, and a value that allows the graph to pass this intercept may be used.
[0083]
Next, the CPU 10 calculates the graph data 52 of the graph instructed to be drawn by the command data 54, and stores the graph data 52 and its graph formula data 52a in the RAM 250 (step S215). Then, the graph window GW is displayed on the display unit 40 based on the display range setting data 51, and a graph is drawn (step S216).
[0084]
FIG. 10C is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, in the graph window GW, drawing is instructed by a command for drawing a straight line from the coordinates (A, 5) to the coordinates (-B, B), which is input in the command window CW of FIG. The graph G2 is displayed within the display range.
When the above processing is executed, the CPU 10 ends the second graph drawing processing.
[0085]
As described above, in the second embodiment, even when the user specifies an undefined variable in the display range setting data or the command data 54, a desired graph is displayed in the graph window GW. Further, the value temporarily assigned to the undefined variable in the display range is automatically changed according to the command data 54, and the graph is automatically adjusted and displayed so as to fit within the display screen.
[0086]
Therefore, even when an undefined variable or a numerical value is specified in the display range of the graph or the command data 54, the scientific calculator 1 can display and draw the graph. Therefore, when the display range and the specific numerical values to be substituted into the command data 54 are not determined, the graph instructed to be drawn by the command data 54 is reliably displayed within the display range, which is convenient.
[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 scientific calculator 1 according to the third embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 is replaced with the RAM 350 and the ROM 70 is replaced with the ROM 370 in the first embodiment. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0089]
FIG. 11 is a diagram showing a configuration of the RAM 350. According to the figure, when the display range setting data 51 and the value for setting the display range of the display range setting data 51 include an undefined variable, the RAM 350 is a display that is a value temporarily assigned to the undefined variable. When the undefined variable is included in the value for setting the scale value of the range provisionally substituted value data 51a and the display range setting data 51, the scale value provisionally substituted value data 51b which is a value provisionally substituted for the undefined variable, a graph A data storage area for data 52 and graph formula data 52a for drawing a graph is provided.
[0090]
FIG. 12 is a diagram showing a configuration of the ROM 370. According to the figure, the ROM 370 stores a scale display processing program 371 and default scale number data (hereinafter referred to as “scale number default data”) 372.
[0091]
The scale display processing program 371 is a program for implementing the scale display processing (see FIG. 13). When the CPU 10 executes the scale display processing program 371, the scale display processing is realized.
[0092]
The scale number default data 372 is a value preset as the number of scales to be displayed in the graph window GW when the display range setting data 51 includes an undefined variable. Note that the scale number default data 372 may be appropriately set by the user.
[0093]
3.2 Operation
Next, the operation of the scientific calculator 1 according to the third embodiment will be described.
FIG. 13 is a flowchart for explaining the operation of the scientific calculator 1 according to the scale display process. FIG. 14 is a diagram showing a transition example of a display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. It is.
[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 CPU 10 switches the graph mode from OFF to ON (step S301), starts execution of the graph application, and displays the display range setting window RW on the display unit 40 (step S301). S302). Then, the user moves the cursor displayed in the display range setting window RW using, for example, the key group 3, selects the display range of the graph and the input field of the scale value, and inputs a numerical value or an undefined variable. Then, the CPU 10 detects that data specifying the display range and the scale value has been input (step S303; YES), and stores the input data as the display range setting data 51 in the RAM 370 (step S304).
[0096]
FIG. 14B is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. In the display range setting window RW shown in the figure, the user can specify the minimum value “Xmin” of the X coordinate, the maximum value “Xmax” of the X coordinate, the minimum value “Ymin” of the Y coordinate, and the maximum value “Ymax” of the Y coordinate. Data for setting a display range to be determined and data for a scale value determined by “scale” are set. The user sets undefined variables or numerical values to these values, for example. According to the figure, the set values are “Xmin: −A”, “Xmax: A”, “Ymin: −3.1”, and “Ymax: 3.1”.
[0097]
Next, when the CPU 10 determines that the display range setting data 51 includes an undefined variable (step S305; YES), the process proceeds to step S306.
[0098]
In step S306, the CPU 10 first reads the scale number default data 372 stored in the ROM 370 in advance. Then, the values of the display range tentative substitution value data 51a and the scale value tentative substitution value data 51b are calculated so that the number of graduations indicated by the graduation number default data 372 is displayed within the display range of the graph window GW.
[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 range setting data 51 is “Xmax: A”, “Xmin: −A”, and “Ymax: 5 "and" Ymin: -5 ", and when the scale value is set to" scale: B ", the CPU 10 determines the value of the width in the X-axis direction displayed in the display range, that is, the number of scales over 2A. Control is performed to display “10”. Therefore, the width of one scale, that is, the value of the scale B is “2A / 10” (“A / 5”). Therefore, when “20” is temporarily assigned to the undefined variable A, the value temporarily assigned to the undefined variable B automatically becomes “A / 5 = 4”.
As described above, the CPU 10 determines the display range temporary substitution value data 51a and the scale value temporary substitution value data 51b based on the scale number default data 372.
[0100]
As the scale number default data 372, data of different scale numbers in the X-axis direction and the Y-axis direction of the graph window GW may be stored, or may be the same data.
[0101]
Next, the CPU 10 stores the display range provisional substitution value data 51a and the scale value provisional substitution value data 51b calculated in step S306 in the RAM 350 (step S307), and based on the display range setting data 51, The graph window GW is displayed, and the scale is displayed on the screen (step S308).
[0102]
FIG. 14C is a diagram illustrating an example of a display screen on the display unit 40 at this stage. According to the figure, a scale is displayed on the X axis and the Y axis in the graph window GW.
After executing the above processing, the CPU 10 ends the scale display processing.
[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 scientific calculator 1 does not execute the error processing. The scale is displayed in the graph window GW.
[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 display unit 40. Also, when a graph expression including an undefined variable is input, a graph is drawn in the graph window GW by substituting a temporary value for the undefined variable. Further, when an arbitrary coordinate on the graph window GW is designated by the user, control is performed to change the drawing position of the graph according to the designated coordinate and to change the value temporarily assigned to the undefined variable. is there.
[0106]
4.1 Internal configuration
The configuration of the scientific calculator 1 in the fourth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with a RAM 450, and the ROM 70 is replaced with a ROM 470. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0107]
FIG. 15 is a diagram showing a configuration of the RAM 450. According to the figure, the RAM 450 stores the graph data 52, which is display data in the graph window GW, the graph formula data 52a for drawing a graph, and the undefined variables when the graph formula data 52a includes the undefined variables. Storing of graph-type temporary substitution value data 52b, which is a value calculated as a value to be temporarily substituted, mathematical expression data 55, which is display data in a mathematical expression window FW, and graphic specification data 60 for specifying a graphic to be drawn. With an area.
[0108]
FIG. 16 is a diagram showing a configuration of the ROM 470. According to the figure, the ROM 470 stores a graph display position designation processing program 471.
[0109]
The graph display position designation processing program 471 is a program for realizing the graph display position designation processing (see FIG. 17). When the CPU 10 executes the graph display position designation processing program 471, the graph display position designation processing is realized.
[0110]
4.2 Operation
Next, the operation of the scientific calculator 1 according to the fourth embodiment will be described.
FIG. 17 is a flowchart for explaining the operation of the scientific calculator 1 according to the graph display position designation processing. FIG. 18 is a transition example of a display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0111]
In the graph display position designation processing shown in FIG. 17, the user designates a desired graphic type using the key group 3 or the input pen 4, and numerical values or characters (data) for specifying the graphic are designated. Undefined variables, etc. (hereinafter referred to as “figure specific data”) are input. Then, the CPU 10 detects the type of the graphic to be drawn (step S401), detects the input of the graphic specifying data (step S402), and stores it as the graphic specifying data 60 in the RAM 450 (step S404).
[0112]
Next, when the CPU 10 determines that the graphic specification data 60 includes an undefined variable (step S405; YES), the CPU 10 calculates a value to be temporarily substituted for the undefined variable, and uses the calculated value as a graph-based temporary substitution value. The data is stored in the RAM 450 as the data 52b (step S406).
[0113]
Next, the CPU 10 calculates the graph data of the figure to be drawn, and stores the graph data 52 and the graph formula data 52a in the RAM 450 (step S407). Next, the CPU 10 sends the graph data 52 to the display unit 40 and draws a graph in the graph window GW (step S408).
[0114]
FIGS. 18A and 18B are diagrams illustrating an example of a display screen on the display unit 40 at this stage. FIG. 18A is an example of a screen on which a graph expression C4 is displayed in the mathematical expression window FW, and a graph G4 based on the graph expression C4 has already been drawn in the graph window GW. In the graph window GW, the user uses the input pen 4 to specify figure specifying data for specifying the center and radius of the circle and input a circle drawing command. Thereby, for example, the graph expression “(x−A) ^ 2 + (y−B) ^ 2 = 4” including the undefined variables “A” and “B” is specified and stored in the RAM 450 as the graph expression data 52a. Is done.
[0115]
The CPU 10 draws the graph G5 shown in FIG. 18A according to the command, and displays the pointer H10 at the center of the graph G5. In FIG. 18B, the user moves the pointer H10 of the graph G5 using the input pen 4, and inputs a command to change the display position of the graph G5. In response to this, the CPU 10 executes the processing from step S410 described below.
[0116]
Next, when the CPU 10 detects that the coordinates on the graph are designated (step S409; YES), the CPU 10 re-executes the value of the graph-type provisionally substituted value data 52b to be temporarily substituted for the undefined variable from the designated position (coordinate). After the calculation, the graph formula data 52a and the graph formula provisionally substituted value data 52b are updated (step S410). After recalculating the graph data (step S411), the CPU 10 changes the display position of the graph (step S412). Then, a graph formula is displayed in the formula display field WW of the display unit 40 (step S413).
[0117]
FIGS. 18C and 18D are diagrams illustrating an example of the display screen of the display unit 40 at this stage. As shown in FIG. 18C, when the user moves the center H10 of the graph G5 using the input pen 4 and specifies coordinates, the CPU 10 changes the display position of the graph G5. Thereafter, as shown in FIG. 18 (d), the graph expression of the moved graph G5 is displayed in the expression display column WW. In the expression display column WW, a graph expression C5 of a graph G5 including undefined variables A and B is displayed.
[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 scientific calculator 1 draws a graph on the display unit 40 without performing error processing. When an instruction to change the position of the graph is input after drawing the graph, the drawing position of the graph is changed.
[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 scientific calculator 1 in the fifth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 is replaced with the RAM 550 and the ROM 70 is replaced with the ROM 570 in the first embodiment. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0123]
FIG. 20 is a diagram showing a configuration of the RAM 550. According to the figure, the RAM 550 stores the graph data 52, which is display data in the graph window GW, the graph formula data 52a for drawing a graph, and the undefined variables when the graph formula data 52a includes undefined variables. Of the graph-type provisionally-substituted value data 52b, which is a value calculated as a value to be temporarily substituted into the formula data 55, which is display data in the formula window FW, and condition data 56, which is display data in the condition data input box IA. It has a storage area.
[0124]
FIG. 21 is a diagram showing a configuration of the ROM 570. According to the figure, the ROM 570 stores a condition setting graph drawing program 571.
[0125]
The condition setting graph drawing processing program 571 is a program for realizing the condition setting graph drawing processing (see FIG. 22). When the CPU 10 executes the condition setting graph drawing processing program 571, the condition setting graph drawing processing is realized.
[0126]
5.2 Operation
Next, an operation of the scientific calculator 1 according to the fifth embodiment will be described.
FIG. 22 is a flowchart for explaining the operation of the scientific calculator 1 related to the condition setting graph drawing processing. FIG. 23 is a transition example of a display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0127]
In the condition setting graph drawing process shown in FIG. 22, first, the CPU 10 switches the graph mode from OFF to ON (step S501). Next, the execution of the calculation application and the graph application is started, and the formula window FW, the graph window GW, and the condition data input field IA are displayed on the display unit 40 (step S502). Then, the user inputs a mathematical expression including an undefined variable into the mathematical expression window FW using the key group 3, for example, and inputs a command for drawing a graph.
[0128]
If the CPU 10 determines that a mathematical expression including an undefined variable has been input to the mathematical expression window FW and a drawing command has been designated (step S503; YES), the input graph expression is stored in the RAM 550 as mathematical expression data 55 (step S504). ).
[0129]
Next, the CPU 10 calculates a value to be temporarily substituted into an undefined variable in the mathematical expression so that the graph based on the mathematical expression input by the user fits in the display area of the graph window GW, and sets the value as the graph-type temporary substituted value data 52b. It is stored in the RAM 550 (step S505). The CPU 10 calculates the graph data from the mathematical expression into which the temporary substitution value has been substituted, and stores the graph data 52 and the graph expression data 52a in the RAM 550 (step S506). Next, the CPU 10 draws a graph in the graph window GW (step S507).
[0130]
FIGS. 23A and 23B are diagrams showing transition examples of the display screen displayed on the display unit 40 at this stage. In the example shown in FIG. 23A, the mathematical expression C6 “Y = X + A” is displayed in the mathematical expression window FW, and the graph expression G6 of the mathematical expression C6 is displayed in the graph window GW. Further, in the example shown in FIG. 23B, the mathematical expression C7 “Y = X + B” is added to the mathematical expression window FW, and the graph G7 of the mathematical expression C7 is displayed in the graph window GW.
[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 condition data 56. It is stored in the RAM 550 (step S510).
[0132]
Next, the CPU 10 determines whether or not the value temporarily assigned to the undefined variable of the mathematical expression in step S505 matches the condition of the condition data 56 (whether or not the condition is satisfied) (step S511). When the CPU 10 determines that the graph-type provisionally substituted value data 52b matches the condition data 56 (step S511; YES), the condition setting graph drawing process ends.
[0133]
On the other hand, if the graph-type temporary substitution value data 52b does not match the condition data 56 (step S511; NO), the CPU 10 recalculates the graph-type temporary substitution value data 51b so as to satisfy the condition indicated by the condition data 56. Then, the graph-type temporary substitution value data 51b is updated (step S512). Next, the CPU 10 calculates the graph data of the mathematical expression data 51 into which the updated graph-type temporary substitution value data 51b is substituted, and updates the graph data 52 and the graph-type data 52a (step S513). Then, the CPU 10 updates the drawing position of the graph in the graph window GW (step S514).
[0134]
FIGS. 23C and 23D are diagrams showing transition examples of the display screen displayed on the display unit 40 at this stage. According to FIG. 23 (c), the condition J1 “A>B> 0” has been input by the user in the condition data input field IA. When the condition J1 is input, the CPU 10 changes the drawing positions of the graphs G6 and G7 according to the condition. In this screen example, the values of the y-intercepts of the equations C6 and C7 indicating the straight lines are positive, and the condition that A takes a larger value than B is specified, so that the graphs G6 and G7 as shown in FIG. Is changed.
When the above processing is performed, the CPU 10 ends the condition setting graph drawing processing.
[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 display unit 40 of the scientific calculator 1. You. If a condition indicating the magnitude relation of undefined variables included in each formula is input, if the drawn graph does not satisfy the condition, the display position is changed. Is made.
[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 scientific calculator 1 according to the sixth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 is replaced with the RAM 650 and the ROM 70 is replaced with the ROM 670 in the first embodiment. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0139]
FIG. 24 is a diagram showing a configuration of the RAM 650. According to the figure, the RAM 650 stores the graph data 52, which is display data in the graph window GW, the graph formula data 52a for drawing a graph, and temporarily substitutes the undefined variables when the graph formula includes the undefined variables. A storage area for each data of a graph-type temporary substitution value data 52b, which is a value calculated as a value to be calculated, a formula data 55, which is display data in a formula window FW, and a condition data 56, which is display data in a condition data input field IA. Is provided.
[0140]
FIG. 25 is a diagram showing the configuration of the ROM 670. According to the figure, the ROM 670 stores a condition satisfaction graph full rendering processing program 671.
[0141]
The condition satisfaction graph full drawing processing program 671 is a program for realizing the condition satisfaction graph full drawing processing (see FIG. 26). The CPU 10 executes the condition satisfaction graph full drawing processing program 671 to realize the condition satisfaction graph full drawing processing.
[0142]
6.2 Operation
Next, the operation of the scientific calculator 1 according to the sixth embodiment will be described.
FIG. 26 is a flowchart for explaining the operation of the scientific calculator 1 according to the condition satisfaction graph full drawing process. FIG. 27 is a transition example of a display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0143]
In the condition satisfaction graph full rendering process shown in FIG. 26, first, the CPU 10 switches the graph mode from OFF to ON (step S601). Next, the execution of the calculation application and the graph application is started, and the formula window FW, the graph window GW, and the condition data input field IA are displayed on the display unit 40 (step S602). Then, the user inputs a mathematical expression including an undefined variable into the mathematical expression window FW using the key group 3, for example, and inputs a command for drawing a graph.
[0144]
When a mathematical expression including an undefined variable is input in the condition data input field IA (step S603; YES), the CPU 10 stores the input mathematical expression in the RAM 650 as the mathematical expression data 55 (step S604). Next, the CPU 10 calculates a value to be temporarily substituted for an undefined variable included in the mathematical expression so that the graph based on the mathematical expression falls within the display range of the graph window GW, and uses the calculated value as a graph-type temporary substitution value. The data is stored in the RAM 650 (step S605).
[0145]
Subsequently, the CPU 10 calculates graph data from the mathematical expression into which the temporary substitution value has been substituted, and stores the graph data 52 and the graph expression data 52a in the RAM 650 (step S606). Next, the CPU 10 draws a graph in the graph window GW (step S607).
[0146]
FIG. 27A is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, the formula C8 “Y = X + A” is displayed in the formula window FW, and the graph G8 of the formula C8 is displayed in the graph window GW.
[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 data 56 is stored in the RAM 650 (step S610).
[0148]
Next, the CPU 10 sets all the values satisfying the condition data 56 in the graph-type temporary substitution value data 52b, substitutes the graph-type temporary substitution value data 52b into the mathematical expression data 55, and calculates all graph data. The graph data 52 and the graph formula data 52a are updated (step S611). Then, the CPU 10 draws a graph in the graph window GW based on all the graph data calculated in step S611 (step S612).
[0149]
FIGS. 27B and 27C are diagrams showing transition examples of the display screen displayed on the display unit 40 at this stage. In FIG. 27B, the condition J2 “2>A> −1” has been entered in the condition data input field IA. The CPU 10 substitutes a numerical value in the range specified by the condition J2 into the undefined variable A of the mathematical expression C8 “Y = X + A” displayed in the mathematical expression window FW, and as shown in FIG. (Graphs from "Y = X + 2" to "Y = X-1") are displayed in the graph window GW.
When the above processing is performed, the CPU 10 ends the condition satisfaction graph full rendering processing.
[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 display unit 40. When a condition for specifying a range of values to be assigned to an undefined variable is input, all graphs satisfying this condition are displayed in the graph window GW.
[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 scientific calculator 1 in the seventh embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 is replaced with the RAM 750 and the ROM 70 is replaced with the ROM 770 in the first embodiment. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0155]
FIG. 28 is a diagram showing a configuration of the RAM 750. According to the figure, the RAM 750 has a storage area for data of table display range setting data 57 which is display data in the table display range setting window TRW, and table data 58 which is display data in the table window TW.
[0156]
FIG. 29 is a diagram showing a configuration of the ROM 770. According to the figure, a table display processing program 771 is stored in the ROM 770.
[0157]
The table display processing program 771 is a program for implementing the table display processing (see FIG. 30). The table display processing is realized by the CPU 10 executing the table display processing program 771.
[0158]
7.2 Operation
Next, the operation of the scientific calculator 1 according to the seventh embodiment will be described.
FIG. 30 is a flowchart for explaining the operation of the scientific calculator 1 according to the table display processing. FIG. 31 is a diagram showing a transition example of a display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. It is.
[0159]
In the table display process shown in FIG. 30, first, the CPU 10 switches the table mode from OFF to ON (step S701). Next, the execution of the calculation application is started, and the display section 40 displays the table display range setting window TRW (step S702). The user inputs and sets each value of the initial value (start), end value (end), and step size (pitch) in the table display range setting window TRW.
[0160]
When the CPU 10 determines that the user has input the data of the initial value, the terminal value, and the step size in the table display range setting window TRW (step S703; YES), the input data is stored in the RAM 750 as the table display range setting data 57. (Step S704). Next, the CPU 10 determines whether or not an undefined variable is included in the table display range setting data 57 (step S705), and when it is determined that the undefined variable is not included (step S705; NO), The table data is calculated based on the table display range setting data 57 (step S708), and the process proceeds to step S709.
[0161]
On the other hand, if the CPU 10 determines that the table display range setting data 57 includes an undefined variable (step S705; NO), it calculates n data from the initial value (step S706), Are calculated from the data (step S707).
[0162]
Next, the CPU 10 stores the data of the table calculated in step S706 and S707 or S708 in the RAM 750 as the table data 58 (step S709). Then, the table data is sent to the display unit 40, and the table is displayed in the table window TW (step S710). When the CPU 10 calculates the table data based on the table display range setting data including the undefined variable, in step S710, the CPU 10 calculates a value between n values calculated from each of the initial value and the terminal value. Ellipses SH are displayed for values that have not been set.
[0163]
FIGS. 31A and 31B show screen transitions until a table is displayed in the table display window TW based on the table display range setting data 57 specified by the user. As shown in FIG. 31 (a), in the table display range setting window TRW, “(Y =) PX” is set in Expression C9, “1” is set in the initial value, undefined variable “A” is set in the end value, and undefined in the step size When the definition variable “B” is set, the CPU 10 calculates n (“n = 3” in the figure) data from the initial value “1” and n data from the terminal value “A”. Calculate the data. Then, the calculated data is displayed in the table window TW shown in FIG. 31B, and the abbreviation symbol SH is displayed in the omitted part.
[0164]
Although not shown, when a specific numerical value is set in the table display range setting data 57, all the table data is calculated and displayed in the table window TW without displaying the abbreviation SH. If the initial value “1”, the terminal value “10”, and the step size “2” are specified for the mathematical expression C9 “Y = PX” shown in FIG. 31A, the CPU 10 sets the value of X to “1, 2, 5, 7, 9 "and the corresponding Y value" P, 2P, 5P, 7P, 9P "in the table window TW.
When the above processing is executed, the CPU 10 ends the table display processing.
[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 scientific calculator 1.
[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 scientific calculator 1 in the eighth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with a RAM 850, and the ROM 70 is replaced with a ROM 870. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0169]
FIG. 32 is a diagram showing a configuration of the RAM 850. According to the figure, the RAM 850 includes table display range setting data 57 which is display data in the table display range setting window TRW, table data 58 which is display data in the table window TW, and an omitted portion of the table based on the table data 58. (Hereinafter referred to as "general formula data") 58a, and a storage area for each data.
[0170]
FIG. 33 is a diagram showing a configuration of the ROM 870. According to the figure, the ROM 870 stores a table selection portion display processing program 871.
[0171]
The table selection part display processing program 871 is a program for implementing the table selection part display processing (see FIG. 34). When the CPU 10 executes the table selection portion display processing program 871, the table selection portion display process is realized.
[0172]
8.2 Operation
Next, the operation of the scientific calculator 1 according to the eighth embodiment will be described.
FIG. 34 is a flowchart for explaining the operation of the scientific calculator 1 according to the table selection portion display processing. FIG. 35 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0173]
In the table selection portion display processing shown in FIG. 34, first, the CPU 10 switches the table mode from OFF to ON (step S801). Next, execution of the calculation application is started, and the table display range setting window TRW is displayed on the display unit 40 (step S802). The user inputs and sets each value of the initial value (start), end value (end), and step size (pitch) in the table display range setting window TRW.
[0174]
When the CPU 10 determines that the user has input the data of the initial value, the terminal value, and the step size in the table display range setting window TRW (step S803; YES), the input data is stored in the RAM 850 as the table display range setting data 57. (Step S804).
[0175]
FIG. 35A shows an example of a display screen displayed on the display unit 40 at this stage. According to the figure, “Y = PX” is set in Expression C10, “1” is set as the initial value, undefined variable “A” is set as the end value, and undefined variable “B” is set as the step size.
[0176]
Next, the CPU 10 determines whether or not an undefined variable is included in the table display range setting data 57 (step S805). If it is determined that no undefined variable is included (step S805; NO), The table data is calculated based on the table display range setting data 57 (step S808), and the process proceeds to step S809.
[0177]
On the other hand, if the CPU 10 determines that the table display range setting data 57 includes an undefined variable (step S805; NO), it calculates n data from the initial value (step S806), Are calculated from the data (step S807).
[0178]
Next, the CPU 10 stores the data of the table calculated in step S806 and S807 or S808 as the table data 58 in the RAM 850 (step S809). Then, the table data is sent to the display unit 40, the table is displayed in the table window TW, and the abbreviation symbol SH is displayed in the portion of the table that is omitted and displayed (step S810).
[0179]
FIG. 35B is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to FIG. 35, a table based on the table display range setting data set on the screen of FIG. 35A is displayed. The user moves the cursor position by operating the key group 3 and selects a desired value in the table. Then, the CPU 10 reversely displays the data at the cursor position (hereinafter, referred to as “trace data”) and displays the trace data “2B + 1” on the trace data display section TD at the lower right of the table data TW.
[0180]
Subsequently, when the CPU 10 determines that the movement of the cursor (hereinafter, referred to as “trace”) has been input by the user (step S811; YES), the CPU 10 further determines whether or not the trace position is the part of the abbreviation SH. It is determined (step S812). If the CPU 10 determines that the ellipse SH is being traced (step S812; YES), the CPU 10 moves the cursor to the ellipse SH and highlights it, and calculates the general formula of the data of the ellipse. Is stored in the RAM 850 as the general formula data 58a (step S813). Then, the calculated general formula is set in the trace data (step S814), and the process proceeds to step S816.
[0181]
FIG. 35C is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, the ellipse SH is being traced, and the ellipse SH is highlighted. Further, the general formula “X = t, Y = tP” is displayed in the trace data display section TD at the lower right of the table window TW.
[0182]
On the other hand, when the CPU 10 determines that data other than the abbreviation SH has been traced (step S812; NO), the CPU 10 moves the cursor to the trace data, highlights the trace data, and sets the trace data (step S815). It moves to step S816.
[0183]
Subsequently, the CPU 10 displays the trace data on the trace data display section TD (Step S816). Next, the CPU 10 determines whether or not the movement of the cursor has been detected (step S817). If the movement of the cursor has been detected (step S817: YES), the process returns to step S812. On the other hand, when the movement of the cursor is not detected (step S817; NO), the CPU 10 further determines whether or not there is an end input by the user (step S818). The CPU 10 terminates the table selection portion display processing when an end input is made by the user (step S818; YES), and executes other processing when the end input is not made (step S818; NO).
[0184]
As described above, in the eighth embodiment, when the user sets a numerical value or an undefined variable for the table display range setting data 57, a table is displayed in the table window TW. When the cursor is moved and the ellipse SH in the table is traced, a general formula indicating the data of the ellipse SH is displayed.
[0185]
Therefore, even when undefined variables are included in the table display range setting data 57, a desired table can be displayed and data can be confirmed. Further, when the ellipses SH in the table are traced, it is possible to confirm the data of the ellipses by a general formula.
[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 scientific calculator 1 in the ninth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with a RAM 950, and the ROM 70 is replaced with a ROM 970. For this reason, the same reference numerals are given to the same functional units, and redundant description will be omitted.
[0188]
FIG. 36 is a diagram showing a configuration of the RAM 950. According to the figure, a storage area is provided for each data of formula data 55 which is display data in the formula window FW and change table data 59 which is display data in the change table window ATW.
[0189]
FIG. 37 is a diagram showing the configuration of the ROM 970. According to the figure, the ROM 970 stores an increase / decrease table display processing program 971.
[0190]
The increase / decrease table display processing program 971 is a program for realizing the increase / decrease table display processing (see FIG. 38). The CPU 10 executes the increase / decrease table display processing program 971 to realize the increase / decrease table display processing.
[0191]
9.2 Operation
Next, the operation of the scientific calculator 1 according to the ninth embodiment will be described.
FIG. 38 is a flowchart for explaining the operation of the scientific calculator 1 according to the increase / decrease table display processing. FIGS. 39 and 40 show an example of a display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0192]
In the increase / decrease table display process shown in FIG. 38, first, the CPU 10 switches the increase / decrease table mode from OFF to ON (step S901). Next, the execution of the calculation application is started, and the display unit 40 displays the formula window FW and the increase / decrease table window ATW (step S902). The user uses the key group 3 to input a desired mathematical expression in the mathematical expression window FX, and then inputs a command for creating an increase / decrease table.
[0193]
Then, when the CPU 10 detects that a mathematical expression is input to the mathematical expression window FW and a command to create an increase / decrease table is input (step S903; YES), the CPU 10 stores the mathematical expression as the mathematical expression data 55 in the RAM 950 (step S904).
[0194]
FIG. 39 is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, the display unit 40 displays a formula window FW and an increase / decrease table window ATW. Also, the mathematical expression window FW displays the mathematical expression C11 “Y1: (X−2) (X + 1) (X−A)” input by the user.
[0195]
Next, the CPU 10 determines whether or not the mathematical expression data 55 includes an undefined variable (Step S905). When determining that the mathematical expression data 55 includes an undefined variable (Step S905; YES), the CPU 10 executes a case classification of the undefined variable (Step S906). Next, the CPU 10 calculates an increase / decrease table for each case (step S907), and stores the calculated data of the increase / decrease table in the RAM 950 as the increase / decrease table data 59 (step S908). Next, the CPU 10 displays one of the increase / decrease tables among the divided cases in the increase / decrease table window ATW (step S909).
[0196]
Here, when displaying the increase / decrease table of other cases, the user uses the key group 3 to input a display switching instruction. Then, CPU 10 determines whether or not a display switching instruction has been input (step S910), and determines that a display switching instruction has been input (step S910; YES). It is displayed on the table window ATW (step S911). On the other hand, when determining that the instruction to switch the display has not been input (step S910; NO), the CPU 10 ends the increase / decrease table display processing.
[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 CPU 10 sets “A < -1 "," -1 <A <2 ", and"A> 2 "are executed, and an increase / decrease table for each case is created. FIG. 40A shows an increase / decrease table for “A <−1”, FIG. 40B shows an increase / decrease table for “−1 <A <2”, and FIG. 40B shows an increase / decrease table for “A> 2”. Is shown in FIG. The CPU 10 sequentially displays the screens of FIGS. 40 (a), (b), and (c) in the increase / decrease table window ATW each time the display switching instruction input is detected. ) Is displayed.
[0198]
When the CPU 10 determines in step S905 that the mathematical expression data 55 does not include an undefined variable (step S905; NO), the CPU 10 calculates an increase / decrease table based on the mathematical expression data 55 (step S912). Is stored in the RAM 950 as the change table data 59 (step S913). Next, the CPU 10 displays the change table in the change table window ATW (step S914), and ends the change table display process.
[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 display unit 40. If an undefined variable is included in the input mathematical expression, the scientific calculator 1 executes a case classification process on the value of the undefined variable, and displays an increase / decrease table for each case.
[0200]
Therefore, it is possible to display an increase / decrease table of a mathematical expression including an undefined variable on the scientific calculator 1, and the user can use it for learning or the like.
[0201]
The detailed configuration and detailed operation of the scientific electronic calculator 1 in each of the first to ninth embodiments can be appropriately changed without departing from the spirit of the present invention.
[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 claim 5 or 13, when a graph expression includes an undefined variable, a temporary value is assigned to the undefined variable, a graph is displayed, and a condition is set. The graph can be updated and displayed.
[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 claim 7, it is possible to set the condition of a value that can be taken by the undefined variable by the operation input means.
[0209]
According to the invention described in claim 8, it is possible to set a graph condition and display a graph having a line width representing all the graphs satisfying the set condition.
[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 claim 11 or 15, when an undefined variable is included in a mathematical expression, an increase / decrease table is created and displayed according to the types of poles and inflection points that can be taken by the undefined variable. Can be. That is, it is possible to create and display an increase / decrease table based on a mathematical expression including an undefined variable.
[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.
スケールの1単位分の値を表すスケール値を入力するスケール値入力手段と、
このスケール値入力手段により入力されたスケール値に未定義変数が含まれているか否かを判別する第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:
前記条件設定手段は、前記表示制御手段によって表示制御されたグラフに対する移動指示操作又は変形指示操作により、当該指示操作後のグラフにより特定されるグラフ式に基づいて、前記未定義変数の取り得る値の条件を設定する手段を有することを特徴とする請求項5に記載の電子機器。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 formula specified by the graph after the instruction operation, a possible value of the undefined variable. 6. The electronic apparatus according to claim 5, further comprising: means for setting the following conditions. 前記条件設定手段は、操作入力により前記未定義変数の取り得る値の条件を設定する操作入力手段を有することを特徴とする請求項5に記載の電子機器。6. The electronic apparatus according to claim 5, wherein the condition setting unit includes an operation input unit that sets a condition of a value that the undefined variable can take by an operation input. 前記更新表示制御手段は、前記条件設定手段により設定された条件を満足する値に一定の範囲があると判別した場合に、当該範囲分を線幅とするグラフを前記新たなグラフとして更新表示する制御を行う手段を有することを特徴とする請求項5又は7に記載の電子機器。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. The electronic device according to claim 5, further comprising a control unit. 数式を入力する数式入力手段と、
この数式入力手段により入力された数式のリストテーブルを作成するためのテーブル条件を入力するテーブル条件入力手段と、
このテーブル条件入力手段により入力されたテーブル条件に未定義変数が含まれているか否かを判別する判別手段と、
この判別手段により前記テーブル条件に未定義変数が含まれていると判別された場合に、前記リストテーブルの要素を、当該未定義変数を前記数式に代入した文字式としてリストテーブルを作成して表示する制御を行うリストテーブル表示制御手段と、
を備えることを特徴とする電子機器。
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.
JP2002379156A 2002-12-27 2002-12-27 Electronic device and program Expired - Fee Related JP3972815B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008537234A (en) * 2005-04-15 2008-09-11 マイクロソフト コーポレーション Representation of simultaneity symbols and numbers

Cited By (1)

* Cited by examiner, † Cited by third party
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