public void noViNoT(double vf, double Δx, double a){
        this.vf = vf;
        this.Δx = Δx;
        this.a = a;
        
        this.vi2 = Math.sqrt(Math.pow(vf,2) - (2*a*Δx));
        if(vf + vi2 == 0){
        	this.t2 = (vf-vi)/a;
        } 
        else {
        	this.t2 = (2*Δx) / (vf + vi2);
        }
        
        this.vi = -vi2;
        if(vf + vi == 0){
        	this.t = (vf-vi)/a;
        } 
        else{
        	this.t = (2*Δx) / (vf + vi);
        }
    }