Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double ka_func_ponto_fixo(double ka)
- {
- return (ka_func(ka)+ka);
- }
- void met_ponto_fixo_ka()
- {
- double x = 0, xn = 1;
- int it = 0;
- cout << "x\t\t\t|\tit" << endl;
- while (x != xn)
- {
- cout << x << "\t\t\t|\t" << it << endl;
- x = xn;
- it++;
- xn = ka_func_ponto_fixo(x);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement