Difference between revisions of "User:5849206328x"
5849206328x (talk | contribs) m |
5849206328x (talk | contribs) m |
||
Line 13: | Line 13: | ||
//real f(real x) { return 3 * (-1/x + 1/(2*x^2)); } | //real f(real x) { return 3 * (-1/x + 1/(2*x^2)); } | ||
− | pair g(real t) { return 16/(1 + | + | pair g(real t) { return 16/(1 + cos(pi * t/180)) * dir(t); } |
− | draw(graph(g,- | + | draw(graph(g,-150,150)); |
− | pair A = (4 | + | pair A = (5, 4 * sqrt(6)); |
− | draw((-25,0)--(25,0)); draw(( | + | draw((-25,0)--(25,0)); draw((16,-25)--(16,25)); draw((0,0)--(0,16),dashed); |
− | dot((0,0)); draw((0,0)--A--(A + (- | + | dot((0,0)); draw((0,0)--A--(A + (-2.5,4.1)),EndArrow); dot(A); |
− | |||
− | |||
− | label("$O$",(0,0),S); label("$ | + | label("$O$",(0,0),S); label("$l/2$",(4,0),S); label("$l/2$",(12,0),S); label("$l$",(0,8),W); |
− | label("$\mathbf{r}$",A/2,NW); label("$\theta$",(0. | + | label("$\mathbf{r}$",A/2,NW); label("$\theta$",(0.7,0),NE); label("$m$",A,NE); |
limits((-25,-25),(25,25),Crop); | limits((-25,-25),(25,25),Crop); | ||
− | |||
− | |||
− | |||
</asy> | </asy> |
Revision as of 14:58, 20 July 2015