Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double f(double x)
- {
- x = (x * x) + (x - 1);
- return (x);
- }
- void f(double *x)
- {
- *x = (*x * *x) + (*x - 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement