Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { public static float coTangent(float f) { return 1.0f / (float) Math.tan(f); } }