Advertisement
StereoLove

ortskhoev1lab

Jul 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #include <stdio.h>
  4. #include <conio.h>
  5. #include <math.h>
  6. #pragma hdrstop
  7. //---------------------------------------------------------------------------
  8. #pragma argsused
  9. int main(int argc, char* argv[])
  10. {
  11. double x, y, z, a, b ,c, rez;
  12. puts("\n\tx,y,z = ");
  13. scanf("%lf%lf%lf", &x, &y, &z);
  14. a = 1+pow(sin(x+y),2);
  15. b = fabs(x-(2*y)/(1+x*x*y*y));
  16. c = pow(x,fabs(y))+pow(cos(atan(1/z)*atan(1/z)),2);
  17. rez = a/b*c;
  18. printf("\n x = %7.3lf\n y = %7.3lf\n z = %7.3lf\nRezult = %lf\n", x, y, z, rez);
  19. puts("Press any key ... ");
  20. getch();
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement