Даны действительные числа s, t. Определить функцию . Вычислить .
#include <stdio.h>
#include <conio.h>
#include <iostream.h>
#include <math.h>
float h(float a, float b);
int main(){
int s,t,res;
cout<<"Calculate function"<<endl;
cout<<"Enter s: ";cin>>s;
cout<<"Enter t: ";cin>>t;
res=h(s,t)+h(s-t,s*t)-h(s-t,s+t)*h(s-t,s+t)+h(1,1);
cout<<"Result: "<<res<<endl;
getch();
return 0;}
float h(float a, float b){
return ((a/(1+b*b))+(b/(1+a*a))-(a-b)*(a-b));}