Here you can find the source of radians(double d)
private static double radians(double d)
//package com.java2s; //License from project: Open Source License public class Main { private static double radians(double d) { return d * Math.PI / 180.0; }//ww w . j av a 2s . c o m }