Here you can find the source of sin(float angle)
public static float sin(float angle)
//package com.java2s; //License from project: Open Source License public class Main { public static float sin(float angle) { return (float) Math.sin(angle); }//from w w w .j av a2 s.co m }