how to find roots of equation having tan(x) or exp(x)
Mostra commenti meno recenti
how to find roots of equation having tan(x) or exp(x)
I know how to calculate roots of polynomial having numerical values but i am stuck with it
Risposta accettata
Più risposte (3)
Andrei Bobrov
il 3 Ott 2011
fzero(@(x)exp(x)+x-10,0)
fzero(@(x)tan(x)-x-.01,0)
fzero(@(x)tan(x)-x-.01,pi)
moonman
il 3 Ott 2011
0 voti
1 Commento
Wayne King
il 3 Ott 2011
then fzero will work as I suggested.
fzero(@(x) exp(x)+x-10,0)
says "Find the zeros of exp(x)+x-10 near 0
Categorie
Scopri di più su Calculus in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!