Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //settings.outformat="pdf";
- //settings.prc=false;
- //settings.render=0;
- import geometry;
- defaultpen(fontsize(12pt));
- dotfactor=7;
- size(9cm,0);
- point A, B, C, O, L, E, K, M;
- A=(0,0); C=2*dir(0); B=1.75*dir(75); L=0.8*dir(0); K=(A+L)/2;
- E=point(B--C, 0.5); O=intersectionpoint(line(B,L),line(A,E));
- M=intersectionpoint(line(A,E),line(B,K));
- fill(O--E--C--L--cycle, rgb(114, 242, 150));
- fill(O--L--K--M--cycle, rgb(97, 213, 240));
- fill(O--B--E--cycle, rgb(115, 139, 245));
- fill(O--B--M--cycle, rgb(245, 182, 137));
- fill(A--K--M--cycle, rgb(242, 153, 171));
- fill(A--B--M--cycle, rgb(135, 200, 250));
- markangle(radius=0.5cm, n=1, C, A, E, filltype=Fill(rgb(219, 214, 65)));
- markangle(radius=0.75cm, n=1, E, A, B,filltype=Fill(rgb(219, 214, 65)));
- markangle(radius=0.5cm, n=2, L, B, C, filltype=Fill(rgb(235, 72, 80)));
- markangle(radius=0.75cm, n=2, A, B, L, filltype=Fill(rgb(235, 72, 80)));
- markrightangle(size=6, B, K, A);
- draw(A--K^^K--L, white+opacity(0), StickIntervalMarker(1, 1, size=0.15cm));
- draw(A--B^^B--C^^C--A, linewidth(1.8bp));
- draw(B--L, grey+dashed); draw(B--K); draw(A--E, grey+dashed);
- dot(A, Fill(white)); dot(C, Fill(white)); dot(B, Fill(white));
- dot(L, Fill(white)); dot(K, Fill(white)); dot(E, Fill(white));
- dot(O, Fill(white));
- label("$A$", A, S);
- label("$C$", C, S);
- label("$B$", B, N);
- label("$L$", L, S);
- label("$K$", K, NE);
- label("$E$", E, NE);
- label("$O$", O, WNW);
- label("$3a$", A--L, S);
- label(rotate(degrees(B-A))*"$6a$", A--B, W);
- label(rotate(degrees(O-B))*"$4a$", B--O, ENE);
- label(rotate(degrees(L-O))*"$2a$", O--L, ENE);
- label("$b$", L--C, S);
- pair midpoint_BC = (B + C)/2;
- label(rotate(degrees(C-B))*"$2b$", midpoint_BC + (0.2,-0.1));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement