summaryrefslogtreecommitdiff
path: root/2444/CH1/EX1.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2444/CH1/EX1.14
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 '2444/CH1/EX1.14')
-rwxr-xr-x2444/CH1/EX1.14/ex1_14.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2444/CH1/EX1.14/ex1_14.sce b/2444/CH1/EX1.14/ex1_14.sce
new file mode 100755
index 000000000..540fe9a1b
--- /dev/null
+++ b/2444/CH1/EX1.14/ex1_14.sce
@@ -0,0 +1,12 @@
+// Exa 1.14
+clc;
+clear;
+close;
+format('v',7)
+// Given data
+I_electrons = 3/4;
+I_holes= 1/4;
+v_h = 1;
+v_e = 3;
+ratio = (I_electrons/I_holes)*(v_h/v_e);
+disp(ratio,"Ratio of electrons to holes is");