Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int _tmain(int argc, _TCHAR* argv[])
- {
- double x,a,b,h;
- cout << "Enter x:";
- cin >> x;
- a=(x*x+2*x-3+(x+1)*sqrt(x*x-9))/(x*x+2*x-3+(x+1)*sqrt(x*x-9));
- b=sqrt((x+3)/(x-3));
- h=a-b;
- cout << "Result h=" << h << endl;
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment