3-variant
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication53
{
class Program
{
static void Main(string[] args)
{
double U, k, y ;
Console.Write("k=");
k = double.Parse(Console.ReadLine());
Console.Write("y=");
y = double.Parse(Console.ReadLine());
U=(Math.Log(k-y)+Math.Pow(y,4))/(Math.Pow(Math.E,y)+2.355*Math.Pow(k,2));
Console.WriteLine("U=" + U);
Console.ReadLine();
}
}
}
Do'stlaringiz bilan baham: |