daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void Oblicz_Click(object sender, EventArgs e)
  2.         {
  3.             int blad;
  4.             X0[1] = (Double)numericUpDownX1.Value; X0[2] = (Double)numericUpDownX2.Value; X0[3] = (Double)numericUpDownX3.Value;
  5.             RN = new RowNieLinMetodaNewtona(FunW, 3, X0, 1E-8, 1E-8, 1E-20, 100);
  6.             blad = RN.Rozwiaz();
  7.             label1.Text = "F1:" + RN.X[1].ToString("0.00") + " F2:" + RN.X[2].ToString("0.00") + " F3:" + RN.X[3].ToString("0.00");
  8.             chart1.Series[0].Points.Clear();
  9.             for (int i = 1; i <= 3; i++)
  10.             {
  11.                 chart1.Series[0].Points.AddY(RN.X[i]);
  12.             }
  13.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top