Java examples for java.lang:Math Convert
get Temperature By Longitude Rev
//package com.java2s; public class Main { private static final int power = 174; public static double getTemperatureByLongitudeRev(int longitude) { double temp = power * 1 / Math.sin(Math.toRadians(90d - longitude)); return temp; }/*from ww w . j a v a 2 s . c o m*/ }