summaryrefslogtreecommitdiff
path: root/2258/CH2/EX2.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2258/CH2/EX2.12
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 '2258/CH2/EX2.12')
-rwxr-xr-x2258/CH2/EX2.12/2_12.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2258/CH2/EX2.12/2_12.sce b/2258/CH2/EX2.12/2_12.sce
new file mode 100755
index 000000000..eee3a1345
--- /dev/null
+++ b/2258/CH2/EX2.12/2_12.sce
@@ -0,0 +1,10 @@
+clc();
+clear;
+// To calculate the relaxation time of conduction electrons
+rho=1.43*10^-8; //resistivity in ohm-m
+n=6.5*10^28; //electron/m^3
+m=9.11*10^-34; //mass in kg
+e=1.6*10^-19; //charge in coulomb
+tow=m/(n*(e^2)*rho);
+printf("relaxation time of conduction electrons in sec is");
+disp(tow);