Java cos cos(double anAngle)

Here you can find the source of cos(double anAngle)

Description

Returns the cos of the given angle in degrees.

License

Open Source License

Declaration

public static double cos(double anAngle) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*w ww . j a  v a2  s. co  m*/
     * Returns the cos of the given angle in degrees.
     */
    public static double cos(double anAngle) {
        return Math.cos(Math.toRadians(anAngle));
    }
}

Related

  1. cos(double a)
  2. cos(double d)
  3. cos(double radians)
  4. cos(double[] v1, double[] v2)
  5. cos(double[] v1, double[] v2)