Plots paketida rasmda matnli izohlarni chiqarish textplot buyrug‟i mavjud: textplot([xo,yo,‟text‟], options), bu yerda xo, yo – ‟text‟ matnini chiqarish boshlanadigan nuqtalar koordinatalari.
Tengsizlik bilan berilgan ikki o‟lchovli sohani hosil qilish.
Agar f1(x,y)>c1, f2(x,y)>c2,…,fn(x,y)>cn tengsizliklar sistemasi bilan berilgan ikki o‟lchovli sohani hosil qilish uchun inequal buyrug‟i ishlatiladi.
inequals({f1(x,y)>c1,…,fn(x,y)>cn}, x=x1…x2, y=y1..y2, options) buyrug‟ida figurali qavs ichida sohani aniqlovchi tengsizliklar sistemasi, so‟ngra esa koordinata o‟qlariningg o‟lchovlari va parametrlari ko‟rsatiladi. Parametrlar ochiq va yopiq chegaralar rangini, sohaning ichki va tashqi rangini hamda chiziq chegarasining qalinligini aniqlaydi:
optionsfeasible=(color=red) – ichki soha rangini o‟rnatadi;
optionsexcluded=(color=yellow) – tashqi soha rangini o‟rnatadi;
optionsopen(color=blue, thickness=2) – ochiq chegara chizig‟ining qalinligi va rangini o‟rnatadi;
optionsclosed(color=green,thickness=3) – yopiq chegara chizig‟ining qalinligi va rangini o‟rnatadi;
Masalan:
y=20-x funksiyaning grafigini “Maple” dasturida quyidagicha kiritiladi.
>with(plots):
implicitplot(x-y=20, x=-20..20, y=-16..16,color=green, thickness=2);
2)
y=2x2-3 funksiyaning grafigini “Maple” dasturida quyidagicha kiritiladi.
with(plots):
implicitplot(2*x^2-y=3, x=-20..20, y=-16..16,color=green, thickness=8);
y=x2-3 porabolaning grafigini yasang.
>with(plots):
implicitplot(x^2-y=3, x=-3..3, y=-16..16,color=green, thickness=8);
“Maple” dasturida y=kx+b funksiyaning grafigi.
Masalan: y=2x-3 funksiya grafigi:
with(plots):
implicitplot(y=2*x-3, x=-3..3,y=-16..16,color=bluee,thickness=8);
y=2x+12 funksiyaning grafigi.
>with(plots):
implicitplot(y=2*x+12, x=-4..4,y=-16..16,color=bluee,thickness=10);
y=5/2x funksiyaning grafigi:
Dostları ilə paylaş: |