I need to find the cosin of an angle, but the result is returned in radians. The problem I am trying to solve is this: Y = cos(angle) * 12. It should be really simple, but when the result of cos(angle) is in radians, the answer is not correct. If I convert the result of cos(angle) to degrees, it is incorrect as well. Using a calculator,
cos(45) * 12 is 8.48. In java, cos(45) * 12 is 6.30. Thanks.
cos(45) * 12 is 8.48. In java, cos(45) * 12 is 6.30. Thanks.