Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<iomanip>
- #include<cmath>
- using namespace std;
- int main()
- {
- double x = 0;
- cout << "Enter x: ";
- cin >> x;
- double z1 = (x*x+2*x-3+(x+1)*sqrt(x*x-9))/(x*x-2*x-3+(x-1)*sqrt(x*x-9));
- double z2 = sqrt((x+3)/(x-3));
- cout <<fixed<<setprecision(2)<<z1<<" "<<z2;;
- system("pause>0");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement