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