Difference between revisions of "User:5849206328x"

m
m
Line 1: Line 1:
 
<asy>
 
<asy>
import graph3;
 
 
import slopefield;
 
import slopefield;
import three;
 
  
size(288);
+
size(216);
  
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
  
// Label f;
 
// f.p=fontsize(6);
 
 
//xaxis(0,5);
 
//xaxis(0,5);
 
//yaxis(-2,3);
 
//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((0,0)--(0,-5),dashed); draw((0,0)--(3,-4),linewidth(2)); draw((2,-8/3)--(2,-4),EndArrow);
 +
label("$\theta$",(0,-0.5),E); label("$Mg$",(2,-4),S); label("$l$",(1.5,-2),NE);
 +
 +
//limits((-25,-25),(50,25),Crop);
 +
</asy>
 +
 +
 +
<!--
 +
3D graphs
 +
<asy>
 +
import graph3;
 +
import three;
 +
 +
size(288);
 +
 +
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 +
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
  
 
currentprojection=orthographic(2,-2,1);
 
currentprojection=orthographic(2,-2,1);
Line 20: Line 37:
  
 
//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)); }
+
//triple g(real t) { return (2 * cos(pi * t/180), 2 * sin(pi * t/180), 2.5); }
//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); }
triple rot(real t) { return (0.2 * cos(pi * t/180), 0.2 * sin(pi * t/180), 4.5); }
 
  
 
draw(scale(3,2,2)*unitdisk,palegrey); draw(graph(rot,-180,93),EndArrow3);
 
draw(scale(3,2,2)*unitdisk,palegrey); draw(graph(rot,-180,93),EndArrow3);
 
draw((0,0,5)--(0,0,0)); draw((0,5,0)--(0,0,0)); draw((5,0,0)--(0,0,0));
 
draw((0,0,5)--(0,0,0)); draw((0,5,0)--(0,0,0)); draw((5,0,0)--(0,0,0));
 
//limits((-25,-25),(50,25),Crop);
 
 
</asy>
 
</asy>
 +
-->

Revision as of 17:45, 24 July 2015

[asy] import slopefield;  size(216);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  //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((0,0)--(0,-5),dashed); draw((0,0)--(3,-4),linewidth(2)); draw((2,-8/3)--(2,-4),EndArrow); label("$\theta$",(0,-0.5),E); label("$Mg$",(2,-4),S); label("$l$",(1.5,-2),NE);  //limits((-25,-25),(50,25),Crop); [/asy]