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 . . .
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.
Output: