Q:

C# program to demonstrate the use of Sin() method of Math class

belongs to collection: C# Math Class Programs

0

C# program to demonstrate the use of Sin() method of Math class

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Program:

The source code to demonstrate the use of Sin() method of Math class is given below. The given program is compiled and executed successfully.

using System;

class Sample
{
    //Entry point of Program
    static public void Main()
    {
        double SINE = 0.0;

        SINE = Math.Sin(0.7);
        System.Console.WriteLine("SINE of 0.7 is : "+SINE);
    }
}

Output:

SINE of 0.7 is : 0.644217687237691
Press any key to continue . . .

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C# program to demonstrate the use of Cos() method ... >>
<< C# program to demonstrate the use of Sign() method...