Advertisement
sutasuu

Homework№1(pic.3)

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