Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <math.h>
- #include <stdio.h>
- int main()
- {
- float y, h=0.05, a, b, x;
- printf("Введите а\t");
- scanf ("%f", &a);
- printf("Введите b\t");
- scanf ("%f", &b);
- printf("Введите h\t");
- scanf ("%f", &h);
- printf("x \t y\n");
- do {
- y=a*a-logf(1+a)-3;
- printf(" %0.2f \t %0.4f \n",a ,y);
- a=a+h;
- }
- while (a<=b);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement