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
assuming - 仮定に基づいて数式の値を計算する
使い方
expression assuming property
パラメータ
expression
-
評価対象の数式または入力
property
名前; プロパティ
説明
expression assuming property の使い方では、数式 expression に含まれるすべての名前について property の仮定に基づいて expression を評価します。
property パラメータには、type、不等式、または name や名前を含む数式で仮定される他のプロパティを使用できます。
注意: assuming を使用して実行する計算は、assuming を呼び出す前または後に実行する計算には影響しません。
例
が正の実定数であると仮定して、 の平方根を求めます。
sqrt(a^2) assuming a > 0;
sqrt(a^2);
数式の値を求めるとき、そのすべての変数が実数であるという仮定の下に値を求めることができます。
e1 := ln(exp(-k[1]*t));
e1 assuming real;
assuming コマンドを使用しても、 は更新されません。
e1;
仮定は、1 つの入力文を計算しているときのみ有効であり、変数には仮定は適用されません。
e2:= ln (y/x)-ln(y)+ln(x);
simplify(e2) assuming x:: positive;
simplify(e2) assuming y::positive;
simplify(subs(x=-x,e2)) assuming x::posint, y::posint;
about(x):
x: nothing known about this object
about(y);
y: nothing known about this object
value コマンドを使用すると、不活性な積分を評価できます。この評価は、仮定の下で実行できます。
e3 := Int(exp(-u*x)*x^(1/3), x = 0..infinity);
value(e3) assuming u >= 0;
value(e3) assuming u < 0;
変数 a は f の式内に含まれており、f(1) の計算では a>0 という仮定は実効的に使われません。
f := x->sqrt(a^2)+x;
f(1) assuming a>0;
これらの目的には、assume を使用します。
assume(a>0);
f(1);
詳細
以下を含む詳細については、
特定の変数に適用される仮定に基づいて数式を評価する方法
assuming コマンドが仮定の下でどのように計算を実行するかについての詳細
assume コマンドと assuming コマンドを併用する方法
assuming/details を参照してください。
参照
assume - 変数のプロパティおよび変数間のプロパティの設定
type - 型 (共通のプロパティを共有する数式のクラス)
value - 不活性な関数を評価
Download Help Document