diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /135/CH1/EX1.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '135/CH1/EX1.2')
-rwxr-xr-x | 135/CH1/EX1.2/EX2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/135/CH1/EX1.2/EX2.sce b/135/CH1/EX1.2/EX2.sce new file mode 100755 index 000000000..720ec27ae --- /dev/null +++ b/135/CH1/EX1.2/EX2.sce @@ -0,0 +1,10 @@ +// Example 1.2: Electric field intensity, Voltage
+clc, clear
+l=3e-3; // Length of the bar in metres
+a=50*10*1e-12; // Cross-sectional area in metres square
+I=2e-6; // Current in amperes
+rho=2.3e3; // Resistivity in ohm metres
+E=I*rho/a; // Electric field intensity in volt per metres
+V=E*l; // Voltage across the bar in volt
+disp(E,"Electic field intensity (V/m) = ");
+disp(V,"Voltage across the bar (V) = ");
\ No newline at end of file |