public void a(int i, double* x, double* a) { a[0] = this.k1.fV() * (this.theta1.fV() - x[0]); a[1] = this.k2.fV() * (this.theta2.fV() - x[1]); }