• 2.2-misol
  • Topshiriq 3.Matlab
  • Kimyoviy texnologiya




    Download 1,94 Mb.
    bet2/2
    Sana12.12.2023
    Hajmi1,94 Mb.
    #117241
    1   2
    Bog'liq
    ABABKIROVA MARJONA

    Topshiriq №: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)




    x€[π/2; 2 π], y€[-3; 2]

    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)




    -11x2,5
    3.7>x > 2,5

    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
    Download 1,94 Mb.
    1   2




    Download 1,94 Mb.