Difference between revisions of "User:5849206328x"

m
m
Line 17: Line 17:
 
add(slopefield(z,(0,-2),(4,3),20,Arrow));
 
add(slopefield(z,(0,-2),(4,3),20,Arrow));
  
/*
+
pair one(real y) { return (1/(1 - y^2),y); }
 +
pair two(real y) { return (-1/(1 - y^2),y); }
 +
 
 
draw(graph(f,0,4),red);
 
draw(graph(f,0,4),red);
 
draw(graph(g,0,4),darkgreen);
 
draw(graph(g,0,4),darkgreen);
Line 24: Line 26:
 
draw((0,1)--(4,1));
 
draw((0,1)--(4,1));
 
draw((0,-1)--(4,-1));
 
draw((0,-1)--(4,-1));
 +
 +
draw(graph(one,-0.867,0.867),dashed);
 +
draw(graph(two,-2,-1.118),dashed);
 +
draw(graph(two,1.118,3),dashed);
  
 
label("$-3/2$",(0,-3/2),W);
 
label("$-3/2$",(0,-3/2),W);
Line 31: Line 37:
 
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:40, 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));  pair one(real y) { return (1/(1 - y^2),y); } pair two(real y) { return (-1/(1 - y^2),y); }  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));  draw(graph(one,-0.867,0.867),dashed); draw(graph(two,-2,-1.118),dashed); draw(graph(two,1.118,3),dashed);  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]