summaryrefslogtreecommitdiff
path: root/377/CH6/EX6.3/6_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /377/CH6/EX6.3/6_3.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '377/CH6/EX6.3/6_3.sce')
-rw-r--r--377/CH6/EX6.3/6_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/377/CH6/EX6.3/6_3.sce b/377/CH6/EX6.3/6_3.sce
new file mode 100644
index 000000000..401293f1b
--- /dev/null
+++ b/377/CH6/EX6.3/6_3.sce
@@ -0,0 +1,14 @@
+disp("σn=q*μe*n and σp=q*μh*p");
+n=10^16;p=10^4;
+a=626; //say μe=a
+b=292; //say μh=b
+q=1.6*10^-19;
+c=q*a*n; //say c=σn
+d=q*b*p*10^13; //say d=σp
+printf('\n The value of σn is %f/ohm/cm',c);
+printf('\n The value of σp is %f*10^-13/ohm/cm',d);
+e=c+(d*10^-13); //say e=σ=σn+σp
+A=2*10^-2;
+l=2.5;
+R=l/(e*A);
+printf('\n The value of resistance is %fohm',R); \ No newline at end of file