PDA

View Full Version : newtons method


RadiationX
Nov12-04, 03:22 PM
i have the answer to this problem i just see why i'm not getting the same answer as my solution manuel. i Have two functtions f(x) = x and g(x) = tan(x)
and i have to find where these two functions are equal using newtons method.
i subtracted the two functions to get this new function H(x) = x -tan(x) then i found the differential of this new function to be 1 - sec^2 (x). now by looking at the given graph of the first two functions i estimated the soulution to be about 4.1. then by unising newtons method i calculated two iterations and got an answer of 8.5987, which is wrong the answer is 4.493. what could i be doing wrong? i know how to use newtons method.

Muzza
Nov12-04, 03:43 PM
You need to use a better first approximation.

NateTG
Nov12-04, 04:50 PM
i have the answer to this problem i just see why i'm not getting the same answer as my solution manuel. i Have two functtions f(x) = x and g(x) = tan(x)
and i have to find where these two functions are equal using newtons method.
i subtracted the two functions to get this new function H(x) = x -tan(x) then i found the differential of this new function to be 1 - sec^2 (x). now by looking at the given graph of the first two functions i estimated the soulution to be about 4.1. then by unising newtons method i calculated two iterations and got an answer of 8.5987, which is wrong the answer is 4.493. what could i be doing wrong? i know how to use newtons method.

Are you sure that the two functions are only equal in one place? x and tan x intersect in *lots* of places.

RadiationX
Nov12-04, 05:30 PM
x has to be between pi/2 and 3pi/2 these are the asmyspotes.

BobG
Nov13-04, 05:02 PM
You need to use a better first approximation.

You need a real good first approximation, otherwise it never converges. If you know that the tangent of 3 pi/2 is undefined and start a little lower than that, you're okay. If your guess is less than around 4.29, you won't converge.

RadiationX
Nov13-04, 09:07 PM
thanks guys the last reply helped me out.