summaryrefslogtreecommitdiff
path: root/2102/CH2/EX2.1/exa_2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2102/CH2/EX2.1/exa_2_1.sce')
-rwxr-xr-x2102/CH2/EX2.1/exa_2_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2102/CH2/EX2.1/exa_2_1.sce b/2102/CH2/EX2.1/exa_2_1.sce
new file mode 100755
index 000000000..9502023ba
--- /dev/null
+++ b/2102/CH2/EX2.1/exa_2_1.sce
@@ -0,0 +1,18 @@
+// Exa 2.1
+clc;
+clear;
+close;
+// Given data
+miu= 0.3;// in m^2/vs
+V= 50;// in mV
+V=V*10^-3;// in V
+d=0.4;// in mm
+d=d*10^-3;// in m
+// Part (a)
+// miu= vd/E and vd= miu*E, so
+vd= miu*V/d;// in m/s
+disp(vd,"Drift velocity in m/s is : ")
+
+// Part (b)
+T= d/vd;// in sec
+disp(T*10^6,"Time required for an electron to move in µs is :")