コンテンツにスキップ

ファイル:Laplaces method.svg

ページのコンテンツが他言語でサポートされていません。

元のファイル(SVG ファイル、263 × 475 ピクセル、ファイルサイズ: 24キロバイト)

概要

解説
English: Illustration of Laplace's method for the approximation of integrals. Created using python with numpy and matplotlib toolkits.
Source Code
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero
from numpy import *

N, L, fs = 500., 15., 12.
M = [.5,3]

x1 = linspace(-L,L,N)
f = lambda x: sin(x) / x
g = lambda x: 1. - (x**2)/6.

y = lambda m,x: exp(m * f(x))
z = lambda m,x: exp(m * g(x))

fig = figure(figsize=(3,6))
ax1 = SubplotZero(fig,211)
ax2 = SubplotZero(fig,212)
fig.add_subplot(ax1)
fig.add_subplot(ax2)

ax1.axis["top"].set_visible(False)
ax1.axis["right"].set_visible(False)
ax1.axis["left"].set_axisline_style("->")
ax1.axis["bottom"].set_axisline_style("->")
ax1.set_yticks([0,.5,1,1.5])
ax1.set_xticks([-10,0,10])

ax2.axis["top"].set_visible(False)
ax2.axis["right"].set_visible(False)
ax2.axis["left"].set_axisline_style("->")
ax2.axis["bottom"].set_axisline_style("->")
ax2.set_yticks([0,5,10,15,20])
ax2.set_xticks([-10,0,10])
#ax.set_xlim(-1,10)
#ax.set_ylim(-3,3)

ax1.plot(x1,z(M[0],x1),'r',lw=2)
ax1.plot(x1,y(M[0],x1),'b',lw=2)
ax2.plot(x1,z(M[1],x1),'r',lw=2)
ax2.plot(x1,y(M[1],x1),'b',lw=2)

#ax.text(10,-2.8,u'$n$')
#ax.text(-.75,3,u'$X_n$')
fig.savefig

("Laplaces_method.svg",bbox_inches="tight",pad_inches=.15)
日付
原典 投稿者自身による著作物
作者 Krishnavedala

Based on File:Laplaces_method.png

ライセンス

この作品の著作権者である私は、この作品を以下のライセンスで提供します。
Creative Commons CC-Zero このファイルはクリエイティブ・コモンズ CC0 1.0 全世界 パブリック・ドメイン提供のもとで利用可能にされています。
ある作品に本コモンズ証を関連づけた者は、その作品について世界全地域において著作権法上認められる、その者が持つすべての権利(その作品に関する権利や隣接する権利を含む。)を、法令上認められる最大限の範囲で放棄して、パブリック・ドメインに提供しています。

この作品は、たとえ営利目的であっても、許可を得ずに複製、改変・翻案、配布、上演・演奏することが出来ます。

キャプション

このファイルの内容を1行で記述してください

このファイルに描写されている項目

題材

9 9 2011

ファイルの履歴

過去の版のファイルを表示するには、その版の日時をクリックしてください。

日付と時刻サムネイル寸法利用者コメント
現在の版2011年9月9日 (金) 05:062011年9月9日 (金) 05:06時点における版のサムネイル263 × 475 (24キロバイト)Krishnavedala

以下のページがこのファイルを使用しています:

グローバルなファイル使用状況

以下に挙げる他のウィキがこの画像を使っています: