summaryrefslogtreecommitdiff
path: root/2198/CH1/EX1.11.1/Ex1_11_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2198/CH1/EX1.11.1/Ex1_11_1.sce
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 '2198/CH1/EX1.11.1/Ex1_11_1.sce')
-rwxr-xr-x2198/CH1/EX1.11.1/Ex1_11_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2198/CH1/EX1.11.1/Ex1_11_1.sce b/2198/CH1/EX1.11.1/Ex1_11_1.sce
new file mode 100755
index 000000000..27ff0af4e
--- /dev/null
+++ b/2198/CH1/EX1.11.1/Ex1_11_1.sce
@@ -0,0 +1,13 @@
+//Ex 1.11.1
+clc;clear;close;
+format('v',9);
+
+//Given :
+ni=1.5*10^10/10^-6;//per m^3
+mu_n=1800*10^-4;//m^2/V-s
+mu_p=500*10^-4;//m^2/V-s
+q=1.6*10^-19;//Coulomb
+sigma_i=ni*(mu_n+mu_p)*q;//(ohm-m)^-1
+disp(sigma_i,"Conductivity in (ohm-m)^-1 : ");
+rho_i=1/sigma_i;//ohm-m
+disp(rho_i,"Resistivity in ohm-m : ");