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, | + | xaxis(0,4); |
− | yaxis( | + | yaxis(-1,2); |
− | //real | + | real f(real x) { return (2/3) * (e^(-15 * x) + e^((-5/3) * 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)) | + | real g(real x) { return (4/3) * e^(-x) * cos(4 * x); } |
− | + | real h(real x) { return (4/3) * e^(-5 * x) * (1 + 5 * 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))); } | |
− | |||
− | draw(graph( | + | draw(graph(f,0,4)); |
− | draw(graph( | + | draw(graph(g,0,4)); |
− | draw(graph(h,0, | + | draw(graph(h,0,4)); |
− | + | limits((0,-2),(4,2),Crop); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</asy> | </asy> |
Revision as of 19:03, 18 July 2015