ファイル:Surface integral illustration.svg
提供: testwiki
ナビゲーションに移動
検索に移動
元のファイル (SVG ファイル、512 × 348 ピクセル、ファイルサイズ: 20キロバイト)
このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。
概要
| 解説Surface integral illustration.svg |
English: The definition of surface integral relies on splitting the surface into small surface elements. Figure 1: The definition of surface integral relies on splitting the surface into small surface elements. Each element is associated with a vector dS of magnitude equal to the area of the element and with direction normal to the element and pointing outward. |
|||
| 日付 | 2014年12月11日 | |||
| 原典 | 次の画像を基にした投稿者自身による著作物: Surface integral illustration.png & SVG - Export of figures | |||
| 作者 | McMetrox | |||
| 許可 (ファイルの再利用) |
この作品の著作権者である私は、この作品を以下のライセンスで提供します。
|
|||
| その他のバージョン |
|
|||
| SVG 開発 InfoField | ||||
| ソースコード InfoField | MATLAB code% An illustration of the surface integral.
% It shows how a surface is split into surface elements.
function main()
% the function giving the surface and its gradient
f=inline('10-(x.^2+y.^2)/15', 'x', 'y');
BoxSize=5; % surface dimensions are 2*BoxSize x 2*BoxSize
M = 10; % M x M = the number of surface elements into which to split the surface
N=10; % N x N = number of points in each surface element
spacing = 0.1; % spacing between surface elements
H=2*BoxSize/(M-1); % size of each surface element
gridsize=H/N; % distance between points on a surface element
figure(1); clf; hold on; axis equal; axis off;
for i=1:(M-1)
for j=1:(M-1)
Lx = -BoxSize + (i-1)*H+spacing; Ux = -BoxSize + (i )*H-spacing;
Ly = -BoxSize + (j-1)*H+spacing; Uy = -BoxSize + (j )*H-spacing;
% calc the surface element
XX=Lx:gridsize:Ux;
YY=Ly:gridsize:Uy;
[X, Y]=meshgrid(XX, YY);
Z=f(X, Y);
% plot the surface element
surf(X, Y, Z, 'FaceColor','red', 'EdgeColor','none', ...
'AmbientStrength', 0.3, 'SpecularStrength', 1, 'DiffuseStrength', 0.8);
end
end
view (-18, 40); % viewing angle
%camlight headlight; lighting phong; % make nice lightning
% save to file
plot2svg('Surface_integral_illustration.svg');
|
キャプション
このファイルの内容を1行で記述してください
surface integral
このファイルに描写されている項目
題材
ウィキデータ項目がない値
11 12 2014
ファイルの履歴
過去の版のファイルを表示するには、その版の日時をクリックしてください。
| 日時 | サムネイル | 寸法 | 利用者 | コメント | |
|---|---|---|---|---|---|
| 現在の版 | 2014年12月12日 (金) 01:36 | 512 × 348 (20キロバイト) | wikimediacommons>McMetrox | Reduced file size |
ファイルの使用状況
このファイルを使用しているページはありません。