Difference between revisions of "User:5849206328x"
5849206328x (talk | contribs) m |
5849206328x (talk | contribs) m |
||
Line 7: | Line 7: | ||
// Label f; | // Label f; | ||
// f.p=fontsize(6); | // f.p=fontsize(6); | ||
− | xaxis(- | + | xaxis(-4,4); |
− | yaxis(- | + | yaxis(-4,4); |
− | real f1(real x) { return | + | real f1(real x) { return (-2) * cos(x); } |
− | draw(graph(f1,- | + | draw(graph(f1,-4,4)); |
+ | draw((-pi,-0.1)--(-pi,0.1)); draw((pi,-0.1)--(pi,0.1)); | ||
+ | draw((-0.1,2)--(0.1,2)); draw((-0.1,-2)--(0.1,-2)); | ||
+ | draw((-2,-0.1)--(-2,0.1)); draw((2,-0.1)--(2,0.1)); | ||
− | + | draw((-2,f1(2))--(2,f1(2)),dashed); | |
− | |||
− | limits((- | + | label("$-\pi$",(-pi,-0.1),S); label("$\pi$",(pi,-0.1),S); |
+ | label("$mgl$",(-0.1,2),W); label("$-mgl$",(-0.1,-2),SW); | ||
+ | label("$-\theta_0$",(-2,-0.1),S); label("$\theta_0$",(2,-0.1),S); | ||
+ | label("$E$",(-1,f1(2)),N); | ||
+ | |||
+ | limits((-4,-4),(4,4),Crop); | ||
</asy> | </asy> |
Revision as of 13:57, 17 July 2015