Advertisement
houseofmath

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

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