Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
Kurs Mathcad Autor: Sima Pastor
KURS MATHCAD-A ZA SREDNJOSKOLCE
Cas 9: Kreiranje grafika
Graph toolbar
Insert > Graph X-Y Plot vise nacina za kreiranje grafika
@
Primer
10 5 0 5 10
1
1
sin x( )
x
desni klik pa Format, ili
dvoklik na dijagram
Formatiranje grafika
12.4.2004 1/10
Kurs Mathcad Autor: Sima Pastor
12.4.2004 2/10
Kurs Mathcad Autor: Sima Pastor
klikni na grafik i . . .
podesi opseg prikaza funkcije po osama
2 4 6 8 10
1
1
sin x( )
x
12.4.2004 3/10
Kurs Mathcad Autor: Sima Pastor
Vezba 2. Smanji inkrement ranga varijable datog grafika na 0.1 . . .
0 5 10
50
40
30
20
10
f x( )
x
• Kreiraj grafik
x 0 10..:=x:0;10
See on screenType
Na primer:
• Definisi nezavisnu promenljivu u pravcu x-ose
f x( ) x2− 8 x⋅+ 27−:=f(x):-x^2[Spacebar]+8*x-27
See on screenType
• Definisi funkciju koju zelis nacrtati
Grafik funkcije koristeci rang varijable
sin x( )2
cos x( )
sin x( )
x
1
xx
22 x⋅+ 1−
1
1 x2+
z cos z( )⋅
Vezba 1. Nacrtaj grafike za funkcije . . .
12.4.2004 4/10
Kurs Mathcad Autor: Sima Pastor
t 2− 1.9−, 2..:=t:-2,-1.9;2
x 10− 9.9−, 10..:=x:-10,-9.9;10
g t( ) t3:=g(t):t^3
f x( ) sin x( ):=f(x):sin(x)
See on screenType
10 5 0 5 105
0
5
1
z
z2
z
1/z [Spacebar] , z^2 @ [Enter]
Type
Grafik dve ili vise funkcija
q y( )e
ln y( )
y2
:=r k( )sin k( ) k
2⋅tan k( )
:=t x( )2 ln x( )⋅
3x
:=g x( )x
32 x⋅−
1
x
:=
Vezba 3. Definisi rang varijable od -10 do 10 sa inkrementom 2 i nacrtaj grafik funkcija . . .
12.4.2004 5/10
Kurs Mathcad Autor: Sima Pastor
10 5 0 5 10
10
5
5
10
f x( )
g t( )
x t,
0.8085−
Komanda Trace
kopira vrednosti koordinate tacke, koje mozes lepiti u bilo koji drugi region
12.4.2004 6/10
Kurs Mathcad Autor: Sima Pastor
podacii
podaci[i
See on screenType
moras definisati indeks datih podatakai 0 7..:=i:0;7
See on screenType
jedna grupa podatakapotrosnja
2
3
6
8
11
12.5
14
17
:=
Graficki prikaz vektorskih elemenata
Komanda Zoom
12.4.2004 7/10
Kurs Mathcad Autor: Sima Pastor
0 2 4 6 8
5
10
15
20
potrosnjai
i
probaj formatirati grafik
dan
1
2
3
5
7
8
10
12
:= potrosnja
2
3
6
8
11
12.5
14
17
= dve grupe podataka
0 5 10 15
5
10
15
20
potrosnja
dan
12.4.2004 8/10
Kurs Mathcad Autor: Sima Pastor
Osnovno o 3D graficima
Primer 1:
M x y,( ) sin x( ) cos y( )+:= funkcija dve nezavisno promenljive
M
probaj sam formatirati 3D grafik
Primer 2:
G θ φ,( )5 2 cos θ( )+( ) cos φ( )⋅
5 2 cos θ( )+( ) sin φ( )⋅
2 sin θ( )⋅
:=
G
12.4.2004 9/10
Kurs Mathcad Autor: Sima Pastor
farbanje ravni
3D Scatter Plot
C
C CreateSpace H t0, t1, tgrid,( ):=
gornja granicat1 8:=
broj tacakatgrid 80:=donja granicat0 8−:=
jednacina zavojniceH t( )
sin t( )
cos t( )
t
:=
Primer 4:
probaj ovo sa Transparency
H
H u v,( ) 1u
30
2
+v
30
2
+:=
Primer 3:
12.4.2004 10/10