Difference between revisions of "User:5849206328x"

m
m
Line 2: Line 2:
 
import graph3;
 
import graph3;
 
import slopefield;
 
import slopefield;
 +
import three;
  
 
//size(288);
 
//size(288);
Line 18: Line 19:
 
//draw(graph(g,-40,45));
 
//draw(graph(g,-40,45));
  
currentprojection=orthographic(3,2,2);
+
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);
 +
 +
draw((2,0,4)..(0,2,4)..(-2,0,4)..(0,-2,4)..cycle,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));
 +
 +
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,0,0),N);
  
 
//limits((-25,-25),(50,25),Crop);
 
//limits((-25,-25),(50,25),Crop);
 
</asy>
 
</asy>

Revision as of 15:22, 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);  //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)); }  //draw(graph(g,-40,45));  currentprojection=orthographic(2,-2,1);  xaxis3("$x$",0,5); yaxis3("$y$",0,5); zaxis3("$z$",0,5);  draw((2,0,4)..(0,2,4)..(-2,0,4)..(0,-2,4)..cycle,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));  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,0,0),N);  //limits((-25,-25),(50,25),Crop); [/asy]