Advertisement
sutasuu

Homework№1(pic.4)

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