That worked perfectly, thank you very much.
Would you have any suggestions for running a plot with an array of n values and an array of c values over a range of x?
Try plotting the real and imaginary parts of the function. Something like
Plot[{Re[f[x]],Im[f[x]]},{x,...}]