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(0, | + | xaxis(0,4); |
− | yaxis( | + | yaxis(-2,3); |
real e = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; | real e = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; | ||
− | real | + | real y(real t, real a) { return (a - e^(-t^2))/(a + e^(-t^2)); } |
− | real | + | real f(real x) { return y(x,1); } |
+ | real g(real x) { return y(x,-3); } | ||
+ | real h(real x) { return y(x,1/5); } | ||
+ | real j(real x) { return y(x,-1/5); } | ||
− | draw(graph(f,0, | + | draw(graph(f,0,4),red); |
− | draw(graph(g,0, | + | draw(graph(g,0,4),darkgreen); |
+ | draw(graph(h,0,4),blue); | ||
+ | draw(graph(j,0,0.71),purple); draw(graph(j,1.52,4),purple); | ||
+ | draw((0,1)--(4,1),dashed); | ||
+ | draw((0,-1)--(4,-1),dashed); | ||
− | label("$ | + | label("$-3/2$",(0,-3/2),W); |
− | label("$ | + | label("$-1$",(0,-1),W); |
+ | label("$-2/3$",(0,-2/3),W); | ||
+ | label("$0$",(0,0),W); | ||
+ | label("$1$",(0,1),W); | ||
+ | label("$2$",(0,2),W); | ||
</asy> | </asy> |
Revision as of 10:24, 28 April 2015