#### Topic: getting coefficients

I am not a mathematician, but I use Graph for some of my engineering work. I have an equation:

f(x) = a {sin[atan(-bx]}

and a set of points. I determined a and b by trial and error to make the curve match the points. Is there a better method to let the software do the work?