how to find a root of polynomial using matlab

Answers (2)

sym c(y)
c(y)= 1+3*tan(y/sqrt(2))==0 ;
r = solve(c,y) ;
double(r)

1 Comment

It is not a polynomial .. how you expect to write?

Sign in to comment.

Or directly
y = sqrt(2)*atan(-1/3);

2 Comments

That gives you a root! i.e. a value of y that makes the expression 1+3*tan(y/sqrt(2)) equal zero.

Sign in to comment.

Categories

Asked:

on 18 Oct 2020

Edited:

on 18 Oct 2020

Community Treasure Hunt

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

Start Hunting!