Вариант : 135 fio: Qobilbek Abduxalikov Quyida berilgan misollarni MathСad tizimida bajaring


Download 0.5 Mb.
Sana08.01.2022
Hajmi0.5 Mb.
#244526
Bog'liq
v-135


Вариант : 135 FIO: Qobilbek Abduxalikov

2. Quyida berilgan misollarni MathСad tizimida bajaring:

1) Berilgan funktsiyani MathСad tizimida hisoblang

2) Berilgan funktsiyani MathСad tizimida hisoblang

3)Berilgan tenglamalar sistemasini MathСad tizimida grafigini chizing (aniqlik h=0.1 qadam)





1.






2.



3.



3. MatLAB dasturida:

1) dekart koordinatalar sistemasida quyidagi elementar funksiya grafikliarini yasang

2) fazoda quyidagi funksiya grafigini yasang

3) Matritsalarning determinantini, teskarisini hisоblаsh dаsturi tuzing





1.

Ekran ko’rinishi:



2.

Ekran ko’rinishi:



3.

matritsa va teskari matritsaning determinanti:





4.Quyida berilgan misollarni blok semasini va C++da dasturini tuzing C++ dasturida:

1) chiziqli dastur tuzing va natijasini oling;

2) tarmoqlanuvchi dastur tuzing va natijasini oling;

3) takrorlanuvchi dastur tuzing va natijasini oling;





1.

Boshlandi

x = 14.01; b = 1.31;



S

tamom



#include

#include

using namespace std;

int main() {

double x,y;

x = 14, y=1.31;

double S = (1-sqrt(2-2*cos(x*y)))+y;

cout << "S = " << S << endl;

return 0;

}

Ekran ko’rinishi:





2.



Boshlandi

X

ha yo’q X<=3.1



x>6

ha yo’q

y

tamom

#include

#include

using namespace std;

int main() {

double x, y;

cout << "x = ";

cin >> x;

if (x <= 3.1) {

y = 3.2 + log(abs(pow(x, 2) + 1));

} else if (x > 3.1 && x <= 6) {

y = pow(10, -3) + tan(pow(x, 2) + 3.5);

} else {


y = 0.1 + atan((pow(x, 3) + 1) / (x * x - 1));

}

cout << "y = " << y << endl;



return 0;

}

Ekran ko’rinishi:





3.



Boshlandi

k,a


P=1

k=1..8

y

tamom



Ekran ko’rinishi:


Download 0.5 Mb.

Do'stlaringiz bilan baham:




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