|
|
@ -172,6 +172,7 @@ float Vmultiplier3(float x3,float m) { |
|
|
|
double Vparallel(double x1, double x2, double x3, double z1, double z2, double z3) { |
|
|
|
double i, j, k; |
|
|
|
double X1, X2, X3; |
|
|
|
double result; |
|
|
|
if (x1 > z1) { |
|
|
|
X1 = x1 / z1; |
|
|
|
i = X1 * 100; |
|
|
@ -194,8 +195,9 @@ double Vparallel(double x1, double x2, double x3, double z1, double z2, double z |
|
|
|
k = X3 * 100; |
|
|
|
} |
|
|
|
if (i == j && j == k) { |
|
|
|
return 0; |
|
|
|
result = 0; |
|
|
|
} else { |
|
|
|
return 1; |
|
|
|
result = 1; |
|
|
|
} |
|
|
|
return result; |
|
|
|
} |