Advertisement
J3st3rs_j0k3

pr2n2

Oct 4th, 2021
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.46 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4.  
  5. int main()
  6. {
  7.     double a, b, res;
  8.     scanf("%lf %lf", &a, &b);
  9.     if ((sqrt(2.5*a+3*b+sqrt(2)) >= 0) && (b > 1) && (sqrt(2.5*a+3*b+sqrt(2))*log(b) != 0 )){
  10.         res = (sin(pow(a, 3))+2*(pow(cos(b),2)))/(sqrt(2.5*a+3*b+sqrt(2))*log(b));
  11.         printf("result = %lf", res);
  12.     }
  13.     else
  14.         printf("Недопустимая область определения");
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement