summaryrefslogtreecommitdiff
path: root/2720/CH3/EX3.21.18/ex3_21_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '2720/CH3/EX3.21.18/ex3_21_18.sce')
-rwxr-xr-x2720/CH3/EX3.21.18/ex3_21_18.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2720/CH3/EX3.21.18/ex3_21_18.sce b/2720/CH3/EX3.21.18/ex3_21_18.sce
new file mode 100755
index 000000000..5601b9405
--- /dev/null
+++ b/2720/CH3/EX3.21.18/ex3_21_18.sce
@@ -0,0 +1,18 @@
+// Exa 3.21.18
+clc;
+clear;
+close;
+// Given data
+q = 1.6 * 10^-19;// in C
+n_n = 5 * 10^20;// in /m^3
+n_n = n_n * 10^-6;// in cm^3
+Mu_n = 0.13;// in m^2/V-sec
+Mu_n = Mu_n * 10^4;// in cm^2/V-sec
+Sigma_n = q * n_n * Mu_n;// in (ohm-cm)^-1
+Rho = 1/Sigma_n;// in Ω-cm
+l = 0.1;// in cm
+A = 100;// µm^2
+A = A * 10^-8;// in cm^2
+R = Rho * (l/A);// in Ohm
+R=round(R*10^-6);// in MΩ
+disp(R,"The resistance of the bar in MΩ is");