Professional Documents
Culture Documents
Tema 10
Tema 10
1 {
int x,y,z;
float e1,e2,e3,e4,e5;
cout<<"x=";
cin>>x;
cout<<"y=";
cin>>y;
cout<<"z=";
cin>>z;
e1=12*pow(x,6);
e2=pow(x,4)+21*pow(x,2)-3*x+4;
e3=pow(x,3)*pow(y,3)*z-2*x*y+pow(z,2);
e4=pow((x+y),2)+pow(z,3);
e5=x*pow((y+z),2)-25;
cout<<"e1="<<e1<<endl;
cout<<"e2="<<e2<<endl;
cout<<"e3="<<e3<<endl;
cout<<"e4="<<e4<<endl;
cout<<"e5="<<e5<<endl;
return 0;
int x,y,z,t,a;
float e1,e2,e3,e4,e5;
cout<<"x=";
cin>>x;
cout<<"y=";
cin>>y;
cout<<"a=";
cin>>a;
cout<<"t=";
cin>>t;
e1=(pow(x,3)+2*pow(y,2)+t/5*pow(x,2)-25);
e2=2*x*y*z/(3*x+y)*z;
e3(4*pow(x,3)+2*pow(y,2)+z)*t+t+x-x/2;
e4=(pow(x+2+t),2)(pow(t,3))-14*t*(x+y)/t-a;
e5=1/pow((x+y+z+t),2);
cout<<"e1="<<e1<<endl;
cout<<"e2="<<e2<<endl;
cout<<"e3="<<e3<<endl;
cout<<"e4="<<e4<<endl;
cout<<"e5="<<e5<<endl;
return 0;
int x,z,a,t;
float e1,e2,e3,e4;
cout<<"x=";
cin>>x;
cout<<"y=";
cin>>y;
cout<<"a=";
cin>>a;
cout<<"t=";
cin>>t;
e1=fabs(pow(x,2)-3*x-55);
e2=fabs(x*y*x-pow(t,2)+fabs(7*x-2*pow(7,2));
e3=fabs(3*x-fabs(10*pow((x+y),2)-100));
e4=fabs(x+fabs(2+fabs(x-y+2*z)+fabs (x+2*t)+15));
cout<<"e1="<<e1<<endl;
cout<<"e2="<<e2<<endl;
cout<<"e3="<<e3<<endl;
cout<<"e4="<<e4<<endl;
return 0;
int x,y,z;
float e1,e2,e3;
cout<<"x=";
cin>>x;
cout<<"y=";
cin>>y;
cout"z=";
cin>>z;
e1=sqrt(3*x+15*y+pow(z,2));
e2=sqrt(x+sqrt(x*y*z)-1);
e3=sqrt(x+sqrt(x+sqrt(x+sqrt(x+1))));
e4=sqrt(sqrt(23*pow(x,2)+zy)+75);
cout<<"e1="<<e1<<endl;
cout<<"e2="<<e2<<endl;
cout<<"e3="<<e3<<endl;
cout<<"e4="<<e4<<endl;
return 0;