find nonzero positive roots of the equation tan(q) = q in the given range.

20 views
Skip to first unread message

shahrokh...@gmail.com

unread,
Aug 19, 2018, 8:12:03 AM8/19/18
to yacas
Hello Dear yacas developers and users:

I want find nonzero positive roots of the equation tan(q) = q in the given range. How can I do it?
I want do it using Newton method. Unfortunately, I think that this method is not used in the given range and is calculated only one root.

Please guide me.
Best regards
Shahrokh

Grzegorz Mazur

unread,
Oct 22, 2018, 10:41:04 AM10/22/18
to yacas
Hi,

The Newton method is a numerical algorithm and will always return just one root, if any. To find another root you have to start your search in it's vicinity, eg 

Newton(Tan(x)-x,x,4.3,1e-10)

will return 4.493409457909064175, where

Tan(4.493409457909064175)-4.493409457909064175

yields -0.148638790869329223e-17.

Sorry for such late reply,
Grzesiek
Reply all
Reply to author
Forward
0 new messages