Difference between revisions of "User:5849206328x"

m
m
Line 2: Line 2:
 
import slopefield;
 
import slopefield;
  
//size(288);
+
size(288);
  
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
Line 13: Line 13:
  
 
//real f(real x) { return 3 * (-1/x + 1/(2*x^2)); }
 
//real f(real x) { return 3 * (-1/x + 1/(2*x^2)); }
pair g(real t) { return 16/(5/3 * cos(pi * t/180) - 1) * dir(t); }
+
//pair g(real t) { return 16/(5/3 * cos(pi * t/180) - 1) * dir(t); }
  
draw(graph(g,-40,45),MidArrow);
+
//draw(graph(g,-40,45));
  
pair A = (48/5,36/5);
+
draw((0,0)--(0,5),EndArrow);
 +
draw((0,0)--(-2,-4),EndArrow); draw((0,0)--(1,-4),EndArrow);
 +
draw((0,0)--(5,0),EndArrow); draw((0,0)--(4,1),EndArrow);
  
draw((-15,-40)--(45,40)); draw((-15,40)--(45,-40));
+
label("$x$",(-2,-4),S); label("$x'$",(1,-4),S); label("$y$",(5,0),E); label("$y'$",(4,1),ENE); label("$z$",(0,5),N);
dot((0,0)); draw(A--(0,0)--(15,0),dashed); draw(rightanglemark((0,0),A,(15,0),20));
+
label("$\theta$",(-0.05,-0.25),S); label("$\theta$",(1.5,0),NE);
  
label("$O$",(0,0),S); label("$b$",A/2,NW); label("$2\alpha$",(16,0),E); label("$\beta$",(15,1),N); label("$ea$",(7,0),S);
+
//limits((-25,-25),(50,25),Crop);
 
 
limits((-25,-25),(50,25),Crop);
 
 
 
// e = 5/3, l = 16, a = 9, b = 12
 
 
</asy>
 
</asy>

Revision as of 19:40, 21 July 2015

[asy] import slopefield;  size(288);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  // Label f; // f.p=fontsize(6); //xaxis(0,5); //yaxis(-2,3);  //real f(real x) { return 3 * (-1/x + 1/(2*x^2)); } //pair g(real t) { return 16/(5/3 * cos(pi * t/180) - 1) * dir(t); }  //draw(graph(g,-40,45));  draw((0,0)--(0,5),EndArrow);  draw((0,0)--(-2,-4),EndArrow); draw((0,0)--(1,-4),EndArrow); draw((0,0)--(5,0),EndArrow); draw((0,0)--(4,1),EndArrow);  label("$x$",(-2,-4),S); label("$x'$",(1,-4),S); label("$y$",(5,0),E); label("$y'$",(4,1),ENE); label("$z$",(0,5),N); label("$\theta$",(-0.05,-0.25),S); label("$\theta$",(1.5,0),NE);  //limits((-25,-25),(50,25),Crop); [/asy]