From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2444/CH1/EX1.14/ex1_14.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 2444/CH1/EX1.14/ex1_14.sce (limited to '2444/CH1/EX1.14') 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"); -- cgit