Java tutorial
//package com.java2s; public class Main { public static double degreesToRadians(double degrees) { return (degrees * Math.PI / 180.0); } }