SHOW:
|
|
- or go back to the newest paste.
| 1 | import geometry; | |
| 2 | ||
| 3 | size(9cm, 0); | |
| 4 | defaultpen(fontsize(10pt)); | |
| 5 | dotfactor = 4; | |
| 6 | ||
| 7 | - | pair A,B,B1,C; |
| 7 | + | point A,B,B1,O,C; |
| 8 | - | point O=origin; |
| 8 | + | |
| 9 | - | real r = 2; |
| 9 | + | B=(0,0); B1=-2*dir(80); |
| 10 | - | real x = 5/21; |
| 10 | + | circle circ = circle(B, B1); |
| 11 | - | circle circ = circle(O, r); |
| 11 | + | |
| 12 | - | B= point(circ, x*length(circ)); |
| 12 | + | |
| 13 | - | B1= point(circ, (x+1/2)*length(circ)); |
| 13 | + | A=point(circ, B-1/4*length(circ)); //не смог придумать решени, как от точки B отступить дугу 90 |
| 14 | ||
| 15 | fill(A--O--B--cycle, red+white); | |
| 16 | - | A=point(circ, (x+1/4)*length(circ) ); |
| 16 | + | |
| 17 | fill(A--O--C--B1--cycle, orange+white); | |
| 18 | ||
| 19 | markangle(Label("$\alpha$", Relative(0.5), align = NE), radius = 0.3cm, n=1, C,O,B);
| |
| 20 | - | fill(arc(O,B1,C)--O--cycle, orange+white); |
| 20 | + | |
| 21 | - | fill(arc(O,A,B1)--O--cycle, orange+white); |
| 21 | + | |
| 22 | draw(B--C^^O--C^^O--A^^A--B); | |
| 23 | draw(circ); | |
| 24 | ||
| 25 | ||
| 26 | pair p []={A, B, B1, C, O};
| |
| 27 | pair v []={W, N, S, SE, SW};
| |
| 28 | string n []={"$A$", "$B$", "$B_1$", "$C$", "$O$"};
| |
| 29 | ||
| 30 | for ( int k=0; k<p.length ; ++k) | |
| 31 | dot ( Label (n[k] , align =v[k]) ,p[k ]); | |
| 32 | ||
| 33 | label(Label("$1$", Relative(0.5)), A--O);
| |
| 34 | label(Label("$1$", Relative(0.5)), B--O);
| |
| 35 | label(Label("$1$", Relative(0.5)), C--O);
| |
| 36 | label(Label("$\sqrt2$", Relative(0.5), Rotate(dir(A--B)), align = N), A--B);
| |
| 37 | label(Label("$\frac{10}3$", Relative(0.5), Rotate(dir(B--C)), align = NE), B--C);
| |
| 38 | label("$S_1$", (A+O+B)/3);
| |
| 39 | label("$S_2$", (C+O+B)/3);
| |
| 40 | label("$S_3$", (3*A+3*O+C)/6); |