Solving transcedental equation

1. Sep 11, 2011

russel.arnold

i want to solve tan (f(x)) = g(x) ..also i want to determine all the possible solutions!
which numerical method i should use?

2. Sep 11, 2011

DuncanM

Since tan has an infinite number of asymptotes, the first questions I'd have to ask is, will you be considering a particular range? Once you have a range, any numerical method could do the job.

I'd also wonder how accurate do you need solutions? To two decimal places? Three? Four? . . . If you didn't need a high degree of accuracy, perhaps even a graphical approach would work for you.

3. Sep 11, 2011

russel.arnold

yes, i will be considering tan from 0 to infinity, i.e all possible branches

and i need my solutions to be accurate. hence graphical approach wont work :(

4. Sep 12, 2011

Floid

I would first evaluate f(x) and then use that result in the series expantion of tangent taken however far you want to get the accuracy you desire to solve.

That will work for all possible solutions.