Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * Calculate tan^2(x).
     * 
     * @param x
     *          x
     * @return tan^2(x)
     * @since 1.0
     */
    protected static double tanSquared(double x) {
        return Math.tan(x) * Math.tan(x);
    }
}