using System;
class Program {
static int Main() {
Console.WriteLine("Введите x");
int x=Convert.ToInt32(Console.ReadLine());
double y=Math.Sqrt(Math.Cos(Math.PI/x)*Math.Cos(Math.PI/x)+0.25*Math.Sin(2*Math.Atan(1)))+x*x;
Console.WriteLine("y= "+ y);
Console.ReadKey();
return 0;
}
using System;
class Program {
static int Main() {
Console.WriteLine("Введите x");
int x=Convert.ToInt32(Console.ReadLine());
double y=Math.Sqrt(Math.Cos(Math.PI/x)*Math.Cos(Math.PI/x)+0.25*Math.Sin(2*Math.Atan(1)))+x*x;
Console.WriteLine("y= "+ y);
Console.ReadKey();
return 0;
}
}