Use MATLAB to nd the roots of 13 x3  182x2  184x  2503  0.

9 ビュー (過去 30 日間)
Frederick Ampienyi
Frederick Ampienyi 2023 年 3 月 28 日
回答済み: Divyam 2024 年 11 月 21 日 5:43

回答 (1 件)

Divyam
Divyam 2024 年 11 月 21 日 5:43
You can use the "roots" function to find the roots of a polynomial, . Since the equation in the question is not clear, lets assume that you wish to find the roots for the polynomial .
% Define the coefficients of the polynomial
coefficients = [13, -182, 184, -2503];
% Calculate the roots of the polynomial
roots_of_polynomial = roots(coefficients);
% Display the results
disp(roots_of_polynomial);
13.9732 + 0.0000i 0.0134 + 3.7120i 0.0134 - 3.7120i
For more information regarding the "roots" function, refer to the following documentation link: https://www.mathworks.com/help/matlab/ref/roots.html

カテゴリ

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