File:Fubini Nightmare foliation Katok example.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search

Fubini_Nightmare_foliation_Katok_example.svg(SVG file, nominally 720 × 720 pixels, file size: 1.62 MB)

[edit] Summary

Description
English: Fubini Nighmare foliation example due to Katok
Date

3 July 2009(2009-07-03)

Source

Own work

Author

Ilya Voyager

Permission
(Reusing this image)

See below.

[edit] Licensing

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Azərbaycan | Беларуская (тарашкевіца) | Български | Català | Cebuano | Soranî / کوردی | Česky | Cymraeg | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | Estremeñu | فارسی | Suomi | Français | Galego | עברית | हिन्दी | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Ripoarisch | Kurdî / كوردی | Latina | Lietuvių | Latviešu | 文言 | Македонски | Bahasa Melayu | Plattdüütsch | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Vèneto | Tiếng Việt | Walon | 吴语 | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | 粵語 | +/−

Creative Commons CC-Zero This file is made available under the Creative Commons CC0 waiver.
The author of this work has dedicated it to the public by waiving all of his or her rights to the work under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.

Deutsch | English | Suomi | Français | Italiano | Lietuvių | Македонски | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

[edit] Source

This vector image was created with Asymptote.

Actually, I've used C++-program to produce Asymptote source. See ru:Кошмар Фубини (Russian) for details on the algorithm. I hereby release the following source code into the public domain:

#include <iostream>
#include <math.h>
#include <vector>
#include <time.h>
#include <stdlib.h>
#include <assert.h>
 
using namespace std;
double F(double p, vector<int> a, int N)
{
	assert(p>0 && p<1);
	int i;
	double x=0;
	double q=1-p;
	for(i=0;i<N;i++)
	{
		if(a[i]==1)
		{
			x+=q;
			q*=p;
		}
		else
		{
			q*=(1-p);
		}
	}
	return x;
}
 
main()
{
	srand(time(NULL));
	vector<int> a;
	double prec=2E-3;
	int N=int(1/(prec*prec));
	int exp=500;
	int i,j;
	double p;
	bool first=true;
	cout << "import graph;\nimport math;\nimport fontsize;\nunitsize(7inch);\ndefaultpen(0.45mm);\n" << endl;
	for(i=0;i<exp;i++)
	{
		a.clear();
		for(j=0;j<N;j++)
		{
			a.push_back(rand()%2);
		}
		first=true;
		for(p=2*prec;p<1-2*prec;p+=prec)
		{
			if(first)
			{
				cout << "draw(";
				first=false;
			}
			else
			{
				cout << "--";
			}
			cout << "(" << p << "," << F(p,a,N) << ")" ;
		}
		cout << ");" << endl;
	}
	cout << "xaxis(\"$p$\",BottomTop,fontsize(48));\nyaxis(\"$x$\",LeftRight,fontsize(48));" << endl;
}

You have to do the following in order to produce an svg file (assuming the file above is saved as 'fubini.C'):

g++ fubini.C -o fubini
./fubini > fubini.asy # prepare a cup of coffee here. it's a long calculations with default options
asy fubini.asy
pstoedit fubini.eps fubini.svg

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:43, 11 July 2009Thumbnail for version as of 21:43, 11 July 2009720×720 (1.62 MB)Ilya Voyager (talk | contribs) (sizes fixed)
07:25, 3 July 2009Thumbnail for version as of 07:25, 3 July 2009720×720 (1.65 MB)Ilya Voyager (talk | contribs) ({{Information |Description={{en|1=Fubini Nighmare foliation example due to Katok}} |Source=Own work by uploader |Author=Ilya Voyager |Date=2009-07-03 |Permission= |other_versions= }} <!--{{ImageUpload|full}}-->)

There are no pages that link to this file.