Variant 17 Savol 1


Download 8.77 Kb.
Sana21.11.2023
Hajmi8.77 Kb.
#1791524

XURRAMOV SHAXOBIDDIN ISMATILLO O‘G‘LI
VARIANT _ 17
Savol - 1:

Dastur Kodi:

#include
#include
using namespace std;
int main()
{
double Y,a;
cout<<"a = ";
cin>>a;
Y = 2*sqrt(2)*cos(a)*sin((M_PI)/4+2*a);
cout<<"Y = "< return 0;
}
Natija:

Savol - 2:


Dastur Kodi:
#include
#include
using namespace std;
int main()
{
double S = 0, x, y, z;
x = 0.1476;
y = 3.56;
z = 1.25 * pow(10, -4);
if ((fabs(x - y) * z + x * x) != 0) {
S = 5 * atan(x) - (1.0 / 4) * acos(x) * (x + 3 * fabs(x - y) + x * x) * 1.0 / (fabs(x - y) * z + x * x);
}
cout << "S = " << S;
return 0;
}

Natija:


Download 8.77 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling