Difference between revisions of "User:5849206328x"

m
m
Line 1: Line 1:
 
<asy>
 
<asy>
 +
import slopefield;
 +
 
Label f;
 
Label f;
 
f.p=fontsize(6);
 
f.p=fontsize(6);
Line 12: Line 14:
 
real j(real x) { return y(x,-1/5); }
 
real j(real x) { return y(x,-1/5); }
  
 +
real z(real t, real y) { return t * (1 - y^2); }
 +
add(slopefield(z,(0,-2),(4,3),20,Arrow));
 +
 +
/*
 
draw(graph(f,0,4),red);
 
draw(graph(f,0,4),red);
 
draw(graph(g,0,4),darkgreen);
 
draw(graph(g,0,4),darkgreen);
 
draw(graph(h,0,4),blue);
 
draw(graph(h,0,4),blue);
 
draw(graph(j,0,0.71),purple); draw(graph(j,1.52,4),purple);
 
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));
draw((0,-1)--(4,-1),dashed);
+
draw((0,-1)--(4,-1));
  
 
label("$-3/2$",(0,-3/2),W);
 
label("$-3/2$",(0,-3/2),W);
Line 25: Line 31:
 
label("$1$",(0,1),W);
 
label("$1$",(0,1),W);
 
label("$2$",(0,2),W);
 
label("$2$",(0,2),W);
 +
*/
 
</asy>
 
</asy>

Revision as of 10:30, 28 April 2015

[asy] import slopefield;  Label f; f.p=fontsize(6); xaxis(0,4); yaxis(-2,3);  real e = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real y(real t, real a) { return (a - e^(-t^2))/(a + e^(-t^2)); } 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); }  real z(real t, real y) { return t * (1 - y^2); } add(slopefield(z,(0,-2),(4,3),20,Arrow));  /* draw(graph(f,0,4),red); 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)); draw((0,-1)--(4,-1));  label("$-3/2$",(0,-3/2),W); 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]