From the documentation of sind : For integers n , sind(n*180) is exactly zero, whereas sin(n*pi) reflects the ...
stackoverflow.com