Advertisement
houseofmath

Киятккин Кирилл ДЗ2(Asymptote) рисунок 4

Sep 16th, 2024
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 1.05 KB | Source Code | 0 0
  1. import geometry;
  2. import patterns;
  3.  
  4. size (9cm ,0);
  5. defaultpen ( fontsize (8pt ));
  6. dotfactor=4;
  7.  
  8. point A, B, C, A_1, B_1, C_1, M, N_, K, T;
  9. B=(4,4); C=(5,0);
  10. path a = (B--C), b=(A--C), c=(A--B);
  11. A_1=point(a,0.36*length(a));
  12. B_1=point(b,3/5*length(b));
  13. C_1=point(c,0.4*length(c));
  14. line l=line (A,C); line d= parallel (B,l);
  15. T=intersectionpoint(line(C, C_1), d);
  16. M=extension(A,A_1,C,C_1);
  17. N_=extension(A,A_1,B,B_1);
  18. K=extension(C,C_1,B,B_1);
  19. add("lines",hatch(1mm, dir(-60),heavygreen));
  20.  
  21. fill(M--N_--K--cycle, pattern("lines"));
  22. markangle(C,T,B, radius=0.7cm);
  23. markangle(T,C,A, radius=0.7cm);
  24. markangle(C,B_1,B, radius=0.3cm, n=2, space=0.07cm);
  25. markangle(T,B,B_1, radius=0.3cm, n=2, space=0.07cm);
  26.  
  27. draw(a^^b^^c, 1pt+black);
  28. draw(A--A_1^^B--B_1^^C--T^^B--T);
  29.  
  30. label("$\frac{15}{2}a$", (T+B)/2, N);
  31. label("$3a$", (A+B_1)/2, S);
  32. label("$2a$", (C+B_1)/2, S);
  33.  
  34. dot("$A$",A, SW); dot("$B$",B,N); dot("$C$",C, SE); dot("$A_1$",A_1); dot("$B_1$",B_1, S); dot("$C_1$",C_1, 2N+0.5W); dot("$T$",T, N); dot("$M$",M,2N); dot("$K$",K,SW); dot("$N$",N_, SE);
  35.  
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement