Navoiy davlat pedagogika instituti informatika va axborot texnologiyalar kafedrasi zamonaviy matematik paketlar




Download 7,05 Mb.
bet71/78
Sana22.07.2021
Hajmi7,05 Mb.
#15506
1   ...   67   68   69   70   71   72   73   74   ...   78
optionsfeasible=(color=red) - ichki soha rangini o`rnatish;

optionsexcluded=(color=yellow) - tashki ichki soha rangini o`rnatish ;

optionsopen(color=blue, thickness=2) - ochiq chegara chizigi qalinligi va rangini o`rnatish;
Misol:

1. Oshkormas funksiya grafigini chizing (giperbola): .

> with(plots):



>implicitplot(x^2/4-y^2/2=16,x=-20..20,y=-16..16,color=green, thickness=2);


2. Bir rasmga astroida grafigini va astroida grafigi ichiga ellipsni chizing. Astroida va Ellips yozuvi qalin shriftda va Ellips va tenglamasi birgalikda yozilsin. Buning uchun keyingi qatorni tering:

> with(plots):

> eq:=x^2/16+y^2/4=1:

>el:=implicitplot(eq, x=-4..4, y=-2..2, scaling=CONSTRAINED,color=green, thickness=3):

>as:=plot([4*cos(t)^3,2*sin(t)^3,t=0..2*Pi],color=blue, scaling=CONSTRAINED, thickness=2):

> eq1:=convert(eq,string):

> t1:=textplot([1.5,2.5,eq1], font=[TIMES, ITALIC, 10], align=RIGHT):

> t2:=textplot([0.2,2.5,"Ellips:"], font=[TIMES,BOLD,10], align=RIGHT):

> t3:=textplot([1.8,0.4,Astroida], font=[TIMES,BOLD,10], align=LEFT):

> display([as,el,t1,t2,t3]);





3. chiziqlar bilan chegaralangan soha ni quring.

> with(plots):



> inequal({x+y>0, x-y<=1, y=2}, x=-3..3, y=-3..3,optionsfeasible=(color=red),


Download 7,05 Mb.
1   ...   67   68   69   70   71   72   73   74   ...   78




Download 7,05 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Navoiy davlat pedagogika instituti informatika va axborot texnologiyalar kafedrasi zamonaviy matematik paketlar

Download 7,05 Mb.