Namespaces
Variants
Actions

Difference between revisions of "User:Nikita2/sandbox"

From Encyclopedia of Mathematics
Jump to: navigation, search
Line 1: Line 1:
 +
 
<asy>
 
<asy>
 
import graph;
 
import graph;
size(400,200,IgnoreAspect);
+
size(500,200,IgnoreAspect);
 
real f(real x) {return sin(x);};
 
real f(real x) {return sin(x);};
 +
 +
real f1(real x) {return cos(x);};
 +
draw(graph(f1,-2*pi,2*pi),blue,"$\cos(x)$");
 
draw(graph(f,-2*pi,2*pi),red,"$\sin(x)$");
 
draw(graph(f,-2*pi,2*pi),red,"$\sin(x)$");
 
xaxis("$x$",Arrow);
 
xaxis("$x$",Arrow);
Line 20: Line 24:
 
xtick("$-\pi$",-pi,N);
 
xtick("$-\pi$",-pi,N);
 
xtick("$-2\pi$",-2*pi,N);
 
xtick("$-2\pi$",-2*pi,N);
 
  
 
ytick("$1/2$",0.5,1);
 
ytick("$1/2$",0.5,1);
Line 31: Line 34:
 
ytick("$-\sqrt{3}/2$",-sqrt(3)/2,-1);
 
ytick("$-\sqrt{3}/2$",-sqrt(3)/2,-1);
 
ytick("$-1$",-1,-1);
 
ytick("$-1$",-1,-1);
 
 
  
 
attach(legend(),truepoint(E),10E,UnFill);
 
attach(legend(),truepoint(E),10E,UnFill);
 
</asy>
 
</asy>

Revision as of 18:26, 5 December 2012

How to Cite This Entry:
Nikita2/sandbox. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Nikita2/sandbox&oldid=29095