gashink_t

решение линейного уравнение и составление таблицы спараметро

Feb 11th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main()
  4. {
  5. float i,x,a,y;
  6. for (a=2, i=1; a<=2.6; a=a+0.2, i=i+1.0)
  7.      {printf("Tablyca %0.0f:  Parametr= %0.1f\n",i, a);
  8.     for (x=0.1; x<=1.0; x=x+0.2)
  9.          {
  10.          y=3.14/pow(x,1)+ pow(a,x)+log(a*x);
  11.          printf("x=%0.1f y=%0.1f \n", x, y);
  12.          }
  13.      }
  14. return 0;
  15. }
Add Comment
Please, Sign In to add comment