Difference between revisions of "User:5849206328x"

m
m
Line 4: Line 4:
 
Label f;
 
Label f;
 
f.p=fontsize(6);
 
f.p=fontsize(6);
xaxis(-1.5,1.5);
+
xaxis(0,30);
yaxis(-2.5,2.5);
+
yaxis(-15,15);
  
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
 
real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286;
pair f(real x) { return (cos(2x), -2sin(2x)); }
+
real f(real x) { return 5 * 2/(2.5^2 - 2^2) * cos((2.5 + 2)*x/2) * sin((2.5 - 2)*x/2); }
pair g(real x) { return (sin(2x), 2cos(2x)); }
+
real f1(real x) { return 5 * 2/(2.5^2 - 2^2) * sin((2.5 - 2)*x/2); }
 +
real f2(real x) { return -5 * 2/(2.5^2 - 2^2) * sin((2.5 - 2)*x/2); }
 +
real g(real x) { return 5x/4 * cos(2x); }
 +
real g1(real x) { return 5/4 * x; }
 +
real g2(real x) { return -5/4 * x; }
  
draw(graph(f,0,1), red, MidArrow);
+
draw(graph(f,0,30,n=10000), red);
draw(f(1)--(0,0)--f(0), red, Arrows);
+
draw(graph(f1,0,30,n=10000), red + dashed);
draw(graph(g,0,1), blue, MidArrow);
+
draw(graph(f2,0,30,n=10000), red + dashed);
draw(g(1)--(0,0)--g(0), blue, Arrows);
+
draw(graph(g,0,12.44,n=10000), blue);
draw(graph(g,pi/4,1), purple);
+
draw(graph(g1,0,12,n=10000), blue + dashed);
 +
draw(graph(g2,0,12,n=10000), blue + dashed);
  
label("$\mathbf{Y}_1(0)$",f(0),NE,red);
+
label("$\Delta\omega = 0.5$",(19,f2(19)),N,red);
label("$\mathbf{Y}_1(1)$",f(1),SW,red);
+
label("$\omega\to\omega_0$",(10,g1(10)),NW,blue);
label("$\mathbf{Y}_2(0)$",g(0),NE,blue);
 
label("$\mathbf{Y}_2(1)$",g(1),ESE,blue);
 
 
</asy>
 
</asy>

Revision as of 08:50, 9 June 2015

[asy] import slopefield;  Label f; f.p=fontsize(6); xaxis(0,30); yaxis(-15,15);  real e  = 2.718281828459045235360287471352662497757247093699959574966967627724076630353; real pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286; real f(real x) { return 5 * 2/(2.5^2 - 2^2) * cos((2.5 + 2)*x/2) * sin((2.5 - 2)*x/2); } real f1(real x) { return 5 * 2/(2.5^2 - 2^2) * sin((2.5 - 2)*x/2); } real f2(real x) { return -5 * 2/(2.5^2 - 2^2) * sin((2.5 - 2)*x/2); } real g(real x) { return 5x/4 * cos(2x); } real g1(real x) { return 5/4 * x; } real g2(real x) { return -5/4 * x; }  draw(graph(f,0,30,n=10000), red); draw(graph(f1,0,30,n=10000), red + dashed); draw(graph(f2,0,30,n=10000), red + dashed); draw(graph(g,0,12.44,n=10000), blue); draw(graph(g1,0,12,n=10000), blue + dashed); draw(graph(g2,0,12,n=10000), blue + dashed);  label("$\Delta\omega = 0.5$",(19,f2(19)),N,red); label("$\omega\to\omega_0$",(10,g1(10)),NW,blue); [/asy]