Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
For 1 ≤ a ≤ 4, find a solution of f(x) = tan(x) + a sin(x)/x = 0 using Newton’s method. Plot the solution as a function of a. Please help me to solve it by matlab.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
6 commentaires
Jan
le 8 Fév 2022
"write the equation f(x)=tan(x)+asin(x)/x"
f = @(x) tan(x) + a * sin(x) / x;
Please ask your teacher or read in the book used for the lessons, what the Newton method is. Even WikiPedia explains this exhaustively.
This is a Matlab forum. Asking in a forum cannot replace learning numerical maths.
James Tursa
le 8 Fév 2022
E.g., see the algorithm here: https://en.wikipedia.org/wiki/Newton's_method
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!