double calc( int angel) { return sin(2*pi*(5/48000)*l); }
Why do the function always returns zero?
my guess is because 5/48000 is so close to zero and sin of zero is zero, and "angel" has no effect in the result because is not use?
and you conversion from grads to rads is wrong?
Jenny just told me this;
5/48000 is not close to zero. it is zero. it is parenthesized and it is pure int calculation.
and it is angle in the real code. just pasted it badly.