summaryrefslogtreecommitdiff
path: root/1730/CH2/EX2.7/Exa2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1730/CH2/EX2.7/Exa2_7.sce')
-rwxr-xr-x1730/CH2/EX2.7/Exa2_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1730/CH2/EX2.7/Exa2_7.sce b/1730/CH2/EX2.7/Exa2_7.sce
new file mode 100755
index 000000000..bab2afb35
--- /dev/null
+++ b/1730/CH2/EX2.7/Exa2_7.sce
@@ -0,0 +1,19 @@
+//Exa2.7
+clc;
+clear;
+close;
+format('v',11);
+//given data :
+E=100;//in V/m
+rho=1.5*10^-8; //in ohm-meter
+//since sigma=1/roh
+sigma=1/rho;
+n=6*10^28 ; //unit less
+e=1.601*10^-19; //in C
+m=9.107*10^-31;//in kg
+// Relaxation time
+toh=(sigma*m)/(n*e^2);
+disp("(i) Relaxation time of electrons is : "+string(toh)+" seconds");
+//Drift velocity
+v=(e*E*toh)/m;
+disp("(ii) Drift velocity is : "+string(v)+" m/s");