Amaliy topshiriqni bajarish bo’yicha namuna: Quyidagi ifodani x = 0.2 va y = -3.9 bo’lganda hisoblang:
MatLab dasturining Command Window oynasida >> belgisidan keyin qiymatlarni hamda ifodalarni quyidagicha kiritib boramiz va natijani olish uchun "Enter" tugmasini bosamiz:
>> x=0.2;
>> y=-3.9;
>> c=sqrt((sin(4/3*pi*x)+exp(0.1*y))/(cos(4/3*pi*x)+exp(0.1*y)))+...
((sin(4/3*pi*x)+exp(0.1*y))/(cos(4/3*pi*x)+exp(0.1*y)))^(1/3)
AMALIYOT ISHINING TOPSHIRIG’I: 1-topshiriq:Quyidagi ifodalarni va bo’lganda hisoblang:
1
2
3
4
5
6
7
8
9
10
2-topshiriq:
VARIANT-№1 Matlab dasturi yordamida quyidagi tenglikning qiymatini hisoblang: y=cos3π/8+sin33π/8+cos27π/8
Matlab dasturi yordamida quyidagi tenglamani yeching:
Berilgan qiymatlar yordamida amallarni bajaring.
a=2; b=1; x=-3; c=-2; y= ax3+b*x2+cx+c;
a=3; b=4; x=2; c=-1; y= ax2+b*x +c*(b/x);
Bitta koordinata sistemasida quyidagi y= e-2x cos(3x) funksiya grafigini chizing (x=[-2:0.05:3]);
Quyidagi tеnglamani sonli yеching va uning grafigini yasang: f(x)=2(x-3)2+4;
VARIANT-№2
Matlab dasturi yordamida quyidagi tenglikning qiymatini hisoblang: y=sin2π/8+sin33π/8+cos25π/8
Matlab dasturi yordamida quyidagi tenglamani yeching:
Berilgan qiymatlar yordamida amallarni bajaring.
a=1; b=2; x=2; c=-3; y= (ax2/b)+ (bx/c);
a=1; b=3; x=2; c=-4; y=ax4+bx3+cx2+b;
Bitta koordinata sistemasida quyidagi y= e-3x cos(x/3) funksiya grafigini chizing (x=[-2:0.05:3]);
Quyidagi tеnglamani sonli yеching va uning grafigini yasang: f(z)=3(z+1)2+7;
NAZORAT SAVOLLARI
Matlab dasturining asosiy oynasi nimalardan iborat.
Matlabda oddiy tenglamalarni yechish buyruqlarini ko’rsating.
Matlabda matrissalar ustida arifmetik ammallar bajarish buyruqlarini ayting.