void Button3Click(object sender, EventArgs e) { double[] xx = new double[data.Count]; double[] yy = new double[data.Count]; double[] tt = new double[data.Count]; int j = 0; foreach (SData prime in data) // Loop through List with foreach { xx[j] = prime.x; yy[j] = prime.y; tt[j] = 0.020 * j; j++; } CDataIO io = new CDataIO(); io.WriteArrayToFile("x.dat", (uint)data.Count, xx); io.WriteArrayToFile("y.dat", (uint)data.Count, yy); io.WriteArrayToFile("t.dat", (uint)data.Count, tt); io.ShowDataImager("DataImager2.2.exe", "t x"); //io.ShowDataImager("DataImager2.2.exe","t y"); }
void Button2Click(object sender, EventArgs e) { double[] y = new double[100000]; double[] x = new double[100000]; //x[0]=0; //y[0]=/*ApeLAC(100,0.01,0.00001)+*/IntLAC(10,1); for (int i = 0; i < 100000; i++) { x[i] = Math.Log10(i + 1); y[i] = 1; //ForLAC(1,Tc,i+1)+ApeLAC(1,Tu,i+1)+ApeLAC(Ke,Ta,i+1)+IntLAC(1,i+1)+IntLAC(1,i+1)+ForLAC(1,T,i+1); } //double [] delta=row; DIO.WriteArrayToFile("y.dat", 100000, y); DIO.WriteArrayToFile("x.dat", 100000, x); DIO.ShowDataImager("DataImager2.2.exe", "x y"); }
void Button4Click(object sender, EventArgs e) { TrAero(); io.ShowDataImager("DataImager2.2.exe", "lambda Tr"); }