Image:Sine fixed point.svg

From Wikipedia, the free encyclopedia

Sine_fixed_point.svg (SVG file, nominally 600 × 480 pixels, file size: 13 KB)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[edit] Summary

Fixed point iteration of the sine function.

If using this as a starter for creating for iterative graphs, see Image:Cosine fixed point.svg for a superior, more abstracted method.

SVG replacement for Image:sine fixed point.png. Created in w:Gnuplot:

set term svg
set out "sine.svg"

set multiplot
set size ratio 0.5
unset key
set xrange [0:pi]
set yrange [0:1]
set xtics axis
set ytics axis
set border 3

unset parametric
set samples 100
plot x with lines lc 3
plot sin(x) with lines lc 3

set parametric
iter_y(y, n) = n >= 0 
iter_x(x, n) = n >= 0 

iter2_sin_x(x, n) = n>0 ? iter1_sin_x(sin(x), n-1) : x
iter1_sin_x(x, n) = n>0 ? iter2_sin_x(x, n-1) : x
iter_sin_x(x, n) = n>0 ? iter2_sin_x(x, n-1) : x
iter2_sin_y(y, n) = n>0 ? iter1_sin_y(y, n-1) : y
iter1_sin_y(y, n) = n>0 ? iter2_sin_y(sin(y), n-1) : y
iter_sin_y(y, n) = n>0 ? iter2_sin_y(sin(y), n-1) : 0
set samples 21
plot [0:20] iter_sin_x(2,t),iter_sin_y(2,t) with lines lc 1

unset multiplot

[edit] Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation license, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation license".

Aragonés | العربية | Asturianu | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

Some rights reserved
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under the Creative Commons Attribution ShareAlike license versions 2.5, 2.0, and 1.0

العربية | Български | Català | Česky | Dansk | Deutsch | English | Español | Euskara | فارسی | Français | עברית | Italiano | 日本語 | 한국어 | Lietuvių | Nederlands | Polski | Português | Русский | Svenska | தமிழ் | Türkçe | 中文 | 中文 | +/-

You may select the license of your choice.

File history

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

Date/TimeDimensionsUserComment
current17:47, 5 February 2007600×480 (13 KB)EnEdC (SVG replacement for Image:sine fixed point.png)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):