of 15

• date post

13-Sep-2019
• Category

Documents

• view

0

0

Embed Size (px)

Transcript of II. grafika - Blog for(IIVIIAGLIVELS) II. grafika sia aris Tanamedrove daprogramebis enebis ZiriTadi

• II. grafika

sia aris Tanamedrove daprogramebis enebis ZiriTadi obieqti. Mathematica

sistemis gamosaxulebebis nebismieri mimdevroba Cawerili figurul frCx-

ilebSi warmoadgens sias. wvdoma siis elementebTan xorcieldeba ormagi

kvadratuli frCxilebis gamoyenebiT. Mathematica sistemaSi sul arsebobs

frCxilebis oTxi tipi:

(a+b)c,{a,b,c},f[x],m[[i]] an mPiT.

grafikebis ageba

grafikis asagebad gamoiyeneba Plot funqcia, romelic Seicavs or

aucilebel arguments: funqcia f[x], romlis grafiki unda avagoT (an funq-

ciebis sia), da funqciis gansazRvris are {xmin, xmax}, romelic Seicavs

Plot[f[x], {x, xmin, xmax}]

Plot@Tan@xD, 8x, -Pi, Pi

• x = 2;

Plot@x^2, 8x, -3, 3

• Plot@Sin@xD, 8x, 0, 2 Pi

• Options@PlotD

:AlignmentPoint ® Center, AspectRatio ® 1

GoldenRatio , Axes ® True,

AxesLabel ® None, AxesOrigin ® Automatic, AxesStyle ® 8

• Plot@8x^3, Cos@xD

• {8.0, 0}

Plot3D funqcia

zemod moyvanil yvela magaliTSi iyo ganxiluli mxolod erTi cvladis

funqciebi da Sesabamisad Cven vRebulobdiT funqciis grafiki sibrtkeze.

Plot3D funqciis gamoyenebiT SegviZlia avagoT funqciis grafiki sivrceSi:

Plot3D[f[x,y],{x, xmin, xmax},{y, ymin, ymax}]. ganvixiloT magaliTi.

Plot3D@Sin@x + y^2D, 8x, -3, 3

• ListPlot@881, 2

• ListPlot@Table@Sin@iD, 8i, 1, 9, 0.3

• ParametricPlot@8 Sin@uD + 7 u , Cos@uD u

• ParametricPlot3D@8Sin@uD, Cos@uD, u 10

• Plot@Sin@x + 1D, 8x, -10, 10

• AnimateAPlotAt Ix2 - 1M, 8x, -2, 2

• Animate@Plot@Sin@a xD + Sin@b xD, 8x, 0, 10

• 8opTable@Plus, 3D, opTable@Times, 3D, opTable@Times, 4D, opTable@Divide, 3D<

: 1 2 3

1 2 3 4

2 3 4 5

3 4 5 6

,

1 2 3

1 1 2 3

2 2 4 6

3 3 6 9

,

1 2 3 4

1 1 2 3 4

2 2 4 6 8

3 3 6 9 12

4 4 8 12 16

,

1 2 3

1 1 1

2

1

3

2 2 1 2

3

3 3 3

2 1

>

Manipulate@opTable@o, nD, 8n, 1, 10

• Û davaleba

1. aageT F(x)= x^2+Sin[53x] funqciis grafiki {-2,2} Sualedze.

2. ggamoTvaleT Semdegi gamosaxuleba:

Plot@Evaluate@S = Input@"Please input a function of x to plot on the unit interval"DD, 8x, -4, 4