Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // x - liczba do podstawienia
- // n - stopien wielomianu
- double horn(double x, int n)
- {
- double w = tab[0];
- for(int i = 1; i <= n; i++)
- w = w * x + tab[i];
- return w;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement