using System; using static System.Console; using static System.Math; class main{ static Func F=delegate(double x, vector y){ return new vector(y[1],-y[0]); }; public static void Main(){ double a=0,b=2*PI; vector ya=new vector(0.0,1.0); var xs=new genlist(); var ys=new genlist(); double h=0.01,acc=1e-2,eps=1e-2; ode.driver(F,a,ya,b,acc,eps,h,xs,ys); for(int i=0;i