CoCalc Public Fileswww / talks / circles / example.tex
Author: William A. Stein
1\documentclass[12pt]{article}
2\usepackage{pstricks}
3\pagestyle{empty}
4\textwidth=1.2\textwidth
5\hoffset=-.7in
6\textheight=1.2\textheight
7\voffset=-.9in
8\begin{document}
9
10{\LARGE$$y^2 = x^3 + 1$$}
11
12\begin{center}
13\psset{unit=.75in}
14\pspicture(-2,-5)(5,5)
15\psgrid[gridcolor=gray]
16
17\pscircle*[linecolor=red](2,3){0.1}\rput(2.5,3){$(2,3)$}
18\pscircle*[linecolor=red](0,1){0.1}\rput(0.5,1){$(0,1)$}
19
20\psline[linewidth=0.03]{->}(-2,0)(5,0)\rput(5.2,0){$x$}
21\psline[linewidth=0.03]{->}(0,-5)(0,5)\rput(0,5.2){$y$}
22
23\pscurve[linecolor=blue]
24(2.8500,4.9141)
25(2.8000,4.7908)
26(2.7500,4.6687)
27(2.7000,4.5478)
28(2.6500,4.4282)
29(2.6000,4.3099)
30(2.5500,4.1930)
31(2.5000,4.0773)
32(2.4500,3.9631)
33(2.4000,3.8502)
34(2.3500,3.7387)
35(2.3000,3.6286)
36(2.2500,3.5200)
37(2.2000,3.4129)
38(2.1500,3.3073)
39(2.1000,3.2032)
40(2.0500,3.1008)
41(2.0000,3.0000)
42(1.9500,2.9008)
43(1.9000,2.8033)
44(1.8500,2.7077)
45(1.8000,2.6138)
46(1.7500,2.5217)
47(1.7000,2.4316)
48(1.6500,2.3435)
49(1.6000,2.2574)
50(1.5500,2.1734)
51(1.5000,2.0916)
52(1.4500,2.0121)
53(1.4000,1.9349)
54(1.3500,1.8602)
55(1.3000,1.7880)
56(1.2500,1.7184)
57(1.2000,1.6516)
58(1.1500,1.5877)
59(1.1000,1.5267)
60(1.0500,1.4688)
61(1.0000,1.4142)
62(0.95000,1.3628)
63(0.90000,1.3149)
64(0.85000,1.2704)
65(0.80000,1.2296)
66(0.75000,1.1924)
67(0.70000,1.1588)
68(0.65000,1.1289)
69(0.60000,1.1027)
70(0.55000,1.0799)
71(0.50000,1.0606)
72(0.45000,1.0445)
73(0.40000,1.0315)
74(0.35000,1.0212)
75(0.30000,1.0134)
76(0.25000,1.0077)
77(0.20000,1.0039)
78(0.15000,1.0016)
79(0.10000,1.0005)
80(0.050000,1.0000)
81(0,1.0000)
82(-0.050000,0.99993)
83(-0.10000,0.99950)
84(-0.15000,0.99831)
85(-0.20000,0.99599)
86(-0.25000,0.99215)
87(-0.30000,0.98640)
88(-0.35000,0.97832)
89(-0.40000,0.96747)
90(-0.45000,0.95335)
91(-0.50000,0.93541)
92(-0.55000,0.91303)
93(-0.60000,0.88543)
94(-0.65000,0.85169)
95(-0.70000,0.81055)
96(-0.75000,0.76034)
97(-0.80000,0.69857)
98(-0.85000,0.62118)
99(-0.90000,0.52057)
100(-0.95000,0.37765)
101(-1.0000,0)
102(-1.0000,0)
103(-0.95000,-0.37765)
104(-0.90000,-0.52057)
105(-0.85000,-0.62119)
106(-0.80000,-0.69857)
107(-0.75000,-0.76034)
108(-0.70000,-0.81055)
109(-0.65000,-0.85169)
110(-0.60000,-0.88544)
111(-0.55000,-0.91303)
112(-0.50000,-0.93541)
113(-0.45000,-0.95335)
114(-0.40000,-0.96747)
115(-0.35000,-0.97833)
116(-0.30000,-0.98641)
117(-0.25000,-0.99216)
118(-0.20000,-0.99599)
119(-0.15000,-0.99831)
120(-0.10000,-0.99950)
121(-0.050000,-0.99994)
122(0,-1.0000)
123(0.050000,-1.0000)
124(0.10000,-1.0005)
125(0.15000,-1.0016)
126(0.20000,-1.0039)
127(0.25000,-1.0077)
128(0.30000,-1.0134)
129(0.35000,-1.0212)
130(0.40000,-1.0315)
131(0.45000,-1.0445)
132(0.50000,-1.0606)
133(0.55000,-1.0799)
134(0.60000,-1.1027)
135(0.65000,-1.1289)
136(0.70000,-1.1588)
137(0.75000,-1.1924)
138(0.80000,-1.2296)
139(0.85000,-1.2704)
140(0.90000,-1.3149)
141(0.95000,-1.3628)
142(1.0000,-1.4142)
143(1.0500,-1.4688)
144(1.1000,-1.5267)
145(1.1500,-1.5877)
146(1.2000,-1.6516)
147(1.2500,-1.7184)
148(1.3000,-1.7880)
149(1.3500,-1.8602)
150(1.4000,-1.9349)
151(1.4500,-2.0121)
152(1.5000,-2.0916)
153(1.5500,-2.1734)
154(1.6000,-2.2574)
155(1.6500,-2.3435)
156(1.7000,-2.4316)
157(1.7500,-2.5217)
158(1.8000,-2.6138)
159(1.8500,-2.7077)
160(1.9000,-2.8034)
161(1.9500,-2.9008)
162(2.0000,-3.0000)
163(2.0500,-3.1008)
164(2.1000,-3.2032)
165(2.1500,-3.3073)
166(2.2000,-3.4129)
167(2.2500,-3.5200)
168(2.3000,-3.6286)
169(2.3500,-3.7387)
170(2.4000,-3.8502)
171(2.4500,-3.9631)
172(2.5000,-4.0773)
173(2.5500,-4.1930)
174(2.6000,-4.3100)
175(2.6500,-4.4282)
176(2.7000,-4.5478)
177(2.7500,-4.6687)
178(2.8000,-4.7908)
179(2.8500,-4.9141)
180\endpspicture
181
182\vspace{.5in}
183Add $(0,1)$ and $(2,3)$ together!
184\end{center}
185
186\end{document}
187
188