Here you can find the source of cosDeg(double degrees)
public static float cosDeg(double degrees)
//package com.java2s; //License from project: Apache License public class Main { public static float cosDeg(double degrees) { return cosDeg((float) degrees); }/*from ww w. j a va2 s . c o m*/ }