Ответ:
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;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
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;
}
}