summaryrefslogtreecommitdiff
path: root/3840/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3840/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--3840/CH5/EX5.3/Ex5_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3840/CH5/EX5.3/Ex5_3.sce b/3840/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..1c278b462
--- /dev/null
+++ b/3840/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+rho=1.54*10**-8 //resistivity(ohm m)
+n=5.8*10**28 //number of electrons
+e=1.602*10**-19 //charge(c)
+m=9.11*10**-31 //mass(kg)
+
+//Calculation
+tow=m/(n*e**2*rho) //relaxation time(s)
+
+//Result
+printf("\n relaxation time is %0.3f *10**-15 s",tow*10**15)
+printf("\n answer in the book varies due to rounding off errors")