I noticed that MATLAB has a sin()
and sind()
functions.
I learnt that sin()
accepts the angle in radians and sind()
accepts the angle in degrees.
The only difference I know is sind(180)
gives 0 but sin(pi)
doesn't:
>> sin(pi)
ans =
1.2246e-016
>> sind(180)
ans =
0
What boggles me is whether there is any scenarios or guidelines to choose between using sin()
or sind()
?