Advertisement
houseofmath

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

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