why in matlab sin(pi) and cos(pi/2) arent 0?! but the answer of sin(pi/2) and cos (0) are 1.
i try it and the answer arent zero. The mathematical reason for this is clear, but the reason for this happening in MATLAB is unknown to me, please explain it. why the answer arent zero.