summaryrefslogtreecommitdiff
path: root/3768/CH6/EX6.3/Ex6_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH6/EX6.3/Ex6_3.sce')
-rw-r--r--3768/CH6/EX6.3/Ex6_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3768/CH6/EX6.3/Ex6_3.sce b/3768/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..3586942de
--- /dev/null
+++ b/3768/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,15 @@
+//Example number 6.3, Page number 117
+
+clc;clear;
+close;
+
+//Variable declaration
+rho=1.43*10**-8; //resistivity(ohm m)
+n=6.5*10**28; //conduction electrons(per m**3)
+e=1.6*10**-19; //charge(c)
+m=9.1*10**-34; //mass(kg)
+//Calculation
+towr=m/(n*e**2*rho); //relaxation time(sec)
+//Result
+printf("relaxation time is %.3e sec",towr)
+//answer in the book varies due to rounding off errors