Math.Tan()
using System; public class Trigonometry { public static void Main() { Double theta; for(theta = 0.1; theta <= 1.0; theta = theta + 0.1) { Console.WriteLine("Sine of " + theta + " is " + Math.Sin(theta)); Console.WriteLine("Cosine of " + theta + " is " + Math.Cos(theta)); Console.WriteLine("Tangent of " + theta + " is " + Math.Tan(theta)); Console.WriteLine(); } } }