Difference between revisions of "User:5849206328x"

m
m
Line 1: Line 1:
 
<asy>
 
<asy>
size(324);
+
size(360);
  
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
  
xaxis("$x$",0,6);
+
xaxis(-1,1,Bars);
yaxis("$ct$",0,5);
+
yaxis(-1,1,Bars);
  
//real f(real x) { return (x^3 - 9 * x^2 + 29 * x - 15)/6; }
+
real f(real x, real v) { return (x + v)/(1 + x * v); }
 +
real f0(real x) { return f(x,0); }
 +
real f1(real x) { return f(x,0.1); }
 +
real f5(real x) { return f(x,0.5); }
 +
real f9(real x) { return f(x,0.9); }
  
draw((0,0)--(2,4)); draw((3,0)--(5,4)); draw((1,0)--(1,4)); draw((4,0)--(4,4)); draw((1,2)--(4,2),Arrows);
+
dot((-1,-1)); dot((1,1));
draw((0,0)--(5,2.5),dashed); draw((1,2)--(5,2),dashed);
+
draw(graph(f0,-1,1)); draw(graph(f1,-1,1)); draw(graph(f5,-1,1)); draw(graph(f9,-1,1));
label("platform - back",(1,0),S); label("platform - front",(4,0),S);
+
label(rotate(45) * "$v/c = 0$",(0.4,f0(0.4)),SE); label(rotate(40) * "$v/c = 0.1$",(0.4,f1(0.4)),NW);  
label("train - back",(2,4),N); label("train - front",(5,4),N);
+
label(rotate(45) * "$v/c = 0.5$",(-0.3,f5(-0.3)),NW); label(rotate(45) * "$v/c = 0.9$",(-0.6,f9(-0.6)),NW);
label("fits in $S$",(5,2),E); label("does not fit in $S'$",(5,2.5),E);
 
  
 
//limits((-1,-4),(6,6),Crop);
 
//limits((-1,-4),(6,6),Crop);
 
</asy>
 
</asy>

Revision as of 18:25, 26 July 2015

[asy] size(360);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  xaxis(-1,1,Bars); yaxis(-1,1,Bars);  real f(real x, real v) { return (x + v)/(1 + x * v); } real f0(real x) { return f(x,0); } real f1(real x) { return f(x,0.1); } real f5(real x) { return f(x,0.5); } real f9(real x) { return f(x,0.9); }  dot((-1,-1)); dot((1,1)); draw(graph(f0,-1,1)); draw(graph(f1,-1,1)); draw(graph(f5,-1,1)); draw(graph(f9,-1,1)); label(rotate(45) * "$v/c = 0$",(0.4,f0(0.4)),SE); label(rotate(40) * "$v/c = 0.1$",(0.4,f1(0.4)),NW);  label(rotate(45) * "$v/c = 0.5$",(-0.3,f5(-0.3)),NW); label(rotate(45) * "$v/c = 0.9$",(-0.6,f9(-0.6)),NW);  //limits((-1,-4),(6,6),Crop); [/asy]