Jump to content

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

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

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

Summary

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

[code]

sigma_ = 1

f( x, theta ) = 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 ) + "$; " + "$ \\sigma = " + ( "%d" % sigma_ ) + "$; " + "$ \\theta = %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, theta ), **plot_opts ) + text( ( text_ % theta ), **text_opts ) for theta in xsrange( 0.01, 9.99, 0.1 ) ]

animate( plots ).show( delay=1 )

[/code]
Date
Source Own work
Author Relli054w

Licensing

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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

22 August 2014

964,781 byte

1 second

260 pixel

284 pixel

image/gif

f8ba4e41cf15c1eb3f3023d0a7fc2c8a4203f2be

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 (942 KB)Relli054wUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file: