Помогите,я новичок в этом деле и пока-что ,мало понимаю. Выдает такие ошибки:
main.cs(22,32): error CS0103: The name `sin' does not exist in the current context
main.cs(23,41): error CS0103: The name `PI' does not exist in the current context
Помогите,умоляю!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication4
{
class Program
{
static void Main (string[]args)
{
Console.Write("введите a= ");
double a = Convert.ToDouble(Console.ReadLine());
double y = 2*(Math.Pow(sin,2))*(3*PI-2*a)*(Math.Pow(cos,2))*(5*PI+2*a);
double z = 1/4-1/4*Math.Sin(5/2*PI-8*a);
Console.WriteLine("При a = {a} y = {y} z = {z}");
Console.ReadKey();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication4
{
class Program
{
static void Main (string[]args)
{
Console.Write("введите a= ");
double a = Convert.ToDouble(Console.ReadLine());
double y = 2*(Math.Pow(sin,2))*(3*PI-2*a)*(Math.Pow(cos,2))*(5*PI+2*a);
double z = 1/4-1/4*Math.Sin(5/2*PI-8*a);
Console.WriteLine("При a = {a} y = {y} z = {z}");
Console.ReadKey();
}
}
}
main.cs(22,32): error CS0103: The name `sin' does not exist in the current context
main.cs(23,41): error CS0103: The name `PI' does not exist in the current context
Помогите,умоляю!