Difference between revisions of "User:Boris Tsirelson/sandbox2"
Line 42: | Line 42: | ||
draw ( graph( new real(real x) {return x/2;}, -2, 2), green+1.2, "$y=x/2$" ); | draw ( graph( new real(real x) {return x/2;}, -2, 2), green+1.2, "$y=x/2$" ); | ||
− | xaxis(-2.1,2.1, LeftTicks(Label(fontsize(8pt)),Step=1,step=0.2,Size=2,size=1)); | + | xaxis(-2.1,2.1, LeftTicks(Label(fontsize(8pt)),Step=1,step=0.2,Size=2,size=1,NoZero)); |
− | yaxis(-2,2, RightTicks(Label(fontsize(8pt)),Step=0.5,step=0.1,Size=2,size=1)); | + | yaxis(-2,2, RightTicks(Label(fontsize(8pt)),Step=0.5,step=0.1,Size=2,size=1,NoZero)); |
labelx("$x$",(2.3,0.25)); | labelx("$x$",(2.3,0.25)); | ||
labely("$y$",(0.15,2.3)); | labely("$y$",(0.15,2.3)); | ||
− | + | add(scale(0.72,1.2)*legend(),(0.5,-0.75)); | |
− | add (whole,shift(- | + | real mrg=1.3; |
− | add (whole,shift( | + | draw( scale(mrg)*box((-2,-2),(2,2)), white ); |
+ | |||
+ | add (whole,shift(-240,0)*currentpicture.fit(mrg*6.5cm)); | ||
+ | erase(); | ||
+ | |||
+ | |||
+ | draw ( graph( new real(real x) {return 1/x;}, -4, -0.25), red+1.2, "$y=1/x$" ); | ||
+ | draw ( graph( new real(real x) {return 1/x;}, 0.25, 4), red+1.2 ); | ||
+ | draw ( graph( new real(real x) {return 2/x;}, -4, -0.5), blue+1.2, "$y=2/x$" ); | ||
+ | draw ( graph( new real(real x) {return 2/x;}, 0.5, 4), blue+1.2 ); | ||
+ | draw ( graph( new real(real x) {return 1/(2x);}, -4, -0.125), green+1.2, "$y=1/(2x)$" ); | ||
+ | draw ( graph( new real(real x) {return 1/(2x);}, 0.125, 4), green+1.2 ); | ||
+ | |||
+ | xaxis(-4.2,4.2, LeftTicks(Label(fontsize(8pt)),Step=2,step=0.5,Size=2,size=1,NoZero)); | ||
+ | yaxis(-4,4, RightTicks(Label(fontsize(8pt)),Step=1,step=0.2,Size=2,size=1,NoZero)); | ||
+ | labelx("$x$",(4.6,0.5)); | ||
+ | labely("$y$",(0.3,4.6)); | ||
+ | |||
+ | add(scale(0.75,0.75)*legend(),(0.95,-1.2)); | ||
+ | |||
+ | real mrg=1.3; | ||
+ | draw( scale(mrg)*box((-4,-4),(4,4)), white ); | ||
+ | |||
+ | add (whole,shift(0,0)*currentpicture.fit(mrg*6.5cm,mrg*6.5cm,false)); | ||
+ | erase(); | ||
+ | |||
+ | |||
+ | draw ( graph( new real(real x) {return x^3;}, -4^(1/3), 4^(1/3)), red+1.2, "$y=x^3$" ); | ||
+ | draw ( graph( new real(real x) {return x^2;}, -2, 2), blue+1.2, "$y=x^2$" ); | ||
+ | draw ( graph( new real(real x) {return sqrt(x);}, 0, 4), green+1.2, "$y=x^{1/2}$" ); | ||
+ | draw ( graph( new real(real x) {return -sqrt(x);}, 0, 4), green+1.2 ); | ||
+ | |||
+ | xaxis(-4.2,4.2, LeftTicks(Label(fontsize(8pt)),Step=2,step=0.5,Size=2,size=1,NoZero)); | ||
+ | yaxis(-4,4, RightTicks(Label(fontsize(8pt)),Step=1,step=0.2,Size=2,size=1,NoZero)); | ||
+ | labelx("$x$",(4.6,0.5)); | ||
+ | labely("$y$",(0.3,4.6)); | ||
+ | |||
+ | add(scale(0.5,0.75)*legend(),(0.6,-2.5)); | ||
+ | |||
+ | real mrg=1.3; | ||
+ | draw( scale(mrg)*box((-4,-4),(4,4)), white ); | ||
+ | |||
+ | add (whole,shift(240,0)*currentpicture.fit(mrg*6.5cm,mrg*6.5cm,false)); | ||
erase(); | erase(); | ||
Revision as of 07:45, 2 December 2014
Experiments
Note a fine distinction from Ada:
![](/images/math/0/b/3/0b3fdedfd8137ecc05a65d58c53fc31f.png)
I guess, the reason is that there Asy generates pdf file (converted into png afterwards), and here something else (probably ps).
More.
![](/images/math/c/d/c/cdc4d914be6157861dc048141665bc00.png)
![](/images/math/8/3/1/831a68240a0d6bc38040fa83f1cf1d3b.png)
Mysterious.
Power function
![](/images/math/a/e/2/ae21bdd283e92b86237f24669eec14a4.png)
Kolmogorov test
![](/images/math/6/b/3/6b3628c67f85c862c5de59f88784d605.png)
Golden ratio
Strangely, the figure in EoM is erroneous! ED=EB, not BD=EB.
![](/images/math/1/0/9/1096637b14dbb0a111e80c2fc8d74c6a.png)
[Calculus: ] the art of numbering and measuring exactly a thing whose existence cannot be conceived. (Voltaire, Letter XVII: On Infinites In Geometry, And Sir Isaac Newton's Chronology)
And what are these fluxions? The velocities of evanescent increments? They are neither finite quantities, nor quantities infinitely small, nor yet nothing. May we not call them ghosts of departed quantities? (Berkeley, The Analyst)
WARNING: Asirra, the cat and dog CAPTCHA, is closing permanently on October 6, 2014. Please contact this site's administrator and ask them to switch to a different CAPTCHA. Thank you!
Boris Tsirelson/sandbox2. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Boris_Tsirelson/sandbox2&oldid=35305