package non2;
public class pro {
int s,t;
double th=new double[101];
int x=new int[101];
int p=new int[101];
int ox=new int[101];
int op=new int[101];
int cost;
double u=new double[101][3][21];
double w=new double[101][3][21];
int v=new int[101][3][21];
int rev=new int[101][3][21];
int gotox=new int[101][3][21];
int gotop=new int[101][3][21];
int x1,p1,x2,p2,xs,ps,r1,v1;
int maxv;
public static void main(String args) {
pro test=new pro();
}
pro(){
for(s=1;s<101;s++){
th[s]=10*s;
}
cost=10;
linear sub=new linear();
sub.cost=cost;
sub.th=th;
sub.makedata();
x=sub.x;
p=sub.p;
int h,time;
for(time=1;time<10;time++){
non sub2=new non();
sub2.cost=cost;
sub2.x=x;
sub2.p=p;
sub2.th=th;
sub2.makedata();
x=sub2.x;
p=sub2.p;
}
double pp;
pp=0;
for(s=1;s<100;s++){
if(x[s+1]>x[s])pp=(p[s+1]-p[s])/(x[s+1]-x[s]);
System.out.println(pp);
}
}
}