File:Plot f(x,sigma)=product(exp(devide(-pow(x,2),product(2,pow(sigma,2)))),cos(product(2,pi,theta,x))); theta=1; sigma=range(0.1,9.9).gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Plot_f(x,sigma)=product(exp(devide(-pow(x,2),product(2,pow(sigma,2)))),cos(product(2,pi,theta,x)));_theta=1;_sigma=range(0.1,9.9).gif(284 × 260 pixels, file size: 952 KB, MIME type: image/gif, looped, 100 frames, 1.0 s)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: sage (http://www.sagemath.org/) source code

[code]

theta_ = 1

f( x, sigma ) = exp( - (x^2) / ( 2 * sigma^2 ) ) * cos( 2 * pi * theta_ * x )

text_ = "$ f(x) = \\exp \\left( - \\frac{ x^2 }{ 2 \\sigma^2 } \\right) \\cos( 2 \\pi \\theta x )$" + "\n" + "$ \\pi = " + ( "%0.03f" % pi ) + "$; " + "$ \\theta = " + ( "%d" % theta_ ) + "$; " + "$ \\sigma = %0.02f $"

text_opts = {} text_opts[ "xy" ] = [ 0, 1.2 ] text_opts[ "figsize" ] = [ 3, 2 ] text_opts[ "horizontal_alignment" ] = "center" text_opts[ "vertical_alignment" ] = "bottom" text_opts[ "color" ] = "black" text_opts[ "fontsize" ] = 15

plot_opts = {} plot_opts[ "xmin" ] = -5 plot_opts[ "xmax" ] = +5 plot_opts[ "ymin" ] = -1.1 plot_opts[ "ymax" ] = +1.1

plots = [ plot( f( x, sigma ), **plot_opts ) + text( ( text_ % sigma ), **text_opts ) for sigma in xsrange( 0.01, 9.99, 0.1 ) ]

animate( plots ).show( delay=1 )

[/code]
Date
Source Own work
Author Relli054w

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
 
This diagram was created with Mathematica by n.

File history

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

Date/TimeThumbnailDimensionsUserComment
current13:31, 22 August 2014Thumbnail for version as of 13:31, 22 August 2014284 × 260 (952 KB)Relli054w (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: