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 /2102/CH1/EX1.8 | |
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 '2102/CH1/EX1.8')
-rwxr-xr-x | 2102/CH1/EX1.8/exa_1_8.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/2102/CH1/EX1.8/exa_1_8.sce b/2102/CH1/EX1.8/exa_1_8.sce new file mode 100755 index 000000000..4aa61befa --- /dev/null +++ b/2102/CH1/EX1.8/exa_1_8.sce @@ -0,0 +1,29 @@ +// Exa 1.8
+clc;
+clear;
+close;
+// Given data
+format('v',13)
+d= 2;// in mm
+d=d*10^-3;//in m
+sigma= 5.8*10^7;// in s/m
+miu_c= 0.0032;// in m^2/v-sec
+E= 20;//in mV/m
+E=E*10^-3;//in V/m
+e= 1.6*10^-19;// in C
+// Part (a)
+n= sigma/(e*miu_c);//in /m^3
+disp(n,"Charge density per meter cube is : ")
+
+// Part (b)
+J= sigma*E;//in A/m^2
+disp(J,"Current density in A/m^2 is : ")
+
+// Part (c)
+Area= %pi*d^2/4;// in area of cross-section of wire in m^2
+I= J*Area;// in A
+disp(I,"Current flowing in the wire in amp is : ")
+
+// Part (d)
+v= miu_c*E;// in m/sec
+disp(v,"Electron drift velocity in m/sec is : ")
|