Android examples for java.lang:Math Trigonometric Function
Tangent of an angle
//package com.java2s; public class Main { /**// ww w . j a v a 2 s .co m * Tangent of an angle * * @param angle * angle * @return the tangent */ public static float tan(float angle) { return (float) Math.tan(angle); } }