Advertisement
sutasuu

H2_pic7

Sep 19th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 1.60 KB | Source Code | 0 0
  1. import geometry;
  2.  
  3. size(9cm, 0);
  4. defaultpen(fontsize(8pt));
  5. dotfactor = 4;
  6. point A,B,C,D,M;
  7. A=origin; B=2*dir(75); D=5*dir(0); C=B+D;
  8. line a = bisector(line(A,B), line(A,D));
  9. line b = bisector(line(A,B), line(C,B),false);
  10. line c = bisector(line(B,C), line(C,D));
  11. line d = bisector(line(A,D), line(C,D), false);
  12.  
  13. point Ap1=intersectionpoint(a,b);
  14. point Ap2=intersectionpoint(a,d);
  15. point Cp1=intersectionpoint(c,b);
  16. point Cp2=intersectionpoint(c,d);
  17. M= intersectionpoint(a, line(B,C));
  18.  
  19. fill(Ap1--Ap2--Cp2--Cp1--cycle, pink+white);
  20.  
  21. markangle(Label("$\alpha/2$", Relative(0.5)), radius=0.35cm, D,A,M);
  22. markangle(radius=0.3cm, M,A,B);
  23. markangle(radius=0.35cm, B,M,A);
  24. markangle(radius=0.3cm, M,C,Cp1);
  25. markangle(radius=0.35cm, Cp2,C,D);
  26.  
  27. markangle(radius=0.35cm,n=2, A,B,Ap1);
  28. markangle(radius=0.3cm, n=2,Ap1,B,M);
  29. markangle(radius=0.3cm, n=2,C,D,Ap2);
  30. markangle(radius=0.35cm, n=2,Ap2,D,A);
  31.  
  32. markrightangle(size=0.15cm, Ap1, Ap2,Cp2);
  33. markrightangle(size=0.15cm, Ap2, Cp2,Cp1);
  34. markrightangle(size=0.15cm, Cp2, Cp1,Ap1);
  35. markrightangle(size=0.15cm, Cp1, Ap1,Ap2);
  36.  
  37. draw(A--B^^B--M, white+opacity(0), StickIntervalMarker(1, 2, size=0.15cm));
  38.  
  39. draw(A--(Ap2+1/2*dir(A--Ap2))^^B--(Cp1+1/2*dir(B--Cp1))^^C--(Cp1+1/2*dir(C--Cp1))^^D--(Ap2+1/2*dir(D--Ap2)));
  40.  
  41. draw(A--B--C--D--cycle);
  42.  
  43. dot(A^^B^^C^^D^^M^^Ap1^^Ap2^^Cp1^^Cp2);
  44. label("A", A, S);
  45. label("B", B, N);
  46. label("C", C, N);
  47. label("D", D, S);
  48. label("M", M, N);
  49. label(Label("$a$", Relative(0.5), Rotate(dir(A--B))), B--A);
  50. label(Label("$a$", Relative(0.5), Rotate(dir(B--M))), M--B);
  51. label(Label("$b-a$", Relative(0.3), Rotate(dir(M--C))), C--M);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement