Cos - CSharp System

CSharp examples for System:Math Geometry

Description

Cos

Demo Code


using System.Globalization;
using System.Collections.Generic;
using System;/* w  ww  .  j  a v a2 s .c  om*/

public class Main{
        static double Cos(double degrees) { return Math.Cos(degrees * Math.PI / 180); }
}

Related Tutorials