summaryrefslogtreecommitdiff
path: root/2102/CH2/EX2.30/exa_2_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '2102/CH2/EX2.30/exa_2_30.sce')
-rwxr-xr-x2102/CH2/EX2.30/exa_2_30.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2102/CH2/EX2.30/exa_2_30.sce b/2102/CH2/EX2.30/exa_2_30.sce
new file mode 100755
index 000000000..7217bd464
--- /dev/null
+++ b/2102/CH2/EX2.30/exa_2_30.sce
@@ -0,0 +1,27 @@
+// Exa 2.30
+clc;
+clear;
+close;
+// Given data
+e=1.6*10^-19;// in C
+miu_e= 0.0032;// in m^2/v-s
+sigma= 5.8*10^7;// in s/m
+E= 20*10^-3;// in V/m
+d=0.002;// in m
+Area= %pi*d^2/4;// in m^2
+
+// Part (a)
+n= sigma/(e*miu_e);// per m^3
+disp(n,"The 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)
+I= J*Area;// in A
+disp(I,"Current flowing in the wire in ampere is : ")
+
+// Part (d)
+v=miu_e*E;// in m/sec
+disp(v,"Electron drift velocity in m/sec is : ")