Difference between revisions of "RandomPage"

 
Line 6: Line 6:
 
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);};
real g3(real x) {return -sqrt(3^2-x*x);};
+
real g3(real x) {return -sqrt(2.7^2-x*x);};
 
draw(graph(f,-1.2,-1.185),black);
 
draw(graph(f,-1.2,-1.185),black);
 
draw(graph(f,1.185,1.2),black);
 
draw(graph(f,1.185,1.2),black);
 
draw(graph(g1,-4,4),black);
 
draw(graph(g1,-4,4),black);
 
draw(graph(g2,-4,4),black);
 
draw(graph(g2,-4,4),black);
draw(graph(g3,-2,5,2.5),black);
+
draw(graph(g3,-2.3,2.3),black);
 
</asy>
 
</asy>

Latest revision as of 07:07, 7 April 2021

[asy] import graph; size(200);  real f(real x) {return 70*x^2-98.3;}; real g1(real x) {return sqrt(4*4-x*x);}; real g2(real x) {return -sqrt(4*4-x*x);}; real g3(real x) {return -sqrt(2.7^2-x*x);}; draw(graph(f,-1.2,-1.185),black); draw(graph(f,1.185,1.2),black); draw(graph(g1,-4,4),black); draw(graph(g2,-4,4),black); draw(graph(g3,-2.3,2.3),black); [/asy]