Java tutorial
//package com.java2s; public class Main { /** * Calculate sec(x). * * @param x * x * @return sec(x) * @since 1.0 */ protected static double sec(double x) { return 1.0 / Math.cos(x); } }