Here you can find the source of tand(double x)
Parameter | Description |
---|---|
x | angle in degrees |
public static final double tand(double x)
//package com.java2s; //License from project: Open Source License public class Main { /**//from w w w . ja va2s . co m * @param x angle in degrees * @return Tan() */ public static final double tand(double x) { return Math.tan(x * (Math.PI / 180.0)); } }