Here you can find the source of cosd(double degreeAngle)
public static double cosd(double degreeAngle)
//package com.java2s; //License from project: Open Source License public class Main { public static double cosd(double degreeAngle) { return Math.cos(Math.toRadians(degreeAngle)); }//ww w. ja va2 s. c o m }