File:Surface integral illustration.svg
Original file (SVG file, nominally 512 × 348 pixels, file size: 20 KB)
Captions
Summary
[edit]DescriptionSurface 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. |
|||
Date | 11 December 2014 | |||
Source | Own work based on: Surface integral illustration.png & SVG - Export of figures | |||
Author | McMetrox | |||
Permission (Reusing this file) |
I, the copyright holder of this work, hereby publish it under the following license:
|
|||
Other versions |
|
|||
SVG development InfoField | ||||
Source code 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');
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 00:36, 12 December 2014 | 512 × 348 (20 KB) | McMetrox (talk | contribs) | Reduced file size | |
23:50, 11 December 2014 | 512 × 348 (39 KB) | McMetrox (talk | contribs) | {{Information |Description ={{en|1=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... |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ast.wikipedia.org
- Usage on bn.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on cs.wikibooks.org
- Usage on cv.wikipedia.org
- Usage on en.wikipedia.org
- Usage on eo.wikipedia.org
- Usage on es.wikipedia.org
- Usage on fa.wikipedia.org
- Usage on gl.wikipedia.org
- Usage on he.wikipedia.org
- Usage on hu.wikipedia.org
- Usage on id.wikipedia.org
- Usage on it.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on ka.wikipedia.org
- Usage on km.wikipedia.org
- Usage on kn.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on nl.wikipedia.org
- Usage on ro.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on simple.wikipedia.org
- Usage on sq.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on ta.wikipedia.org
- Usage on te.wikipedia.org
- Usage on tl.wikipedia.org
- Usage on tr.wikipedia.org
- Usage on tt.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on vi.wikipedia.org
- Usage on zh.wikipedia.org
View more global usage of this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Image title | Matlab Figure Converted by PLOT2SVG written by Juerg Schwizer |
---|---|
Width | 100% |
Height | 100% |