Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # include <stdio.h>
- # include <stdlib.h>
- # include <math.h>
- int main(void)
- {
- int k;
- double x=1.,h=1.;
- for (k=0;k<=15;k++)
- {
- h=h/10;
- printf("%.15lf\n",((exp(x+h)-exp(x))/h ) );
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement