sin From haversine - Java java.lang

Java examples for java.lang:Math Trigonometric Function

Description

sin From haversine

Demo Code


//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*/
}

Related Tutorials