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
ScientificConstants[Constant] - 物理定数オブジェクトの構築
使い方
Constant( descriptor, opts, 'units' )
パラメータ
descriptor - 名前; ScientificConstants パッケージ内にある物理定数のフルネームまたは記号。物理定数の一覧については、最初に与えられている物理定数 を参照して下さい。
opts - (オプション) option=value の形の等式; ここで option は、'system' のみ; オブジェクトのためのオプション指定。
'units' - (オプション) 返されるオブジェクトが物理定数オブジェクトに単位オブジェクトを掛けたものであることの指定。
説明
Constant( descriptor ) コマンドは、物理定数オブジェクトを構築します。このオブジェクトは、例えば、物理定数の値( GetValue 参照)や、その値の不確定性( GetError 参照)を得るために使用できます。
何もオプションが指定されない場合には、オブジェクトは単位系を持たないものとして返されます。このオブジェクトが評価や問い合わせの対象になると、現在使用している単位系におけるその物理定数の値が返されます。詳細な情報については、Units[UsingSystem] を参照して下さい。
'units' オプションが指定され、かつ 'system' の等式が指定されていない場合には、現在の単位系から単位が選択されます。
単位を持つオブジェクトの値を得るためには、 evalf 関数を使用します。
opts 引数は、オブジェクトのオプションを設定する、1つまたは複数の以下の等式を含みます。
'system' = symbol
このオプションは、対象となるオブジェクトに関連する単位系を制御します。指定された系が Units パッケージで受け付けられる単位系である場合には、返される物理定数オブジェクトは、添え字付きの表記で指定された単位系を持ちます。受け付けられる単位系の一覧については、単位系 を参照して下さい。このオブジェクトが評価や問い合わせの対象になると、指示された単位系におけるその物理定数の値が返されます。
例
with(ScientificConstants): Constant( g );
GetValue( % ); GetUnit( %% );
Units:-UsingSystem();
Constant( g, units );
系が指定される場合、定数の値が表示および返されるにその系が使用されます。
Constant( g, system=FPS );
Constant( g, system=FPS, units );
物理定数の値に単位オブジェクトを掛け合わせた値を返すためには、evalf 関数を使用しなくてはなりません。
evalf( % );
参照
同上演算子(%), 最初に与えられている物理定数, 物理定数の概要, ScientificConstants パッケージの紹介, ScientificConstants[GetConstants], ScientificConstants[GetValue], ScientificConstants[GetError], ScientificConstants[GetUnit], 単位系, Units[Unit], Units[UsingSystem]
Download Help Document