Difference between revisions of "User:5849206328x"
5849206328x (talk | contribs) m |
5849206328x (talk | contribs) m |
||
Line 2: | Line 2: | ||
Label f; | Label f; | ||
f.p=fontsize(6); | f.p=fontsize(6); | ||
− | xaxis(- | + | xaxis(-5,5); |
− | yaxis( | + | yaxis(-3,3); |
− | real f(real x) | + | real f(real x) { return sin(x); } |
− | { | + | real g(real x) { return x - x^3/6; } |
− | return | + | real h(real x) {return x - x^3/6 + x^5/120; } |
− | } | + | real i(real x) {return x - x^3/6 + x^5/120 - x^7/5040; } |
− | |||
− | label("$ | + | draw(graph(f,-5,5)); |
+ | draw(graph(g,-3.3,3.3),dotted); | ||
+ | draw(graph(h,-4.2,4.2),dotted); | ||
+ | draw(graph(i,-4.5,4.5),dotted); | ||
+ | |||
+ | label("$\sin(x)$",(5,sin(5)),E); | ||
+ | label("$T_3$",(3.3,-3),S); | ||
+ | label("$T_5$",(4.2,3),N); | ||
+ | label("$T_7$",(4.5,-3),S); | ||
</asy> | </asy> |
Revision as of 13:56, 24 April 2015