1 – laboratoriya topshiriq variantlari


Download 395.72 Kb.
bet2/2
Sana21.11.2020
Hajmi395.72 Kb.
#149174
1   2
Bog'liq
1 ish



  1. 2 –jadvalda berilgan ifodalarning qiymatini hisoblash uchun C++ dasturlash tilida dastur kodini yozing. Excel yordamida tekshiruvni bajaring:

#include

#include

using namespace std;
int main(){

double x,y,z,v;

x = 3.74*pow(10,-2);

y = -0.825;

z = 0.16 * pow(10,2);

// v = 1.0553;

double result1 ;

double result2 ;

result2 = pow(cos(atan(1/z)),2);

result1 = (1+pow(sin(x+y),2))/(x-(2*y/(1*pow(x,2) * pow(y,2))))*pow(x,abs(y));



cout<<(result1 + result2)<return 0;

}


Download 395.72 Kb.

Do'stlaringiz bilan baham:
1   2




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