Java examples for java.lang:Math Trigonometric Function
sin From haversine
//package com.java2s; import static java.lang.Math.*; public class Main { static double sinFromHav(double h) { return 2 * sqrt(h * (1 - h)); }/*from w w w . j ava 2 s . c om*/ }