summaryrefslogtreecommitdiff
path: root/2912/CH6/EX6.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2912/CH6/EX6.3
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 '2912/CH6/EX6.3')
-rwxr-xr-x2912/CH6/EX6.3/Ex6_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2912/CH6/EX6.3/Ex6_3.sce b/2912/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..1d6db1895
--- /dev/null
+++ b/2912/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,14 @@
+//chapter 6
+//example 6.3
+//Calculate relaxation time of conduction electrons
+//page 147
+clear;
+clc;
+//given
+n=5.8E28; // in 1/m^3 (density of electron)
+m=9.1E-31; // in Kg (mass of electron)
+e=1.6E-19; // in C (charge of electron)
+p=1.54E-8; // in ohm-m (resistivity)
+//calculate
+t=m/(n*e^2*p); // calculation of relaxation time
+printf('\nThe relaxation time of conduction electrons is %1.2E sec',t);