summaryrefslogtreecommitdiff
path: root/2438/CH6
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /2438/CH6
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '2438/CH6')
-rwxr-xr-x2438/CH6/EX6.20/Ex6_20.sce90
1 files changed, 20 insertions, 70 deletions
diff --git a/2438/CH6/EX6.20/Ex6_20.sce b/2438/CH6/EX6.20/Ex6_20.sce
index 3768f1ed4..b430f3122 100755
--- a/2438/CH6/EX6.20/Ex6_20.sce
+++ b/2438/CH6/EX6.20/Ex6_20.sce
@@ -1,70 +1,20 @@
-// chapter 6 example 2o
-
-clc;
-clear;
-
-
-//input data
- n = 3.0*10^28; //number of electrons per m^3
- t = 3*10^-14; //time in s
- m = 9.1*10^-31; //mass of electron in kg
- L = 2.44*10^-8; //lorentz number in ohm W/K^2
- T = 330; //temperature in kelvin
- e = 1.6*10^-19; //charge of electron
-
-
-//calculation
- sigma = n*e^2*t/m; //electrical conductivity in (ohm-m)^-1
-
-//result
- mprintf('electrial conductivity=%3.2e.(ohm-m)^-1\n',sigma);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-810
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-622
+// chapter 6 example 2o
+
+clc;
+clear;
+
+
+//input data
+ n = 3.0*10^28; //number of electrons per m^3
+ t = 3*10^-14; //time in s
+ m = 9.1*10^-31; //mass of electron in kg
+ L = 2.44*10^-8; //lorentz number in ohm W/K^2
+ T = 330; //temperature in kelvin
+ e = 1.6*10^-19; //charge of electron
+
+
+//calculation
+ sigma = n*e^2*t/m; //electrical conductivity in (ohm-m)^-1
+
+//result
+ mprintf('electrial conductivity=%3.2e.(ohm-m)^-1\n',sigma); \ No newline at end of file