005-2-guruh talabsi O`rinboyev Dilshod
O`qituvchi:Shobdarov Elbek
30-Bilet
1.Misol
#include
#include
using namespace std;
int main()
{
float Y,a;
a=1.57;
Y=1-1*pow(sin(2*a),2)/4+cos(2*a);
cout<<"Y="<return 0;
}
Dastur natijasi:
2.Misol
#include
#include
using namespace std;
int main()
{
float fi,x,y,z,F;
x=-2.235*pow(10,-2);
y=2.23;
z=15.221;
fi=(pow(2.71,abs(x-y))*pow(abs(x-y),x+y))/(atan(x)+atan(z))+pow(pow(x,6)+pow(log(y),2),1/3);
cout<<"F="<return 0;
}
Dastur natijasi:
3.Misol
#include
#include
using namespace std;
int main()
{
float x,Y,a;
cout<<"a ni kiriting:"; cin>>a;
if (a>5) {Y=a/(a*a+x); cout<<"Y="<if (a<=5) {Y=1/(2*a*a*a+sin(a)); cout<<"Y="<return 0;
}
Dastur natijasi :
Do'stlaringiz bilan baham: |