File:Cosine fixed point.svg
From Infogalactic: the planetary knowledge core

Size of this PNG preview of this SVG file: 600 × 480 pixels. Other resolution: 300 × 240 pixels.
Original file (SVG file, nominally 600 × 480 pixels, file size: 14 KB)
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 02:31, 6 January 2017 | ![]() | 600 × 480 (14 KB) | 127.0.0.1 (talk) | <p>Fixed point iteration of the cosine function. Derived from <a href="//commons.wikimedia.org/wiki/File:Sine_fixed_point.svg" title="File:Sine fixed point.svg">Image:Sine fixed point.svg</a>. Created with <a href="https://en.wikipedia.org/wiki/Gnuplot" class="extiw" title="en:Gnuplot">Gnuplot</a>: </p> <div style="margin-left:0px"> <table class="navbox collapsible collapsed" style="background: transparent; text-align: left; border: 1px solid silver; margin-top: 0.2em;"> <tr><th style="background-color: #CFC; text-align:center; font-size:112%;"> Source code </th></tr> <tr> <td style="border: solid 1px silver; padding: 8px; background-color: white; font-size:112%;"> <div class="mw-content-ltr"> <table cellspacing="0" style="color:#000;background:#DDD;border:1px solid #BBB;margin:.1em;width:;" class="createdwithtemplate layouttemplate"><tr> <td style="width:1.2em;height:1.2em;padding:.2em;"> <div class="center"><div class="floatnone"><a href="//commons.wikimedia.org/wiki/File:Lissajous_small.svg" title="File:Lissajous small.svg"><img alt="Lissajous small.svg" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Lissajous_small.svg/20px-Lissajous_small.svg.png" width="20" height="21" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Lissajous_small.svg/30px-Lissajous_small.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Lissajous_small.svg/40px-Lissajous_small.svg.png 2x" data-file-width="70" data-file-height="72"></a></div></div> </td> <td style="font-size:.85em;padding:.2em;vertical-align:middle;">This image was created with <a href="https://en.wikipedia.org/wiki/gnuplot" class="extiw" title="w:gnuplot">gnuplot</a>: </td> </tr></table> </div> <div style="clear:both;border:1px solid#AFE;background-color:#EFE;margin:2px 0;"> <h2><span class="mw-headline" id="Gnuplot_code">Gnuplot code</span></h2> <div class="mw-highlight mw-content-ltr" dir="ltr"><pre><span class="k">set</span> <span class="nb">term</span> <span class="n">svg</span> <span class="k">set</span> <span class="nb">out</span> <span class="s">"cos.svg"</span> <span class="k">set</span> <span class="nb">multiplot</span> <span class="k">set</span> <span class="nb">size</span> <span class="n">ratio</span> <span class="mf">0.5</span> <span class="k">unset</span> <span class="nb">key</span> <span class="k">unset</span> <span class="nb">border</span> <span class="k">set</span> <span class="nb">xrange</span> <span class="p">[</span><span class="o">-</span><span class="n">pi</span><span class="o">/</span><span class="mi">2</span><span class="o">:</span><span class="n">pi</span><span class="o">/</span><span class="mi">2</span><span class="p">]</span> <span class="k">set</span> <span class="nb">yrange</span> <span class="p">[</span><span class="mi">0</span><span class="o">:</span><span class="mi">1</span><span class="p">]</span> <span class="k">set</span> <span class="nb">xtics</span> <span class="n">axis</span> <span class="k">set</span> <span class="nb">ytics</span> <span class="n">axis</span> <span class="k">set</span> <span class="nb">xzeroaxis</span> <span class="k">set</span> <span class="nb">yzeroaxis</span> <span class="k">f</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">=</span> <span class="nf">cos</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="nv">x_0</span> <span class="o">=</span> <span class="mi">-1</span> <span class="k">unset</span> <span class="nb">parametric</span> <span class="k">set</span> <span class="nb">samples</span> <span class="mi">100</span> <span class="k">plot</span> <span class="n">x</span> <span class="nb">with</span> <span class="n">lines</span> <span class="n">lt</span> <span class="mi">3</span> <span class="k">plot</span> <span class="nf">f</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="nb">with</span> <span class="n">lines</span> <span class="n">lt</span> <span class="mi">3</span> <span class="k">set</span> <span class="nb">parametric</span> <span class="nf">iter2_x</span>(x, n) <span class="o">=</span> <span class="n">n</span><span class="o">></span><span class="mi">0</span> <span class="o">?</span> <span class="nf">iter1_x</span><span class="p">(</span><span class="nf">f</span><span class="p">(</span><span class="n">x</span><span class="p">)</span><span class="o">,</span> <span class="n">n</span><span class="mi">-1</span><span class="p">)</span> <span class="o">:</span> <span class="n">x</span> <span class="nf">iter1_x</span>(x, n) <span class="o">=</span> <span class="n">n</span><span class="o">></span><span class="mi">0</span> <span class="o">?</span> <span class="nf">iter2_x</span><span class="p">(</span> <span class="n">x</span> <span class="o">,</span> <span class="n">n</span><span class="mi">-1</span><span class="p">)</span> <span class="o">:</span> <span class="n">x</span> <span class="nf">iter_x</span>(x, n) <span class="o">=</span> <span class="n">n</span><span class="o">></span><span class="mi">0</span> <span class="o">?</span> <span class="nf">iter2_x</span><span class="p">(</span> <span class="n">x</span> <span class="o">,</span> <span class="n">n</span><span class="mi">-1</span><span class="p">)</span> <span class="o">:</span> <span class="n">x</span> <span class="nf">iter2_y</span>(y, n) <span class="o">=</span> <span class="n">n</span><span class="o">></span><span class="mi">0</span> <span class="o">?</span> <span class="nf">iter1_y</span><span class="p">(</span> <span class="n">y</span> <span class="o">,</span> <span class="n">n</span><span class="mi">-1</span><span class="p">)</span> <span class="o">:</span> <span class="n">y</span> <span class="nf">iter1_y</span>(y, n) <span class="o">=</span> <span class="n">n</span><span class="o">></span><span class="mi">0</span> <span class="o">?</span> <span class="nf">iter2_y</span><span class="p">(</span><span class="nf">f</span><span class="p">(</span><span class="n">y</span><span class="p">)</span><span class="o">,</span> <span class="n">n</span><span class="mi">-1</span><span class="p">)</span> <span class="o">:</span> <span class="n">y</span> <span class="nf">iter_y</span>(y, n) <span class="o">=</span> <span class="n">n</span><span class="o">></span><span class="mi">0</span> <span class="o">?</span> <span class="nf">iter2_y</span><span class="p">(</span><span class="nf">f</span><span class="p">(</span><span class="n">y</span><span class="p">)</span><span class="o">,</span> <span class="n">n</span><span class="mi">-1</span><span class="p">)</span> <span class="o">:</span> <span class="mi">0</span> <span class="k">set</span> <span class="nb">samples</span> <span class="mi">21</span> <span class="k">plot</span> <span class="p">[</span><span class="mi">0</span><span class="o">:</span><span class="mi">20</span><span class="p">]</span> <span class="nf">iter_x</span><span class="p">(</span><span class="n">x_0</span><span class="o">,</span><span class="nb">t</span><span class="p">)</span><span class="o">,</span><span class="nf">iter_y</span><span class="p">(</span><span class="n">x_0</span><span class="o">,</span><span class="nb">t</span><span class="p">)</span> <span class="nb">with</span> <span class="n">lines</span> <span class="n">lt</span> <span class="mi">1</span> <span class="k">unset</span> <span class="nb">multiplot</span> </pre></div> <br> </div>|} </td> </tr> <tr style="vertical-align: top"> <td id="fileinfotpl_date" class="fileinfo-paramfield" lang="en">Date</td> <td lang="en"> <span style="white-space:nowrap"><time class="dtstart" datetime="2007-04-30">30 April 2007</time></span> (original upload date)</td> </tr> <tr style="vertical-align: top"> <td id="fileinfotpl_src" class="fileinfo-paramfield" lang="en">Source</td> <td>Transferred from <span class="plainlinks"><a class="external text" href="//en.wikipedia.org">en.wikipedia</a></span> to Commons.</td> </tr> <tr style="vertical-align: top"> <td id="fileinfotpl_aut" class="fileinfo-paramfield" lang="en">Author</td> <td>The original uploader was <a href="https://en.wikipedia.org/wiki/User:Tinctorius" class="extiw" title="wikipedia:User:Tinctorius">Tinctorius</a> at <a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:">English Wikipedia</a> Later versions were uploaded by <a href="https://en.wikipedia.org/wiki/User:EdC" class="extiw" title="en:User:EdC">EdC</a> at <a class="external text" href="http://en.wikipedia.org">en.wikipedia</a>.</td> </tr> </table> </div> <h2> <span class="mw-headline" id="Licensing">Licensing</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="//commons.wikimedia.org/w/index.php?title=File:Cosine_fixed_point.svg&action=edit§ion=2" title="부분 편집: Licensing">편집</a><span class="mw-editsection-bracket">]</span></span> </h2> <table cellspacing="8" cellpadding="0" style="width:100%; clear:both; margin:0.5em auto; background-color:#f9f9f9; border:2px solid #e0e0e0; direction: ltr;" lang="en" class="layouttemplate licensetpl"><tr> <td> <a href="//commons.wikimedia.org/wiki/File:Heckert_GNU_white.svg" class="image" title="GNU head"><img alt="GNU head" src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Heckert_GNU_white.svg/64px-Heckert_GNU_white.svg.png" width="64" height="63" class="noviewer" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Heckert_GNU_white.svg/96px-Heckert_GNU_white.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Heckert_GNU_white.svg/128px-Heckert_GNU_white.svg.png 2x" data-file-width="535" data-file-height="523"></a> </td> <td> Permission is granted to copy, distribute and/or modify this document under the terms of the <b><a href="https://en.wikipedia.org/wiki/en:GNU_Free_Documentation_License" class="extiw" title="w:en:GNU Free Documentation License">GNU Free Documentation License</a></b>, Version 1.2 or any later version published by the <a href="https://en.wikipedia.org/wiki/en:Free_Software_Foundation" class="extiw" title="w:en:Free Software Foundation">Free Software Foundation</a>; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled <i><a href="//commons.wikimedia.org/wiki/Commons:GNU_Free_Documentation_License,_version_1.2" title="Commons:GNU Free Documentation License, version 1.2">GNU Free Documentation License</a></i>.<span class="licensetpl_link" style="display:none;">http://www.gnu.org/copyleft/fdl.html</span><span class="licensetpl_short" style="display:none;">GFDL</span><span class="licensetpl_long" style="display:none;">GNU Free Documentation License</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span> </td> </tr></table> <table style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color:#f9f9f9; border:2px solid #e0e0e0; padding: 0; border-spacing: 8px;" class="layouttemplate licensetpl mw-content-ltr" lang="en"> <tr> <td style="width:90px;" rowspan="4"> <img alt="w:en:Creative Commons" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png" title="w:en:Creative Commons" width="90" height="36" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/135px-CC_some_rights_reserved.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/180px-CC_some_rights_reserved.svg.png 2x" data-file-width="744" data-file-height="300"><br><img alt="attribution" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png" title="attribution" width="24" height="24" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/36px-Cc-by_new_white.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/48px-Cc-by_new_white.svg.png 2x" data-file-width="64" data-file-height="64"><img alt="share alike" src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Cc-sa.svg/24px-Cc-sa.svg.png" title="share alike" width="24" height="24" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Cc-sa.svg/36px-Cc-sa.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Cc-sa.svg/48px-Cc-sa.svg.png 2x" data-file-width="64" data-file-height="64"> </td> <td> This file is licensed under the <a href="https://en.wikipedia.org/wiki/en:Creative_Commons" class="extiw" title="w:en:Creative Commons">Creative Commons</a> <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/3.0/deed.en">Attribution-Share Alike 3.0 Unported</a> license. </td> <td style="width:90px;" rowspan="4"> </td> </tr> <tr style="text-align:center;"><td> </td></tr> <tr style="text-align:left;"><td> <dl> <dd>You are free: <ul> <li> <b>to share</b> – to copy, distribute and transmit the work</li> <li> <b>to remix</b> – to adapt the work</li> </ul> </dd> <dd>Under the following conditions: <ul> <li> <b>attribution</b> – You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).</li> <li> <b>share alike</b> – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.</li> </ul> </dd> </dl> </td></tr> <tr style="text-align:center;"><td> <span style="font-size:90%;">This licensing tag was added to this file as part of the GFDL <a href="https://meta.wikimedia.org/wiki/Licensing_update" class="extiw" title="meta:Licensing update">licensing update</a>.</span><span class="licensetpl_link" style="display:none;">http://creativecommons.org/licenses/by-sa/3.0/</span><span class="licensetpl_short" style="display:none;">CC-BY-SA-3.0</span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution-Share Alike 3.0</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span> </td></tr> </table> <h2> <span class="mw-headline" id="Original_upload_log">Original upload log</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="//commons.wikimedia.org/w/index.php?title=File:Cosine_fixed_point.svg&action=edit§ion=3" title="부분 편집: Original upload log">편집</a><span class="mw-editsection-bracket">]</span></span> </h2> <p><span lang="en" class="description en">The original description page was <a class="external text" href="//en.wikipedia.org/w/index.php?title=File:Cosine_fixed_point.svg">here</a>. All following user names refer to en.wikipedia.</span> </p> <ul> <li> 2007-04-30 22:57 <a href="https://en.wikipedia.org/wiki/User:EdC" class="extiw" title="en:User:EdC">EdC</a> 600×480×0 (14381 bytes) <i>Create fixed version from own previous work at Image:Sine fixed point.svg.</i> </li> <li> 2007-04-30 09:10 <a href="https://en.wikipedia.org/wiki/User:Tinctorius" class="extiw" title="en:User:Tinctorius">Tinctorius</a> 600×480×0 (11310 bytes) <i>Fixed point iteration of the cosine function. Derived from Image:Sine fixed point.svg. Created with Gnuplot: <nowiki> set term svg set out "cosine.svg" set multiplot set size ratio 0.5 unset key set xrange [-pi:pi] set yrange [0:1] set xtics </i> </li> <li> 2007-04-30 08:35 <a href="https://en.wikipedia.org/wiki/User:Tinctorius" class="extiw" title="en:User:Tinctorius">Tinctorius</a> 600×480×0 (11010 bytes) <i>== Summary == Fixed point iteration of the cosine function. Derived from Image:Sine fixed point.svg. Created with Gnuplot: <nowiki> set term svg set out "cosine.svg" set multiplot set size ratio 0.5 unset key set xrange [-pi:pi] set yrange [0</i> </li> </ul> |
- You cannot overwrite this file.
File usage
The following page links to this file: