|
Kimyoviy texnologiya
|
bet | 2/2 | Sana | 12.12.2023 | Hajmi | 1,94 Mb. | | #117241 |
Bog'liq ABABKIROVA MARJONATopshiriq №:2 . MathCAD dasturida ishlash
2.1-misol MathCAD dasturida funksiya qiymatini toping.Dasturda bajarilagandan so’ng skrenshot (rasmi)ga olinib qo‘yiladi)
Izoh: Nomalumlarni qiymatini talaba ixtiyoriy tarzda tanlab hisoblashadilar.
Bajarilishi:
Ekran ko`rinishi:
2.2-misol Dekart koordinatalar sistemasida quyidagi elementar funksiyalar grafigini MathCad dasturida yasang (Dasturda bajarilagandan so’ng skrenshot (rasmi)ga olinib qo‘yiladi)
Bajarilishi:
Ekran ko`rinishi:
2.3-misol Fazoda quyidagi funksiya grafigini MathCad dasturida yasang:
(Dasturda bajarilagandan so’ng skrenshot (rasmi)ga olinib qo‘yiladi)
Bajarilishi:
Ekran ko`rinishi:
Topshiriq 3.Matlab dasturida ishlash
3.1-misol MATLAB dasturida funksiyaning qiymatini hisoblang .(Matlab dasturida bajarilagandan so’ng skrenshot (rasmi)ga olinib qo‘yiladi)
Bajarilishi
>> a=0.93;
>> b=5.61;
>> c=0.31;
>> x=-2.5;
>> k=2;
>> y=log(abs(k.*x))./(sin(7))-sqrt(abs(x-a.^2))-(10.^4.*a-b)./(cos(k.*x))+(x-a.^2).^1./3+c.^3.*x
y =-3.2766e+04
Ekran ko`rinishi:
3.2-misol .Dekart koordinatalar sistemasida funksiyalar grafigini Matlab dasturida yasang (Matlab dasturida bajarilagandan so’ng skrenshot (rasmi)ga olinib qo‘yiladi)
Bajarilishi
>> x1=[-1:0.01:1];
y1=sin((x1).^2+1)+sqrt(cos(x1));
x2=[1:0.01:2.5];
y2=tan((x2).^2+1)+sqrt(sin(x2));
>> x3=[2.5:0.01:3.7];
>> y3=atan(cos(x3));
>> plot(x1,y1,x2,y2,x3,y3)
>>
Ekran ko`rinishi:
3.3-misol. Matlab dasturida fazoda quyidagi funksiyalar grafiklarini yasang
(Matlab dasturida bajarilagandan so’ng skrenshot (rasmi)ga olinib qo‘yiladi)
Bajarilishi
>> [x,y]=meshgrid(0:0.1:2.*pi,1:0.1:10);
>> z=(sin(x)).^2.*log(y);
>> mesh(x,y,z)
>>
Ekran ko`rinishi:
.
AXBOROTLASHTIRISH JARAYONI
|
| |