Guest User

Untitled

a guest
Jan 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include<iostream>
  2. #include<cmath>
  3. using namespace std;
  4. int main ()
  5. {
  6. double x,y, kint;
  7. cout<<"Iveskite x reiksme\n";
  8. cin>>x;
  9. cout<<"Iveskite kintamojo reiksme\n";
  10. cin>>kint;
  11. for (int i=1;i<=10;i++)
  12. {
  13. //y=exp(-1/10*x)-((1/tan(x)*1/tan(x)+1)-(1/sin(x)*sin(x)))*(exp(x)+exp(-x))*(exp(x)+exp(-x))-pow(cos(4*x),4.);
  14. y=x
  15. x=x+kint;
  16. cout<<y << "\n";
  17. }
  18. system ("pause");
  19. return 0;
  20. }
Add Comment
Please, Sign In to add comment