Difference between revisions of "User:5849206328x"

m
m
Line 7: Line 7:
 
Label f;
 
Label f;
 
f.p=fontsize(6);
 
f.p=fontsize(6);
xaxis(-2,2);
+
xaxis(0,3);
 
yaxis(0,1.5);
 
yaxis(0,1.5);
  
real f1(real x) { return 1/(1 + x^2); }
+
real f1(real x) { return 1 - erf(5x); }
real f2(real x) { return 1/2 * (1/(1 + (x - 1)^2) + 1/(1 + (x + 1)^2)); }
+
real f2(real x) { return 1 - erf(x/2); }
  
draw(graph(f1,-2,2));
+
draw(graph(f1,0,3));
draw(graph(f2,-2,2), blue);
+
draw(graph(f2,0,3), blue);
  
label("$t = 0$",(0,1),NE);
+
label("$t\ll 1$",(0.1,f1(0.1)),NE);
 
label("$t = 1$",(1,f2(1)),NE,blue);
 
label("$t = 1$",(1,f2(1)),NE,blue);
  
 
//limits((-2,0),(2,2),Crop);
 
//limits((-2,0),(2,2),Crop);
 
</asy>
 
</asy>

Revision as of 10:17, 15 June 2015

[asy] import slopefield;  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  Label f; f.p=fontsize(6); xaxis(0,3); yaxis(0,1.5);  real f1(real x) { return 1 - erf(5x); } real f2(real x) { return 1 - erf(x/2); }  draw(graph(f1,0,3)); draw(graph(f2,0,3), blue);  label("$t\ll 1$",(0.1,f1(0.1)),NE); label("$t = 1$",(1,f2(1)),NE,blue);  //limits((-2,0),(2,2),Crop); [/asy]