Java tutorial
//package com.java2s; public class Main { public static float sin(double degree) { return (float) Math.sin(Math.toRadians(degree)); } }