Difference between revisions of "User:5849206328x"

m
m
Line 1: Line 1:
 
<asy>
 
<asy>
size(360);
+
size(288);
  
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
  
xaxis(-1,1,Bars);
+
//xaxis(-1,1,Bars);
yaxis(-1,1,Bars);
+
//yaxis(-1,1,Bars);
  
real f(real x, real v) { return (x + v)/(1 + x * v); }
+
//real f(real x) { return abs(x); }
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(ellipse((0,5),5,1)); draw(ellipse((0,-5),5,1)); fill((-5,-5)--(5,-5)--(5,-3)--(-5,-3)--cycle,white); draw(ellipse((0,-5),5,1),dashed);
draw(graph(f0,-1,1)); draw(graph(f1,-1,1)); draw(graph(f5,-1,1)); draw(graph(f9,-1,1));
+
draw((-4.98,-4.89)--(4.98,4.89)); draw((-4.98,4.89)--(4.98,-4.89));
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);  
+
dot((0,0)); dot((1,3)); label("$P$",(-0.1,0),W); label("$Q$",(1,3),W);
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("timelike",(0,-6),S);
label("$u'/c$",(1,0),E); label("$u/c$",(0,1),N);
 
  
 
//limits((-1,-4),(6,6),Crop);
 
//limits((-1,-4),(6,6),Crop);
 
</asy>
 
</asy>

Revision as of 19:15, 26 July 2015

[asy] size(288);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  //xaxis(-1,1,Bars); //yaxis(-1,1,Bars);  //real f(real x) { return abs(x); }  draw(ellipse((0,5),5,1)); draw(ellipse((0,-5),5,1)); fill((-5,-5)--(5,-5)--(5,-3)--(-5,-3)--cycle,white); draw(ellipse((0,-5),5,1),dashed); draw((-4.98,-4.89)--(4.98,4.89)); draw((-4.98,4.89)--(4.98,-4.89)); dot((0,0)); dot((1,3)); label("$P$",(-0.1,0),W); label("$Q$",(1,3),W); label("timelike",(0,-6),S);  //limits((-1,-4),(6,6),Crop); [/asy]