• > save(mylib, c:/mylib.m);
  • > with(mylib);
  • > mylib[f1]:=proc(x::anything) sin(x)+cos(x) end




    Download 218,08 Kb.
    bet7/7
    Sana16.05.2024
    Hajmi218,08 Kb.
    #237026
    1   2   3   4   5   6   7
    Bog'liq
    Maple tizimida dasturlash vositalari

    > mylib[f1]:=proc(x::anything) sin(x)+cos(x) end:

    > mylib[f2]:=proc(x::anything) sin(x)^2+cos(x)^2 end:

    > mylib[f3]:=proc(x::anything) if x=0 then 1 else sin(x)/x fi end:

    Maple tizimida foydalanuvchi bibliotekasini xosil qilish


    • with funksiyasi yordamida yaratilgan biblioteka haqiqatdan ham hozir kiritilgan proseduralarni saqlab qolganini tekshirib kurish mumkin, ularning ruyxati with(mylib) deb kursatganda chiqishi kerak: > with(mylib);

    • [f1, f2, f3]

    • Tekshirgandan keyin save komandasi yerdamida bibliotekani diskga saqlash mumkin.

    > save(mylib, c:/mylib.m);


    • Biblioteka S diskka yezildi, lekin u uchun maxsus yaratilgan papka joyini kursatish ma’qul.

    Maple tizimida foydalanuvchi bibliotekasini xosil qilish

    > with(mylib);


    • Error, (in pacman:-pexports) mylib is not package, keyin read buyrug’i bilan bibliotekani chaqiramiz:

    > read(c:/mylib.m);


    • Va nixoyat chaqirilgan bibliotekadan proseduralar ishlashini tekshirishimiz mumkin.

    Foydalanilgan adabiyotlar

    1. Абдурахмонов А.Г. “ПРИМЕНЕНИЕ МАТЕМАТИЧЕСКИХ ПАКЕТОВ В ОБРАЗОВАНИИ НА ПРИМЕРЕ МАТЕМАТИЧЕСКОГО ПАКЕТА MAPLE” "Экономика и социум" №3(82) 2021

    2. Манзон Б.М. Maple V Power Edition. М.: Филинъ, 1998.

    3. Говорухин В.Н., Цибулин В.Г. Введение в Maple V. Математический пакет для всех. М.: Мир, 1997.

    4. Прохоров Г.В., Леденев М.А., Колбеев В.В. Пакет символьных вычислений Maple V. М.: Петит, 1997

    5. B. W. Char. Maple Learning Guide. Maplesoft, a division of Waterloo Maple Inc. 2003

    Download 218,08 Kb.
    1   2   3   4   5   6   7




    Download 218,08 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    > mylib[f1]:=proc(x::anything) sin(x)+cos(x) end

    Download 218,08 Kb.