Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. documentclass[10pt]{amsart}
  2. usepackage{mathtools,array}
  3.  
  4.  
  5. usepackage{tikz}
  6. usetikzlibrary{calc,positioning,intersections}
  7.  
  8.  
  9.  
  10.  
  11. begin{document}
  12.  
  13. begin{tikzpicture}[x=0.25cm, y=0.25cm]
  14.  
  15. %The centers of a circle of radius 4 and a circle of radius 5 are at a distance of 16 from each other. Two line segments
  16. %are to be drawn between them so that they are tangent to the circles. (It is a sketch of a conveyor belt.) The radii to
  17. %the point of tangency of the same line segment are parallel to each other. The centers of the circles are located on the
  18. %x-axis - the center of the circle of radius 5 is centered at the origin, and the center of the circle of radius 4 is
  19. %centered at (16,0). If theta is the measure of the angle between the x-axis and the two radii, the slope of
  20. %the line segment is sintheta/(16 - costheta). So, the slope of the radii is (costheta - 16)/sintheta. The slope is
  21. %also tantheta.
  22. %x = 5costheta.
  23. %x^2 + ((costheta - 16)/sintheta)^2*x^2 = 5^2.
  24. %tantheta=(costheta - 16)/sintheta.
  25. %This is a quartic equation in the variable x. The solution is 5*sqrt(65/2 - 4*sqrt(66)). The point of tangency on the circle
  26. %of radius 5 is
  27. %(5*sqrt(65/2 - 4*sqrt(66)), 5*sqrt(4*sqrt(66) - 63/2)).
  28. %
  29. %
  30. path (0,0) coordinate (center_of_first_circle) (16,0) coordinate (center_of_second_circle);
  31. %
  32. %
  33. %
  34. path let n1={5*sqrt(65/2 - 4*sqrt(66))}, n2={5*sqrt(4*sqrt(66) - 63/2)} in coordinate (a_point_of_tangency_on_bigger_circle) at (n1,n2);
  35. path let n1={5*sqrt(65/2 - 4*sqrt(66))}, n2={5*sqrt(4*sqrt(66) - 63/2)} in coordinate (another_point_of_tangency_on_bigger_circle) at (n1,-n2);
  36. %
  37. path let n1={2*sqrt(66)}, n2={sqrt(64*sqrt(66)-504)} in coordinate (a_point_of_tangency_on_smaller_circle) at (n1,n2);
  38. path let n1={2*sqrt(66)}, n2={sqrt(64*sqrt(66)-504)} in coordinate (another_point_of_tangency_on_smaller_circle) at (n1,-n2);
  39. %
  40. %
  41. draw (a_point_of_tangency_on_bigger_circle) -- (a_point_of_tangency_on_smaller_circle);
  42. draw (another_point_of_tangency_on_bigger_circle) -- (another_point_of_tangency_on_smaller_circle);
  43. %
  44. %
  45. %
  46. draw[blue] (center_of_first_circle) circle (5);
  47. draw[blue] (center_of_second_circle) circle (4);
  48.  
  49.  
  50. end{tikzpicture}
  51.  
  52. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement