• >f:=x^2*ln(x)
  • > restart:y:=x^3/(4-x^2):readlib(extrema):readlib(maximize): readlib(minimize)
  • >x:=2*sqrt(3):d2y(x):=d2;
  • Ko‘rinishi bilan tanishish




    Download 0,65 Mb.
    bet12/13
    Sana22.05.2024
    Hajmi0,65 Mb.
    #250683
    1   ...   5   6   7   8   9   10   11   12   13
    Bog'liq
    Maple dasturida turli xil matematik masalalarniyechish

    ymax:=maximize(y,{x});
    ymax:=0
    >ymin:=minimize(y,{x});

    Natijani yangi satrda matnli tartibda kiritamiz:
    “Ekstremumlar: .”
    Matematik simvollar va grek harflarini matnli tartibida kiritish uchun uskunalar panelidagi «Summa» belgili tugmachani tanlash kerak. Uskunalar panelining pastida hosil bo‘lgan satrda odatdagi buyruqlar kiritiladi va Enter tugmasi bosiladi. Masalan: ni hosil qilish uchun satrda sqrt(3) formula kiritiladi. Matnli tartibga o‘tish uchun uskunalar panelidagi tugmacha tanlanishi lozim.
    Demak, ikkinchi satrdagi formulani kiritishni quyidagi tartibda bajarish mumkin:
    Matnli taribda miny(x)=y(1/2)= ni kiritiladi;
    tugma tanlanadi;
    formula qatorida -Pi/24+sqrt(3)/16 ni kiritiladi;
    Enter;

    Matnli tartbga uskunalar panelidagi tugmachasi orqali qaytiladi.
    2-misol. f (x)  x2lnx ning x[1,2] oraliqdagi eng katta va eng kichik qiymatlari topilsin.
    Yechish:
    >f:=x^2*ln(x):

    >maximize(f,{x},{x=1..2});
    4ln(2)
    >minimize(f,{x},{x=1..2}):simplify(%);

    Natijani yangi satrda matnli tartibda hosil qilinadi:
    ”Eng katta qiymati: max f (x)  4ln2 , eng kichik qiymati: min f (x)  1/ 2e “.
    3-misol. funktsiyaning ekstremumlari topilsin va ikkinchi tartibli hosila orqali ularning xususiyatlari aniqlansin.
    Yechish:
    >restart:y:=x^3/(4-x^2):readlib(extrema):readlib(maximize): readlib(minimize):

    >extrema(y,{},x,'s');s;


    Ikkita ekstremum va uchta kritik nuqtalar topildi.Tekshirishni ikkinchi tartibli hosila yordamida davom ettirish mumkin:
    >d2:=diff(y,x$2): x:=0: d2y(x):=d2;

    d2y(0):=0
    >x:=2*sqrt(3):d2y(x):=d2;


    >
    Download 0,65 Mb.
    1   ...   5   6   7   8   9   10   11   12   13




    Download 0,65 Mb.