I want to draw the function (sin(2x) + sin(3x))/(2sin(x)) with the command
\draw[blue,domain=-8.5:8.5,smooth, variable=\x, blue] plot ({\x},{(sin(2 * \x) + sin(3 *\x) )/ (2*sin(\x))});
but somehow I'm getting a "You've asked me to divide 0.0' by0.0', but I cannot divide any number by `0.0'" error.
It is rendered perfectly using gnuplot, so it is not supposed to happen "in theory". SO far, I'v tried to lead the following packages, as suggested by similar posts, but it doesn't work :
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\usepackage{fp}
\usetikzlibrary{fixedpointarithmetic}
Remark : I don't wanna use external calls for instance with gnuplot to draw. This line of code up there is just a sample of my picture, and external calls will make it a nightmare to integrate properly.
I need a bit of help :(
Thanks ;-)

x=0because the denominator is zero at that point. If you use an even number of samples, the function won't be evaluated at that point, but if you use an odd number of samples, one sample will lie directly onx=0. – Jake May 06 '16 at 08:45plot ({\x},{(\x == 0 ? 2.5 : (sin(2 * \x) + sin(3 *\x) )/ (2*sin(\x))});but it is still failing... (withx=-0.0006, at it) – Rmano May 06 '16 at 09:13