Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Maplets[Examples][GetExpression] - 数式の入力を求める maplet の表示
使い方
GetExpression(opts)
パラメータ
opts - option=value の形の等式; ここで option は caption, title または width のいずれか; maplet のためのオプション指定
説明
GetExpression() コマンドは、ユーザに数式の入力を促す maplet を表示します。数式が Maple のセッションへ返されます。ユーザが数式を入力しないと、 プログラムは異議を唱えます。
GetExpression sample maplet worksheet に、Maplets[Elements] パッケージを用いてこのルーチンと同様の動作を行う maplet を書く方法について、記述されています。
opts 引数は、maplet のオプションを設定する、1つまたは複数の以下の等式を含みます。
caption = string
ユーザに数式の入力を促すテキストの指定。デフォルトの見出しは、Enter an expression: です。
title = string
maplet のタイトルの指定。デフォルトのタイトルは、Get Expression です。
width = posint
入力フィールドの幅の指定。デフォルトの幅は、30 文字です。
例
with(Maplets[Examples]): f := GetExpression(); # User enters y^2 - 4*y
2 f := y - 4 y
g := GetExpression(); # User enters diff( y(x), x ) - y(x)^2
/d \ 2 g := |-- y(x)| - y(x) \dx /
参照
GetExpression Sample Maplet, Maplets パッケージの概要, Maplets[Elements] パッケージの紹介, Maplets[Examples] パッケージの紹介
Download Help Document