Advertisement
sutasuu

Homework№1(pic.5)

Sep 11th, 2024 (edited)
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 0.90 KB | Source Code | 0 0
  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. B=(0,0); A=2*dir(70); C= 3*dir(0); D= A+C;
  9.  
  10. M=intersectionpoint(line(A,C),line(B,D));
  11.  
  12. fill(A--M--B--cycle, gray+0.25white);
  13. fill(C--M--D--cycle, gray+0.25white);
  14.  
  15.  
  16. markangle(radius=0.45cm, n=1, C, M, D);
  17. markangle(radius=0.45cm, n=1, A, M, B);
  18.  
  19. dot(A); label("$A$", A, N);
  20. dot(B); label("$B$", B, S);
  21. dot(C); label("$C$", C, S);
  22. dot(D); label("$D$", D, N);
  23. dot(M); label("$M$", M, 2*N+0.5*E);
  24.  
  25. draw(B--A--D--C--cycle);
  26. draw(A--C^^B--D);
  27.  
  28. draw(A--M^^M--C, white+opacity(0), StickIntervalMarker(1, 1, size=0.15cm));
  29. draw(B--M^^M--D, white+opacity(0), StickIntervalMarker(1, 2, size=0.15cm));
  30.  
  31. label("$27$", B--A, W);
  32. label("$27$", C--D, E);
  33. label("$29$", C--B, S);
  34. label(Label("$26$", Relative(0.55), Rotate(dir(B--M))), B--M);
  35. label(Label("$26$", Relative(0.4), Rotate(dir(M--D))), M--D, N);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement