Advertisement
Guest User

Untitled

a guest
Oct 15th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include <cmath>
  4. using namespace std;
  5. const double e=0.0001;
  6. int main()
  7. {
  8. double y,x,t;
  9. cin>>x;
  10. y=0;
  11. t=x;
  12. if
  13. while (fabs(t)>e)
  14. {
  15. y=y+t;
  16. t=(t*(3*x*x-0,1*x+7)+((x-1)/(x*x-x+1))+(3*pow(cos(y),2)))/((3*x*x-0,1*x+7)-(3*sin(2*y)))
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement