Advertisement
sutasuu

Homework№1(pic.2)

Sep 11th, 2024 (edited)
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 0.49 KB | Source Code | 0 0
  1. import geometry;
  2. size(9cm, 0);
  3. defaultpen(fontsize(10pt));
  4. dotfactor = 4;
  5.  
  6. point A,B,C, A1, B1, C1;
  7.  
  8. C=(0,0); B= 4*dir(70); A= 4*dir(0);
  9. A1=point(C--B, 1/3);
  10. B1=point(A--C, 1/3);
  11. C1=point(B--A, 1/3);
  12.  
  13.  
  14. fill(C1--B1--A1--cycle, gray+0.25white);
  15.  
  16. draw(A--B--C--cycle);
  17.  
  18. draw(A1--B1--C1--cycle);
  19.  
  20. dot(A);  label("$A$", A, S);
  21. dot(B);  label("$B$", B, N);
  22. dot(C);  label("$C$", C, S);
  23. dot(A1); label("$A_1$", A1, WNW);
  24. dot(B1); label("$B_1$", B1, S);
  25. dot(C1); label("$C_1$", C1, NE);
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement