How to calculate maximum absolute error

10 ビュー (過去 30 日間)
Nia Dutta
Nia Dutta 2019 年 2 月 28 日
編集済み: Matt J 2019 年 3 月 1 日
If I have two solutions in following form
exact=x^(4)-x^(3) and app= (-2.220446049250313*10^(-16)) + (0.19676728660169784)* x + (4.6491983150099205)* x^(2) - (3.9010072748158082)* x^(3) + (2.3619056303875987)* x^(4) - (0.33198038154796344)* x^(5)
Then , how we can calculate maximum absolute error when x belongs to [0,2].

回答 (1 件)

Matt J
Matt J 2019 年 2 月 28 日
The difference between two polynomials is a polynomial. Use calculus to find the maximum and minimum values of the difference polynomial.
  2 件のコメント
Nia Dutta
Nia Dutta 2019 年 3 月 1 日
It is diffucult to check every point of x.
Matt J
Matt J 2019 年 3 月 1 日
編集済み: Matt J 2019 年 3 月 1 日
They are polynomials. It is an elementary calculus problem to find minima and maxima of polynomials using derivatives.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by