Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # include <stdio.h>
  2. # include <stdlib.h>
  3. # include <math.h>
  4.  
  5. int main(void)
  6. {
  7. int k;
  8. double x=1.,h=1.;
  9.  
  10. for (k=0;k<=15;k++)
  11. {
  12. h=h/10;
  13. printf("%.15lf\n",((exp(x+h)-exp(x))/h ) );
  14. }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement