double [] arr =new double [13];
int i = 0;
for (double x = 0; x <= 6; x += 0.5)
{
arr[i] = Math.Log(x + 3.7) * Math.Cos(x);
i+=1;
}
double min = arr.Min();
Console.WriteLine("Min = {0}",min);
Console.ReadKey();
Объяснение:
double [] arr =new double [13];
int i = 0;
for (double x = 0; x <= 6; x += 0.5)
{
arr[i] = Math.Log(x + 3.7) * Math.Cos(x);
i+=1;
}
double min = arr.Min();
Console.WriteLine("Min = {0}",min);
Console.ReadKey();
Объяснение: