File:PowIteT.jpg: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dmitrii Kouznetsov
(generator)
(== Summary == Importing file)
Tag: Server-side upload
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Summary ==
== Summary ==
{{Image_Details|user
Importing file
|description  = [[Explicit plot]] of <math>n</math>th Iteration of the quadratic function, id est, [[power function]] for power 2; <math>y=\mathrm{Pow}_2^{~n}(z)=T^n(x)~</math> for various values of number <math>n</math> of iteration. Here, 
 
<math>
\!\!\!\!\!\!\!\!\!\!\ (1) ~ ~ ~ T(z)=\mathrm{Pow}_2(z)=z^2=\exp\Big(\ln(z)\,2\Big)
</math>
 
The iteration of <math>T</math> is implemented in the following way:  :
 
<math>
\!\!\!\!\!\!\!\!\!\!\ (2) ~ ~ ~y=T^n(x)={\mathrm{Pow}_2}^n(z)=F\Big(n+G(x)\Big)
</math>
 
where 
 
<math>\!\!\!\!\!\!\!\!\!\!\ (3) ~ ~ ~ F(z)=\exp\Big( \exp\big( \ln(2)\, z\big)\Big)</math>
 
is [[superfunction]] for the transfer function
<math>T</math>
and
 
<math>
\!\!\!\!\!\!\!\!\!\!\ (4) ~ ~ ~G(z)=\ln\Big( \ln(z) \Big)/ \ln(2)
</math>
 
is the [[Abel Function]].  The thick lines represent
<math>
y=x^2
</math>and
<math>
y=\sqrt{x}</math>.
FIrst of them overlaps with <matm>y=T^1(x)</math> and corresponds to <math>n\!=\!1</math>, and the second overlaps with <math>y=T^{-1}(x)</math> and corresponds to  <math>n\!=\!-1</math>.
|author      = [[User:Dmitrii Kouznetsov|Dmitrii Kouznetsov]]
|date-created = 2012.11.11
|pub-country  = Japan
|notes        =
|versions    = http://tori.ils.uec.ac.jp/TORI/index.php/File:PowIteT.jpg
}}
 
Files used to generate the figure are supplied below.
 
==[[C++]] generator of curves==
// file [[ado.cin]] should be loaded to the working directory in order to compile the [[C++]] code below.
 
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#define DB double
#define DO(x,y) for(x=0;x<y;x++)
using namespace std;
#include <complex>
typedef complex<double> z_type;
#define Re(x) x.real()
#define Im(x) x.imag()
#define I z_type(0.,1.)
#include "ado.cin"
 
DB B=2.;
DB F(DB z) { return exp( exp( log(B)*z));}
DB G(DB z) { return log( log(z) )/log(B);}
 
main(){ int m,n; double x,y,t; FILE *o;
o=fopen("PowIte.eps","w"); ado(o,1010,1010);
fprintf(o,"1 1 translate 100 100 scale\n");
#define M(x,y) fprintf(o,"%6.3f %6.3f M\n",0.+x,0.+y);
#define L(x,y) fprintf(o,"%6.3f %6.3f L\n",0.+x,0.+y);
for(m=0;m<11;m++) {M(m,0)L(m,10)}
for(m=0;m<11;m++) {M(0,m)L(10,m)}
fprintf(o,"2 setlinecap .01 W S\n");
DO(m,402){x=0.001+.01*m; y=exp(2.*log(x)); if(m==0)M(x,y) else L(x,y); if(y>10.1) break;}
DO(m,402){x=0.001+.01*m; y=exp(4.*log(x)); if(m==0)M(x,y) else L(x,y); if(y>10.1) break;}
DO(m,402){x=0.001+.01*m; y=exp(8.*log(x)); if(m==0)M(x,y) else L(x,y); if(y>10.1) break;}
fprintf(o,"1 setlinecap 1 setlinejoin .04 W 0 1 0 RGB S\n");
DO(m,1002){x=0.001+.01*m; y=exp(.5*log(x)); if(m==0)M(x,y) else L(x,y);} fprintf(o,"1 setlinecap 1 setlinejoin .04 W 1 0 1 RGB S\n");
DO(m,1002){x=0.001+.01*m; y=exp(.25*log(x)); if(m==0)M(x,y) else L(x,y);} fprintf(o,"1 setlinecap 1 setlinejoin .04 W 1 0 1 RGB S\n");
DO(m,1002){x=0.001+.01*m; y=exp(.125*log(x)); if(m==0)M(x,y) else L(x,y);} fprintf(o,"1 setlinecap 1 setlinejoin .04 W 1 0 1 RGB S\n");
for(n=-20;n<21;n++){t=.1*n; DO(m,182){x=1.+.05*m; y=F(t+G(x)); if(m==0) M(x,y) else L(x,y); if(y>10.1)break;} }
fprintf(o,"1 setlinecap 1 setlinejoin .02 W 0 0 0 RGB S\n");
fprintf(o,"showpage\n%c%cTrailer",'%','%'); fclose(o);
      system("epstopdf PowIte.eps");   
      system(    "open PowIte.pdf");
      getchar(); system("killall Preview");
}
 
== Licensing ==
{{CC|by|3.0}}

Latest revision as of 18:52, 11 March 2022

Summary

Importing file

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:52, 11 March 2022Thumbnail for version as of 18:52, 11 March 20222,093 × 2,093 (1.01 MB)Maintenance script (talk | contribs)== Summary == Importing file

The following 2 pages use this file:

Metadata