Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
RootFinding[Parametric][NumberOfSolutions] - 各オープンセルの実数解の数の計算
使い方
NumberOfSolutions(m, l)
パラメータ
m
-
CellDecompositionから返されたとおりの solution record
l
(オプション) parameter=u..v の形式のパラメータの範囲リスト。u は有理数または で、v は有理数または です。
モデルの説明
呼出手順 はシステム
の実数解の数を計算し、 形式のリストリストを返します。 はオープンセルのインデックスで、 はこのセルから得られるパラメータ値を代入して得た非パラメトリックシステムに対する実数解の数を表します。
l が与えられている場合は l によって指定される範囲内に位置するサンプル点を持つオープンセルのみが計算の対象になります。
このコマンドは RootFinding[Parametric] パッケージの一部であるため、NumberOfSolutions(..) 形式での利用はその前に with(RootFinding[Parametric]) コマンドが実行されている場合に限ります。ただしコマンドをロングフォーマット RootFinding[Parametric][NumberOfSolutions](..) で指定すると、いつでも利用可能です。
アプリケーションと例題
with(RootFinding[Parametric]):
sys := [x^2+y^2=a, x-y=b, a>0];
m:=CellDecomposition(sys, [x,y]);
CellPlot(m, 'samplepoints');
NumberOfSolutions(m);
システム の解の対 の数はパラメータ および が放物線の右側に位置する青または緑のセルから選択された場合は で、それ以外の場合は です。
解の数を計算する対象セルは限定できます。
NumberOfSolutions(m,[b=0..1]);
NumberOfSolutions(m,[a=0..1/2,b=0..1]);
NumberOfSolutions(m,[a=0..1/2,b=2..3]);
実際には、システム は放物線上に重複度 の解をちょうど 1 つ持っています。これは上記データからは推測できません。ただし、システムに discriminant variety の方程式を追加し、 も変数にすることができます。
m:-DiscriminantVariety;
eqs := [op(m:-Equations), op([2,1], (4.7))];
CellDecomposition(eqs, m:-Inequalities, [x,y,b]);
Error, (in RootFinding:-Parametric:-CellDecomposition) cannot solve the system: either there are infinitely many complex solutions, or there are solutions of multiplicity > 1, for almost all parameter values
計算を続けるには、根基を計算して重複を取り除く必要があります。
with(PolynomialIdeals, PolynomialIdeal,Generators,Simplify,Radical):
J := PolynomialIdeal(eqs, variables=[x,y,b]):
R := Generators(Simplify(Radical(J)));
m2 := CellDecomposition([op(R)], m:-Inequalities, [x,y,b]);
NumberOfSolutions(m2);
セルは 1 つだけ存在し、パラメータ の値とは無関係に方程式 には 2 つの解が存在することにご注目ください。以下のコマンドは に対するこれらの解を計算します:
SampleSolutions(m2, [a=1]);
これらの 2 つの解で の値が異なることから、元のシステム は discriminant variety の方程式による放物線上のパラメータ値 および に対してちょうど 1 つの解 を持っていると結論付けることができます。
関連項目
CellDecomposition, CellPlot, Parametric, PolynomialIdeals, RootFinding
Download Help Document