how to find a root of polynomial using matlab

2 ビュー (過去 30 日間)
mustafa jbara
mustafa jbara 2020 年 10 月 18 日
編集済み: Alan Stevens 2020 年 10 月 18 日
C (y) = 1 + 3 tan( y/√2)

回答 (2 件)

KSSV
KSSV 2020 年 10 月 18 日
sym c(y)
c(y)= 1+3*tan(y/sqrt(2))==0 ;
r = solve(c,y) ;
double(r)
  1 件のコメント
KSSV
KSSV 2020 年 10 月 18 日
It is not a polynomial .. how you expect to write?

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


Alan Stevens
Alan Stevens 2020 年 10 月 18 日
Or directly
y = sqrt(2)*atan(-1/3);
  2 件のコメント
mustafa jbara
mustafa jbara 2020 年 10 月 18 日
how find roots
Alan Stevens
Alan Stevens 2020 年 10 月 18 日
編集済み: Alan Stevens 2020 年 10 月 18 日
That gives you a root! i.e. a value of y that makes the expression 1+3*tan(y/sqrt(2)) equal zero.

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

カテゴリ

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