using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lab1
{
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("The current date and time is " + System.DateTime.Now);
Console.WriteLine("Input x =\r");
double x =
Convert.ToDouble(Console.ReadLine());
double y = 20.7 + (Math.Pow(Math.Sin(1.2 * x),2) - Math.Acos(x / 8)) * (Math.Pow(Math.Exp(x),1.5));
Console.WriteLine("x = {0} \t y = {1}", x, y);
Console.ReadKey();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lab1
{
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("The current date and time is " +
System.DateTime.Now);
Console.WriteLine("Input x =\r");
double x =
Convert.ToDouble(Console.ReadLine());
double y = (Math.Sin(1.2 * x) - Math.Acos(x / 8)) * 1.5*x;
Console.WriteLine("x = {0} \v y = {1}", x, y);
Console.ReadKey();
}
}
}