private void GetPCB_RM(DataTable dt)
{
double max = 0;
for (int i = 1; i <= dt.Rows.Count; i++)
{
double t_minus = 2 * _PI - GetPeriodByTaskNumber(dt, i);
double t_pow = Math.Pow(GetPeriodByTaskNumber(dt, i) - 2 * _PI, 2);
double t_sqrt = Math.Sqrt(t_pow + 8 * _PI * Get_i(dt, i));
double t_value = (t_minus + t_sqrt) / 4;
max = Math.Max(max, t_value);
}
Console.WriteLine("PCB for RM = " + max + " / " + _PI + "\t" + max / _PI);
}
[Obsolete]