Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <iomanip>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- //const double pi=3.141592653589;
- double a, b;
- double wynik1, wynik2, wynik3;
- cout << "podaj a i b: " << endl;
- cout << "a= ";
- cin>>a;
- cout << "b= ";
- cin>>b;
- cout << endl;
- wynik1=sqrt( 7/( (pow(a,3))+cos( (M_PI*b) /180)) );
- cout << "wynik w podpunkcie a to: "<<fixed<<setprecision(6)<<wynik1<< endl<< endl;
- wynik2=sin( M_PI*(pow((a+b),4)/(sqrt(11)+1))/180 );
- cout << "wynik w podpunkcie b to: "<<fixed<<setprecision(6)<<wynik2<< endl<< endl;
- wynik3=pow( (cos(M_PI*(a+1)/180))/(sqrt(5)+3),3 );
- cout << "wynik w podpunkcie c to: "<<fixed<<setprecision(6)<<wynik3<< endl<< endl<< endl;
- system ("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement