diff options
Diffstat (limited to '2444/CH1/EX1.14')
-rwxr-xr-x | 2444/CH1/EX1.14/ex1_14.sce | 12 |
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");
|