Art of Problem Solving

User:5849206328x: Difference between revisions

5849206328x (talk | contribs)
mNo edit summary
5849206328x (talk | contribs)
mNo edit summary
Line 18: Line 18:
//draw(graph(g,-40,45));
//draw(graph(g,-40,45));


size(0,200);
currentprojection=orthographic(3,2,2);
size3(200,IgnoreAspect);


currentprojection=perspective(5,2,2);
xaxis3("$x$",0,5);
 
yaxis3("$y$",0,5);
scale(Linear,Linear,Log);
zaxis3("$z$",0,5);
 
xaxis3("$x$",0,1,red,OutTicks(2,2));
yaxis3("$y$",0,1,red,OutTicks(2,2));
zaxis3("$z$",1,30,red,OutTicks(beginlabel=false));


//limits((-25,-25),(50,25),Crop);
//limits((-25,-25),(50,25),Crop);
</asy>
</asy>

Revision as of 13:56, 23 July 2015

[asy] import graph3; 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 (0,6.3) + (0.4 * cos(pi * t/180), 0.2 * sin(pi * t/180)); }  //draw(graph(g,-40,45));  currentprojection=orthographic(3,2,2);  xaxis3("$x$",0,5); yaxis3("$y$",0,5); zaxis3("$z$",0,5);  //limits((-25,-25),(50,25),Crop); [/asy]