fork download
  1. #include <iostream>
  2. #include <math.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. double pi = 3.14;
  9. double y, a, k, h, d, l, r;
  10. cout << "Vvedite y->"; y=2;
  11. cout << "Vvedite a->"; a=2;
  12. cout << "Vvedite k->"; k=2;
  13. l = pow(sin((pi*y) / 6.0), 5.0);
  14. d = sqrt(pow(a, y) + log(fabs(a*k)));
  15. h = exp(1.5*pow(10, -3) - k) + y / d;
  16. r = h / (l + d);
  17. cout << "\nR=" << r << endl;
  18. return 0;
  19. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Vvedite y->Vvedite a->Vvedite k->
R=0.355259