Guest User

Untitled

a guest
Jul 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.67 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4.  
  5. int main()
  6. {
  7.      double x,z,w=0,v=0,y=0;
  8.      int i,j;
  9.      
  10.          printf("Podaj x:\n");
  11.      scanf("%lf", &x);
  12.          printf("Podaj z:\n");
  13.      scanf("%lf", &z);
  14.          printf("Podaj i:\n");
  15.      scanf("%d", &i);
  16.          printf("Podaj j:\n");
  17.      scanf("%d", &j);
  18.      
  19.      w=pow(((z+2)/i), 1./2)*pow(sin(x*x+z*z),j);
  20.      
  21.      v=(log(pow(x,2)) + 2*pow(x,2) + pow(z,-2))/( (x+z)*i ) + i/j;
  22.      
  23.      y=((x*log(pow(x,2) + 1))/2)*pow(sin(2*pow(x,2)-1),2);
  24.      
  25.      
  26.      printf("w=%6f\n", w);
  27.      printf("v=%6f\n", v);
  28.      printf("y=%6f\n", y);
  29.      
  30.      
  31.      system("PAUSE");
  32.      return 0;
  33. }
Add Comment
Please, Sign In to add comment