summaryrefslogtreecommitdiff
path: root/3768/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH6/EX6.1/Ex6_1.sce')
-rw-r--r--3768/CH6/EX6.1/Ex6_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3768/CH6/EX6.1/Ex6_1.sce b/3768/CH6/EX6.1/Ex6_1.sce
new file mode 100644
index 000000000..9ac51f358
--- /dev/null
+++ b/3768/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,14 @@
+//Example number 6.1, Page number 116
+
+clc;clear;
+close;
+
+//Variable declaration
+rho=1.54*10**-8; //resistivity(ohm m)
+n=5.8*10**28; //conduction electrons(per m**3)
+e=1.6*10**-19; //charge(c)
+m=9.1*10**-31; //mass(kg)
+//Calculation
+towr=m/(n*e**2*rho); //relaxation time(sec)
+//Result
+printf("relaxation time is %.4e sec",towr)