File:Riemann Integration and Darboux Lower Sums.gif

頁面內容唔支援其他語言。
出自維基百科,自由嘅百科全書

Riemann_Integration_and_Darboux_Lower_Sums.gif(800 × 600 像素,檔案大細:484 KB ,MIME類型:image/gif、循環、8格、6.4 s)

摘要

描述
English: This function is y=x^2.
日期
來源

自己作品

 
This plot was created with Matplotlib.
作者 IkamusumeFan

Matplotlib (Python)

# Author: Ika, 2013-09-14

import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sp
from matplotlib.patches import Polygon
import random                                                                        

fig=plt.figure()
ax = fig.add_subplot(111)

ax.set_xlim(0,2)
ax.set_ylim(0,4)

X = np.arange(0,2.01,0.01)
Y = X*X

ax.plot(X, Y)

verts = [(0,0)] + zip(X,Y) + [(2,0)]
poly = Polygon(verts, facecolor='blue',alpha=0.5,edgecolor='blue')
ax.add_patch(poly)
plt.savefig("frame0100.jpg")

ord = 0;
while (ord<7):
	plt.clf()
	fig=plt.figure()
	ax = fig.add_subplot(111)
	interval = 1.0/(2**ord)
	ax.set_xlim(0,2)
	ax.set_ylim(0,4)

	X = np.arange(0,2.01,0.01)
	Y = X*X

	ax.plot(X, Y)
	ax.text(0.2,3.0,'Step=1/'+str(2**ord),size=36);
	x=interval;
	while (x<2+interval/2.0):
		verts = [(x-interval,0)]+[(x-interval,(x-interval)*(x-interval))]+[(x,(x-interval)*(x-interval))]+[(x,0)];
		poly = Polygon(verts, facecolor='blue', alpha=0.5,edgecolor='black')
		ax.add_patch(poly)
		x=x+interval;

	plt.savefig("frame00"+str(ord)+".jpg");
	
	ord = ord+1;

協議

我,呢份作品嘅作者,決定用以下許可發佈呢件作品:
w:en:Creative Commons
署名 相同方式分享
你可以:
  • 去分享 – 複製、發佈同傳播呢個作品
  • 再改 – 創作演繹作品
要遵照下面嘅條件:
  • 署名 – 你一定要畀合適嘅表彰、畀返指向呢個授權條款嘅連結,同埋寫明有無改過嚟。你可以用任何合理方式去做,但唔可以用任何方式暗示授權人認可咗你或者你嘅使用方式。
  • 相同方式分享 – 如果你用任何方式改過呢個作品,你必須要用返原本或者相似嘅條款發佈。

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

圖中顯示嘅係

15 9 2013

檔案歷史

撳個日期/時間去睇響嗰個時間出現過嘅檔案。

日期/時間縮圖尺寸用戶註解
現時2013年9月15號 (日) 06:13響2013年9月15號 (日) 06:13嘅縮圖版本800 × 600(484 KB)IkamusumeFanWrong for Lebesgue Integral.
2013年9月15號 (日) 06:06響2013年9月15號 (日) 06:06嘅縮圖版本800 × 600(460 KB)IkamusumeFanUser created page with UploadWizard

以下嘅3版用到呢個檔:

全域檔案使用情況

下面嘅維基都用緊呢個檔案: