4. Berilganlar: x=0.4x104,y=-0.875,
z=-0.475x10-3 ,
Natija: w=1.9873
#include
#include
using namespace std;
int main () {
float x,y,z,w;
cout<<"x=";
cin>>x;
cout<<"y=";
cin>>y;
cout<<"z=";
cin>>z;
w=pow(fabs(cos(x)-cos(y)),(1+2*pow(sin(y),2)))*(1+z+(pow(z,2)/2)+(pow(z,3)/3)+(pow(z,4)/4));
cout<<"w="<
system ("pause>>void");
return 0;
}
Do'stlaringiz bilan baham: |