double a=0;
double N;
Console.WriteLine("Введите N");
N = Convert.ToDouble(Console.ReadLine());
for (int i = 1; i
a=(Math.Cos(i) / Math.Sin(i)) * (Math.Cos(i) + Math.Cos(i + 1) )/ (Math.Sin(i) + Math.Sin(i + 1));
Console.WriteLine(a);
Console.ReadLine();