4.2 - Figur - Två enhetscirklar med vinkeln 2π/3 (vinkeln π/6 mot y-axeln)
Förberedande kurs i matematik 1
(Skillnad mellan versioner)
(Ny sida: <noinclude>Detta är en figur som används i teoriavsnitt 4.2 och är ritad i språket [http://en.wikipedia.org/wiki/Metapost Metapost]. Du kan redigera b...) |
|||
Rad 123: | Rad 123: | ||
s := xpart (p_yaxis intersectiontimes subpath(0,1) of (bbox p_label2)); | s := xpart (p_yaxis intersectiontimes subpath(0,1) of (bbox p_label2)); | ||
t := xpart (p_yaxis intersectiontimes subpath(2,3) of (bbox p_label2)); | t := xpart (p_yaxis intersectiontimes subpath(2,3) of (bbox p_label2)); | ||
- | s := s+0. | + | s := s+0.01; |
t := t-0.02; | t := t-0.02; | ||
- | draw | + | draw (0,-Ly_lwr)--(0,0.7dy-1.5pt); |
+ | draw (0,0.7dy-1.5pt)--(0,0.7dy+1.5pt) withcolor 0.7[lightgrey,white]; | ||
+ | draw (0,0.7dy+1.5pt)--point s of p_yaxis; | ||
draw subpath(s,t) of p_yaxis withcolor 0.7[lightgrey,white]; | draw subpath(s,t) of p_yaxis withcolor 0.7[lightgrey,white]; | ||
drawarrow subpath(t,1) of p_yaxis; | drawarrow subpath(t,1) of p_yaxis; | ||
Rad 148: | Rad 150: | ||
path p_radius; | path p_radius; | ||
p_radius := (0,0)--R*dx*(dir 120); | p_radius := (0,0)--R*dx*(dir 120); | ||
- | pickup pencircle scaled | + | pickup pencircle scaled 1.2pt; |
draw p_radius; | draw p_radius; | ||
pickup pencircle scaled 2.8pt; | pickup pencircle scaled 2.8pt; | ||
Rad 181: | Rad 183: | ||
pickup nullpen; | pickup nullpen; | ||
fill p_triangle withcolor 0.7[lightblue,white]; | fill p_triangle withcolor 0.7[lightblue,white]; | ||
- | pickup pencircle scaled 0.2pt; | ||
- | draw p_triangle; | ||
% Background grid | % Background grid | ||
Rad 224: | Rad 224: | ||
startenddashed subpath(s,t) of p_circle; | startenddashed subpath(s,t) of p_circle; | ||
drawoptions(); | drawoptions(); | ||
+ | |||
+ | % Draw triangle | ||
+ | pickup pencircle scaled 0.6pt; | ||
+ | draw p_triangle; | ||
% The radius | % The radius | ||
Rad 232: | Rad 236: | ||
picture p; | picture p; | ||
p := thelabel.llft(btex $1$ etex, origin); | p := thelabel.llft(btex $1$ etex, origin); | ||
- | draw p scaled 0.7 shifted (0.6*R*dx*(dir 120)); | + | draw p scaled 0.7 shifted (0.6*R*dx*(dir 120)+(-2pt,0)); |
% The vertical leg | % The vertical leg | ||
picture p; | picture p; | ||
p := thelabel.rt(btex $\cos\dfrac{\pi}{6}$ etex, origin); | p := thelabel.rt(btex $\cos\dfrac{\pi}{6}$ etex, origin); | ||
- | draw p scaled 0.7 shifted ( | + | draw p scaled 0.7 shifted (2pt,0.57*R*sind(120)*dy); |
% The angle pi/6 | % The angle pi/6 |
Nuvarande version
Detta är en figur som används i teoriavsnitt 4.2 och är ritad i språket Metapost. Du kan redigera bilden genom att klicka på redigera-fliken.