Difference between revisions of "RandomPage"

(Created page with "<asy> import graph; size(200); real f(real x) {return 1000*x^2-100;}; real g1(real x) {return sqrt(4*4-x*x);}; real g2(real x) {return -sqrt(4*4-x*x);}; draw(graph(f,-20/3,-0...")
 
Line 3: Line 3:
 
size(200);
 
size(200);
  
real f(real x) {return 1000*x^2-100;};
+
real f(real x) {return 1000*x^2-3950;};
 
real g1(real x) {return sqrt(4*4-x*x);};
 
real g1(real x) {return sqrt(4*4-x*x);};
 
real g2(real x) {return -sqrt(4*4-x*x);};
 
real g2(real x) {return -sqrt(4*4-x*x);};
draw(graph(f,-20/3,-0.6),red);
+
draw(graph(f,-2,-1.99),red);
draw(graph(f,0.6,20/3),red);
+
draw(graph(f,1.99,2),red);
 
draw(graph(g1,-4,4),blue);
 
draw(graph(g1,-4,4),blue);
 
draw(graph(g2,-4,4),blue);
 
draw(graph(g2,-4,4),blue);
 
axes("$x$","$y$");
 
axes("$x$","$y$");
 
</asy>
 
</asy>

Revision as of 06:52, 7 April 2021

[asy] import graph; size(200);  real f(real x) {return 1000*x^2-3950;}; real g1(real x) {return sqrt(4*4-x*x);}; real g2(real x) {return -sqrt(4*4-x*x);}; draw(graph(f,-2,-1.99),red); draw(graph(f,1.99,2),red); draw(graph(g1,-4,4),blue); draw(graph(g2,-4,4),blue); axes("$x$","$y$"); [/asy]