下列哪个选项是正确计算42度(角度)的余弦值?
A.double d=Math.cos(42); B.double d=Math.cosine(42); C.double d=Math.cos(Math.toRadians(42)); D.double d=Math.cos(Math.toDegrees(42));正确答案C
下列哪个选项是正确计算42度(角度)的余弦值?
A.double d=Math.cos(42); B.double d=Math.cosine(42); C.double d=Math.cos(Math.toRadians(42)); D.double d=Math.cos(Math.toDegrees(42));正确答案C