Difference between revisions of "User:5849206328x"

m
m
Line 8: Line 8:
 
f.p=fontsize(6);
 
f.p=fontsize(6);
 
xaxis(0,pi);
 
xaxis(0,pi);
//yaxis(0,2);
+
yaxis(-2,1);
  
real f(real x, real t) { return 1/(t * sqrt(pi)) * e^(-x^2/t^2); }
+
real f1(real x) { return -3sinh(x)/(2cosh(pi/2)); }
real f1(real x) { return f(x,1); }
+
real f2(real x) { return -3sinh(pi - x)/(2cosh(pi/2)); }
real f2(real x) { return f(x,0.5); }
 
real f3(real x) { return f(x,0.1); }
 
  
dot((0,0)); dot((pi/2,0)); dot((pi,0));
+
draw(graph(f1,0,pi/2), blue);
 
+
draw(graph(f2,pi/2,pi), blue);
label("$0$",(0,0),S);
 
label("$\pi/2$",(pi/2,0),S);
 
label("$\pi$",(pi,0),S);
 
 
 
//draw(graph(f1,-2,2), red + dashed);
 
  
 
//limits((-2,0),(2,2),Crop);
 
//limits((-2,0),(2,2),Crop);
 
</asy>
 
</asy>

Revision as of 11:31, 10 June 2015

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