Advertisement
houseofmath

Александрова Людмила ДЗ1(Asymptote) рисунок 8

Sep 16th, 2024
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 1.22 KB | Source Code | 0 0
  1. import geometry;
  2. size(5cm);
  3. pen f=fontsize(0.2pt);
  4. dotfactor=3;
  5. pair A = dir(160);
  6. pair B = dir(70);
  7. pair C = dir(-30);
  8. pair B1 = dir(250);
  9. pair O=(0,0);
  10. pair A5=midpoint(A--B);
  11. pair A6=midpoint(B--C);
  12. pair A7=midpoint(O--C);
  13. pair A8=midpoint(A--O);
  14. pair A9=midpoint(B--O);
  15.  
  16. fill(arc(O,B,A)--O--cycle,paleblue);
  17. fill(arc(O,C,B)--O--cycle,palegreen);
  18. fill(arc(O,B1,C)--O--cycle,palered);
  19. fill(arc(O,A,B1)--O--cycle,palegrey);
  20.  
  21. draw(unitcircle, linewidth(0.4));
  22. dot("$A$", A, dir(A));
  23. dot("$B$", B, dir(B));
  24. dot("$C$", C, dir(C));
  25. dot("$B1$", B1, dir(B1));
  26. dot("$O$", O, dir(210));
  27. draw(O--A, linewidth(0.2));
  28. draw(O--B, linewidth(0.2));
  29. draw(O--C, linewidth(0.2));
  30. draw(O--B1, linewidth(0.2));
  31. draw(A--B, linewidth(0.2));
  32. draw(B--C, linewidth(0.2));
  33.  
  34. label(rotate(32)*"$\sqrt{2}$",A5, 2N+W, f);
  35. label(rotate(-67)*"$\frac{10}{7}$",A6, NE, f);
  36. label(rotate(-25)*"$1$",A8, 2S, f);
  37. label(rotate(-23)*"$1$",A7, 2S, f);
  38. label(rotate(-16)*"$1$",A9, W, f);
  39. markrightangle(B, O, A, linewidth(0.2));
  40. markangle(C, O, B, radius=0.35cm, linewidth(0.2));
  41. pair S1 = incenter(A,B,O);
  42. label("$S_{1}$",S1, S, f);
  43. pair S2 = incenter(C,B,O);
  44. label("$S_{3}$",S2, S, f);
  45. pair S3 = incenter(A,O,B1);
  46. label("$S_{3}$",S3, S, f);
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement