1. Объем файла = 16*2048 бит = 16*2048/8 байт = 2*2048 байт = 2*2048/1024 Кбайт = 4 Кбайта.
2. 60 Кбайт = 60*1024 байт = 60*1024*8 бит
Время = 60*1024*8/3072 = 160 сек
3. S1 = t*v1, S2 = t*v2
S1/S2 = v1/v2, S2 = S1/(v1/v2)
v1/v2 = 1536/768 = 2
S2 = 80/2 = 40 Кбайт
4. S1 = t1*v, S2 = t2*v
S1/S2 = t1/t2, S2 = S1/(t1/t2)
t1/t2 = 60/75 = 4/5 = 0,8
S2 = 2000/0,8 = 2500 Кбайт
5. S1 = t1*v, S2 = t2*v
S1/S2 = t1/t2, t2 = t1/(S1/S2)
S1/S2 = 3/4 = 0,75
t2 = 2*60/0,75 = 160 сек
Using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Brainly1
{
class Program
{
static void Main(string[] args)
{
bool Mistake = false;
int N = 0;
do
{
Console.Write("Введите количество слагаемых: ");
try
{
N = Convert.ToInt32(Console.ReadLine());
Mistake = false;
}
catch (FormatException)
{
Mistake = true;
Console.Clear();
Console.WriteLine("Неверный формат ввода! Повторите попытку!");
Console.WriteLine();
}
}
while (Mistake == true);
Sum(N);
}
static void Sum(int N)
{
double[] Elements = new double[N];
double Result = 0;
for (int i = 0; i < N; i++)
{
Console.WriteLine();
Console.Write("Введите " + (i + 1) + " число: ");
try
{
Elements[i] = Convert.ToDouble(Console.ReadLine());
}
catch (FormatException)
{
Console.WriteLine("Неверный формат ввода!");
}
}
for (int j = 0; j < N; j++)
{
Result += Elements[j];
}
Console.WriteLine();
Console.Write("Сумма = " + Result);
Console.ReadKey();
}
}
}
Readln(x);
//X^Y = exp(ln(X) * Y) - возведение в степень
ctg1:=cos(x)/sin(x);
y:=sqrt(sqrt((x*x+3)/(x-1))-exp(ln(ctg1*5)*3);