using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
double z1;
double z2;
double x;
Console.WriteLine("Vvedite x:");
x = double.Parse(Console.ReadLine());
z1 = (Math.Sin(x) + Math.Cos(x)) / (Math.Cos(x) - Math.Sin(x));
z2 = (Math.Sqrt(2) * Math.Sin(x / 2)) / 2;
Console.WriteLine("z1=" + z1);
Console.WriteLine("z2=" + z2);
Console.ReadLine();
}
}
}
|