Given the sinusoidal function
$$f(x) = a \cos(n x + b) + c,$$
if I know $f(x_1)$, $f(x_2)$, $f'(x_1)$ and $f'(x_2)$ is it possible to determine $a, b, c$ and $n$, with $x \in [0,\tfrac{2\pi}{n})$
Edit: put bounds on $x$ so that only one complete cycle is considered.
Edit 2: Current progress:
Let $p = p'/n$ and $x = x'-p'$ then
$$f(x) = a \cos(n x') + c$$
and
$$f'(x) = -an\sin(n x') + c$$
Let $x_2 = x_1 + w$, then we have
$$\frac{f'(x_2)}{f'(x_1)} = \frac{-na \sin(nx_1' + nw)}{-na \sin(nx_1')}$$ $$ = \cos(nw) + \frac{\sin(nw)}{\tan(nx_1')}$$
Rearranging, $$x_1' = \frac{\tan^{-1} \left( \frac{\sin(nw)}{\frac{f'(x_2)}{f'(x_1)} - \cos(nw)} \right)}{n}$$ which gives $p$ from before $(p = (x_1'-x_1)/n)$.
I'm most interested in finding $n$ so even if $a$ and $c$ can't be found it woudn't matter. Perhaps the above can be rearranged to give $n$?
Edit 2: Answered own question below.

f[x_] := a Cos[n x + b] + c; soln = Simplify[Solve[{f[x1] == av && f'[x1] == bv && f[x2] == cv && f'[x2] == dv}, {a, b, c}]]– NeuroFuzzy Jan 12 at 2:20