Here you can find the source of sin(double anAngle)
public static double sin(double anAngle)
//package com.java2s; public class Main { /**// w w w .j ava 2 s . co m * Returns the sign of the given angle in degrees. */ public static double sin(double anAngle) { return Math.sin(Math.toRadians(anAngle)); } }