Difference between revisions of "User:5849206328x"

m
m
Line 15: Line 15:
  
 
currentprojection=orthographic(2,-2,1);
 
currentprojection=orthographic(2,-2,1);
xaxis3("$x$",0,5);
+
//xaxis3("$x$",0,5);
yaxis3("$y$",0,5);
+
//yaxis3("$y$",0,5);
 
zaxis3("$z$",0,5);
 
zaxis3("$z$",0,5);
  
 
//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 (0,6.3) + (0.4 * cos(pi * t/180), 0.2 * sin(pi * t/180)); }
 
//pair g(real t) { return (0,6.3) + (0.4 * cos(pi * t/180), 0.2 * sin(pi * t/180)); }
triple h(real t) { return (2 * cos(pi * t/180), 2 * sin(pi * t/180), 4); }  
+
triple h(real t) { return (2 * cos(pi * t/180), 2 * sin(pi * t/180), 2.5); }
 +
triple rot(real t) { return (0.2 * cos(pi * t/180), 0.2 * sin(pi * t/180), 4.5); }
  
draw(graph(h,-90,270),MidArrow3); draw((0,0,4)--(6/5,8/5,4)--(6/5,8/5,0)--(0,0,0),dashed); dot((6/5,8/5,4));
+
draw(graph(h,-90,270)); draw((0,0,2.5)--(0,2,2.5),dashed); draw(graph(rot,-180,93),EndArrow3);
//draw((2,0,4)..(0,2,4)..(-2,0,4)..(0,-2,4)..cycle,MidArrow3);  
 
  
label("$O$",(0,0,0),W); label("$P$",(6/5,8/5,4),NE); label("$s$",(3/5,4/5,4),N); label("$\theta$",(1.3,0,0),N);
+
label("$a$",(0,1,2.5),N);
  
 
//limits((-25,-25),(50,25),Crop);
 
//limits((-25,-25),(50,25),Crop);
 
</asy>
 
</asy>

Revision as of 20:51, 23 July 2015

[asy] import graph3; import slopefield; import three;  size(288);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  // Label f; // f.p=fontsize(6); //xaxis(0,5); //yaxis(-2,3);  currentprojection=orthographic(2,-2,1); //xaxis3("$x$",0,5); //yaxis3("$y$",0,5); zaxis3("$z$",0,5);  //real f(real x) { return 3 * (-1/x + 1/(2*x^2)); } //pair g(real t) { return (0,6.3) + (0.4 * cos(pi * t/180), 0.2 * sin(pi * t/180)); } triple h(real t) { return (2 * cos(pi * t/180), 2 * sin(pi * t/180), 2.5); } triple rot(real t) { return (0.2 * cos(pi * t/180), 0.2 * sin(pi * t/180), 4.5); }  draw(graph(h,-90,270)); draw((0,0,2.5)--(0,2,2.5),dashed); draw(graph(rot,-180,93),EndArrow3);  label("$a$",(0,1,2.5),N);  //limits((-25,-25),(50,25),Crop); [/asy]