summaryrefslogtreecommitdiff
path: root/1367/CH15/EX15.6/15_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1367/CH15/EX15.6/15_6.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 '1367/CH15/EX15.6/15_6.sce')
-rwxr-xr-x1367/CH15/EX15.6/15_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1367/CH15/EX15.6/15_6.sce b/1367/CH15/EX15.6/15_6.sce
new file mode 100755
index 000000000..1c121aea5
--- /dev/null
+++ b/1367/CH15/EX15.6/15_6.sce
@@ -0,0 +1,17 @@
+//Estimate Drift Velocity and time taken by electrons
+//Ex:15.6
+clc;
+clear;
+close;
+id=1000;//in A/sqm
+p=0.05;//resistivity in ohm-m
+l=100*10^-6;//in m
+m_e=0.4;//in sqm/Vsec
+e=1.602*10^-19;//charge of electron in C
+a=1/p;//conductivity
+n_e=a/(e*m_e);//in per cubic m
+v_d=id/(n_e*e);//in m/s
+disp(v_d,"Drift Velocity (in m/s) = ");
+t=l/v_d;//in sec
+t1=t*10^6;//in msec
+disp(t1,"Time taken by electrons (in msec) = "); \ No newline at end of file