Advertisement
BojidarDosev

zad 2

Dec 6th, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4. //zadacha 2
  5.  
  6. double reshenie(double m)
  7. {
  8. double r = pow((m + 1), 2) + 2 * pow((m / 4), 5) - 6 / (m + 11) + 4 * m;
  9. return r;
  10. }
  11.  
  12. int main()
  13. {
  14. double m;
  15. cin >> m;
  16. cout << reshenie(m);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement