Difference between revisions of "User:5849206328x"

m
m
Line 2: Line 2:
 
import slopefield;
 
import slopefield;
  
size(180);
+
size(216);
  
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
Line 9: Line 9:
 
// Label f;
 
// Label f;
 
// f.p=fontsize(6);
 
// f.p=fontsize(6);
//xaxis(0,4);
+
xaxis(0,5);
//yaxis(-1,2);
+
yaxis(0,5);
  
 
//real f(real x) { return (2/3) * (e^(-15 * x) + e^((-5/3) * x)); }
 
//real f(real x) { return (2/3) * (e^(-15 * x) + e^((-5/3) * x)); }
Line 17: Line 17:
 
//draw(graph(f,0,4));
 
//draw(graph(f,0,4));
  
dot((0,0)); dot((3,-1)); draw((1,-3)--(4,0),dashed); draw((0,0)--(2,-2),dashed); draw((0,0)--(3,-1),EndArrow); draw((3,-1)--(4,0),EndArrow);
+
draw((0,0)--(4,3),EndArrow); draw((4,3)--(24/5,18/5),EndArrow); draw((4,3)--(17/5,19/5),EndArrow);
draw(rightanglemark((0,0),(2,-2),(3,-1),3));
+
label("$O$",(0,0),SW); label("$x$",(5,0),SE); label("$y$",(0,5),NW);
 
+
label("$\mathbf{r}$",(2,1.5),NW); label("$\hat{\mathbf{r}}$",(24/5,18/5),ENE); label("$\hat{\theta}$",(17/5,19/5),NNW);
label("$O$",(0,0),W); label("$d$",(1,-1),SW); label("$m$",(3,-1),SE); label("$\mathbf{r}$",(1.5,-0.5),NNE); label("$\dot{\mathbf{r}}$",(3.5,-0.5),SE);
 
  
 
//limits((0,-2),(4,2),Crop);
 
//limits((0,-2),(4,2),Crop);
 
</asy>
 
</asy>

Revision as of 12:47, 19 July 2015

[asy] import slopefield;  size(216);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  // Label f; // f.p=fontsize(6); xaxis(0,5); yaxis(0,5);  //real f(real x) { return (2/3) * (e^(-15 * x) + e^((-5/3) * x)); } //pair g(real t, real k) { return (1/k * 3/5 * (1 - e^(-k * t)), -t/k + 1/k * (4/5 + 1/k) * (1 - e^(-k * t))); }  //draw(graph(f,0,4));  draw((0,0)--(4,3),EndArrow); draw((4,3)--(24/5,18/5),EndArrow); draw((4,3)--(17/5,19/5),EndArrow); label("$O$",(0,0),SW); label("$x$",(5,0),SE); label("$y$",(0,5),NW); label("$\mathbf{r}$",(2,1.5),NW); label("$\hat{\mathbf{r}}$",(24/5,18/5),ENE); label("$\hat{\theta}$",(17/5,19/5),NNW);  //limits((0,-2),(4,2),Crop); [/asy]