Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. double f(double x) // funkcja do testowania (H)
  2. {
  3. return 2 * exp(-x) - sqrt(exp(fabs(x))) - 1;
  4. }
  5.  
  6. double fp(double x) //pochodna
  7. {
  8. return -0.5 * exp(-x) * (pow(exp(fabs(x)),3/2) + 4);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement