Ответы
Ответ дал:
0
Разбирайся.using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
const double stepSize = 0.32;
const double beginValue = 0.1;
const double endValue = 6.51;
const double alpha = 0.28;
static double function(double x)
{
double numerator;
double denumerator;
double fraction;
numerator = Math.Cos(x - alpha);
denumerator = Math.Sqrt(x);
fraction = numerator / denumerator;
return fraction;
}
static void Main(string[] args)
{
String outValue;
for (double x = beginValue; x <= endValue; x += stepSize)
{
outValue = "X: " + x + " Y: " + function(x);
Console.WriteLine(outValue);
}
while (true) ;
}
}
}
Ответ дал:
0
отлично конечно копирует XD
Ответ дал:
0
Ща поправим тут что бы было нормально
Ответ дал:
0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
const double stepSize = 0.32;
const double beginValue = 0.1;
const double endValue = 6.51;
const double alpha = 0.28;
static double function(double x)
{
double numerator;
double denumerator;
double fraction;
numerator = Math.Cos(x - alpha);
denumerator = Math.Sqrt(x);
fraction = numerator / denumerator;
return fraction;
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
const double stepSize = 0.32;
const double beginValue = 0.1;
const double endValue = 6.51;
const double alpha = 0.28;
static double function(double x)
{
double numerator;
double denumerator;
double fraction;
numerator = Math.Cos(x - alpha);
denumerator = Math.Sqrt(x);
fraction = numerator / denumerator;
return fraction;
}
Ответ дал:
0
static void Main(string[] args)
{
String outValue;
for (double x = beginValue; x <= endValue; x += stepSize)
{
outValue = "X: " + x + " Y: " + function(x);
Console.WriteLine(outValue);
}
while (true) ;
}
}
}
{
String outValue;
for (double x = beginValue; x <= endValue; x += stepSize)
{
outValue = "X: " + x + " Y: " + function(x);
Console.WriteLine(outValue);
}
while (true) ;
}
}
}
Ответ дал:
0
Вот так выгляит гораздо лучше)
Вас заинтересует
2 года назад
2 года назад
7 лет назад
9 лет назад
9 лет назад