киса

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Rk1.start(0, 1, 10, new Сoefficients() {
//u(x) = e^x
@Override
public double f(double x) {
return (x+2)*Math.pow(Math.E, x);
}
@Override
public double q(double x) {
return 1;
}
@Override
public double p(double x) {
return x;
}
@Override
public double getA() {
return 1;
}
@Override
public double getB() {
return Math.E;
}
});