diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2216/CH14/EX14.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2216/CH14/EX14.1')
-rwxr-xr-x | 2216/CH14/EX14.1/ex_14_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2216/CH14/EX14.1/ex_14_1.sce b/2216/CH14/EX14.1/ex_14_1.sce new file mode 100755 index 000000000..9cc8f842e --- /dev/null +++ b/2216/CH14/EX14.1/ex_14_1.sce @@ -0,0 +1,22 @@ +//Example 14.1: energy and threshold electrical energy +clc; +clear; +close; +format('v',4) +disp("part (a)") +no=1.9*10^19;//cm^-3;// +hc=6.6*10^-34;// +v=5.45*10^14;//Hz +av=2;// +nv=1;// +n2=no/2;// +eng=((n2*hc*v)/(av*nv));// J cm^-2 +disp(eng,"energy in J cm^-2 is") +format('v',5) +disp("part (b)") +oe=0.50;// +mr=0.15;// +lr=0.20;// +teng=eng/(oe*mr*lr);// +disp(teng,"threshold energy in J cm^-2 is") +//electrical energy is calculated wrong in the textbook |