Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<cmath>
- using namespace std;
- int main ()
- {
- double x,y, kint;
- cout<<"Iveskite x reiksme\n";
- cin>>x;
- cout<<"Iveskite kintamojo reiksme\n";
- cin>>kint;
- for (int i=1;i<=10;i++)
- {
- //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.);
- y=x
- x=x+kint;
- cout<<y << "\n";
- }
- system ("pause");
- return 0;
- }
Add Comment
Please, Sign In to add comment