Advertisement
houseofmath

Каракулов Ельаман ДЗ1(Asymptote) рисунок 1

Sep 16th, 2024
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 1.68 KB | Source Code | 0 0
  1. //settings.outformat="pdf";
  2. //settings.prc=false;
  3. //settings.render=0;
  4. import geometry;
  5. defaultpen(fontsize(12pt));
  6. dotfactor=7;
  7. size(9cm,0);
  8. point A, B, C, O, L, E, K, M;
  9.  
  10. A=(0,0); C=2*dir(0); B=1.75*dir(75); L=0.8*dir(0); K=(A+L)/2;
  11. E=point(B--C, 0.5); O=intersectionpoint(line(B,L),line(A,E));
  12. M=intersectionpoint(line(A,E),line(B,K));
  13.  
  14. fill(O--E--C--L--cycle, rgb(114, 242, 150));
  15. fill(O--L--K--M--cycle, rgb(97, 213, 240));
  16. fill(O--B--E--cycle, rgb(115, 139, 245));
  17. fill(O--B--M--cycle, rgb(245, 182, 137));
  18. fill(A--K--M--cycle, rgb(242, 153, 171));
  19. fill(A--B--M--cycle, rgb(135, 200, 250));
  20.  
  21. markangle(radius=0.5cm, n=1, C, A, E, filltype=Fill(rgb(219, 214, 65)));
  22. markangle(radius=0.75cm, n=1, E, A, B,filltype=Fill(rgb(219, 214, 65)));
  23. markangle(radius=0.5cm, n=2, L, B, C, filltype=Fill(rgb(235, 72, 80)));
  24. markangle(radius=0.75cm, n=2, A, B, L, filltype=Fill(rgb(235, 72, 80)));
  25. markrightangle(size=6, B, K, A);
  26. draw(A--K^^K--L, white+opacity(0), StickIntervalMarker(1, 1, size=0.15cm));
  27. draw(A--B^^B--C^^C--A, linewidth(1.8bp));
  28. draw(B--L, grey+dashed); draw(B--K); draw(A--E, grey+dashed);
  29.  
  30. dot(A, Fill(white)); dot(C, Fill(white)); dot(B, Fill(white));
  31. dot(L, Fill(white)); dot(K, Fill(white)); dot(E, Fill(white));
  32. dot(O, Fill(white));
  33.  
  34. label("$A$", A, S);
  35. label("$C$", C, S);
  36. label("$B$", B, N);
  37. label("$L$", L, S);
  38. label("$K$", K, NE);
  39. label("$E$", E, NE);
  40. label("$O$", O, WNW);
  41. label("$3a$", A--L, S);
  42. label(rotate(degrees(B-A))*"$6a$", A--B, W);
  43. label(rotate(degrees(O-B))*"$4a$", B--O, ENE);
  44. label(rotate(degrees(L-O))*"$2a$", O--L, ENE);
  45. label("$b$", L--C, S);
  46. pair midpoint_BC = (B + C)/2;
  47. label(rotate(degrees(C-B))*"$2b$", midpoint_BC + (0.2,-0.1));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement