Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #include <stdio.h>
- #include <conio.h>
- #include <math.h>
- #pragma hdrstop
- //---------------------------------------------------------------------------
- #pragma argsused
- int main(int argc, char* argv[])
- {
- double x, y, z, a, b ,c, rez;
- puts("\n\tx,y,z = ");
- scanf("%lf%lf%lf", &x, &y, &z);
- a = 1+pow(sin(x+y),2);
- b = fabs(x-(2*y)/(1+x*x*y*y));
- c = pow(x,fabs(y))+pow(cos(atan(1/z)*atan(1/z)),2);
- rez = a/b*c;
- printf("\n x = %7.3lf\n y = %7.3lf\n z = %7.3lf\nRezult = %lf\n", x, y, z, rez);
- puts("Press any key ... ");
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement