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(0,1); | |
− | + | yaxis(0,0.5); | |
− | //real | + | //real f(real x) { return (-2) * cos(x); } |
+ | pair g(real t, real k) { return (1/k * 3/5 * (1 - e^(-k * t)), -t/k + 1/k * (4/5 + 1/k) * (1 - e^(-k * t))); } | ||
+ | pair g1(real t) { return g(t,1); } | ||
+ | pair g2(real t) { return g(t,0.2); } | ||
+ | pair h(real t) { return (3/5 * t, -1/2 * t^2 + 4/5 * t); } | ||
− | + | draw(graph(g1,0,2)); | |
+ | draw(graph(g2,0,2)); | ||
+ | draw(graph(h,0,2)); | ||
− | + | label("$k = 1$",(0.44,0),NE); | |
− | + | label("$k = 0.1$",(0.79,0),NE); | |
− | + | label("$k = 0$",(0.96,0),NE); | |
− | + | //draw(graph(f,-4,4)); | |
− | draw(( | ||
− | |||
− | + | limits((0,0),(2,2),Crop); | |
− | |||
− | |||
− | |||
− | |||
</asy> | </asy> |
Revision as of 15:25, 18 July 2015