Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen

6 Kommentare
Jan
am 8 Feb. 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
am 8 Feb. 2022
E.g., see the algorithm here: https://en.wikipedia.org/wiki/Newton's_method
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!