Advertisement
houseofmath

Глушков Станислав ДЗ1(Asymptote) рисунок 3

Sep 16th, 2024
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 0.69 KB | Source Code | 0 0
  1. import geometry;
  2. defaultpen(fontsize(10pt));
  3. dotfactor = 4;
  4. size(9cm, 0);
  5. point A,B,C,D,M,dN,K,L;
  6. A=(0,0); B= 4*dir(65); C= 5.5*dir(30); D=6*dir(0);
  7. M=(A+B)/2; dN=(B+C)/2; K=(C+D)/2; L=(A+D)/2;
  8.  
  9. fill(M--dN--K--L--cycle, gray+0.25white);
  10. draw(A--B--C--D--cycle);
  11. draw(M--dN--K--L--cycle);
  12.  
  13. dot(A); label("$A$", A, S);
  14. dot(B); label("$B$", B, N);
  15. dot(C); label("$C$", C, N);
  16. dot(D); label("$D$", D, S);
  17. dot(M); label("$M$", M, W);
  18. dot(dN); label("$N$", dN, N);
  19. dot(K); label("$K$", K, E);
  20. dot(L); label("$L$", L, S);
  21.  
  22. draw(A--M^^M--B, white+opacity(0), StickIntervalMarker(1, 1, size=0.15cm));
  23. draw(B--dN^^dN--C, white+opacity(0), StickIntervalMarker(1, 2, size=0.15cm));
  24. draw(A--C);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement