summaryrefslogtreecommitdiff
path: root/1730/CH3/EX3.13/Exa3_13.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1730/CH3/EX3.13/Exa3_13.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1730/CH3/EX3.13/Exa3_13.sce')
-rwxr-xr-x1730/CH3/EX3.13/Exa3_13.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1730/CH3/EX3.13/Exa3_13.sce b/1730/CH3/EX3.13/Exa3_13.sce
new file mode 100755
index 000000000..b20d68c5d
--- /dev/null
+++ b/1730/CH3/EX3.13/Exa3_13.sce
@@ -0,0 +1,15 @@
+//Exa3.13
+clc;
+clear;
+close;
+// given data
+E_x=100;// in V/m
+e=1.6*10^-19;// in C
+R_H=0.0145;// in m^3/coulomb
+miu_n=0.36;// in m^2/volt-second
+// Formula R_H=1/(n*e)
+n=1/(R_H*e);
+sigma=n*e*miu_n;
+J=sigma*E_x;
+disp("Current density is : "+string(J)+" A per m^2");
+