Difference between revisions of "User:5849206328x"

m
m
Line 7: Line 7:
 
// Label f;
 
// Label f;
 
// f.p=fontsize(6);
 
// f.p=fontsize(6);
// xaxis(-1,2);
+
xaxis(-3,3);
// yaxis(-1,2);
+
yaxis(-3,3);
  
// real f1(real x) { return 3/2 * sin(pi/4 * (x - 1)) + 1/2; }
+
real f1(real x) { return 1/3 * (x^3 - 3*x); }
  
// draw(graph(f1,-1,2),MidArrow);
+
draw(graph(f1,-3,3));
  
fill((-1,0)--(1,0)--(1,0.1)--(-1,0.1)--cycle,lightgray);
+
dot((-1,f1(-1))); dot((1,f1(1))); dot((2,f1(2)));
draw((-1,0)--(1,0)); draw((0,0)--(0,-1),dashed);
+
draw((-1,f1(-1))--(2,f1(2)),dashed);
draw((0,0)--(1/3,-2/3)); dot((1/3,-2/3));
 
draw((0,-2/3)--(1/3,-2/3),dashed);
 
  
draw((2/3,-1/3)--(2/3,-1/2),EndArrow);
+
limits((-3,-3),(3,3),Crop);
label("$g$",(2/3,-5/12),E);
 
label("$l$",(1/6,-1/3),NE);
 
label("$d$",(1/6,-2/3),S);
 
label("$m$",(1/3,-2/3),E);
 
 
</asy>
 
</asy>

Revision as of 13:17, 16 July 2015

[asy] import slopefield;  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;  // Label f; // f.p=fontsize(6); xaxis(-3,3); yaxis(-3,3);  real f1(real x) { return 1/3 * (x^3 - 3*x); }  draw(graph(f1,-3,3));  dot((-1,f1(-1))); dot((1,f1(1))); dot((2,f1(2))); draw((-1,f1(-1))--(2,f1(2)),dashed);  limits((-3,-3),(3,3),Crop); [/asy]