static float PolinomGorner(float[] a, float x){ int n = a.Length - 1; float y = a[n]; for (int i = n - 1; i >= 0; i--) { y = x*y + a[i]; } return y;}