Exemple #1
0
 private void updateLineN()
 {
     LineN.Clear();
     for (double i = 0.1; i <= 3.2; i += 0.1)
     {
         LineN.Add(new KeyValuePair <double, double>(i, (u - (i * (rd + ra + rz))) / (c * 2 * i)));
     }
 }
 protected void updateLines()
 {
     LineN.Clear();
     LineM.Clear();
     LineI.Clear();
     for (double i = 0.1; i <= 1.2; i += 0.1)
     {
         LineN.Add(new KeyValuePair <double, double>(CalculateM(i) * CalculateN(i), CalculateN(i)));
         LineM.Add(new KeyValuePair <double, double>(CalculateM(i) * CalculateN(i), CalculateM(i)));
         LineI.Add(new KeyValuePair <double, double>(CalculateM(i) * CalculateN(i), i));
     }
 }