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 --- 1655/CH7/EX7.5.6/Example_7_5_6.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 1655/CH7/EX7.5.6/Example_7_5_6.sce (limited to '1655/CH7/EX7.5.6/Example_7_5_6.sce') diff --git a/1655/CH7/EX7.5.6/Example_7_5_6.sce b/1655/CH7/EX7.5.6/Example_7_5_6.sce new file mode 100755 index 000000000..f6343040f --- /dev/null +++ b/1655/CH7/EX7.5.6/Example_7_5_6.sce @@ -0,0 +1,18 @@ +// Example 7.5.6 page 7.26 + +clc; +clear; + +h=6.626d-34; //plank's constant +c=3d8; //speed of light +q=1.6d-19; //charge of electron +E=1.35; //energy gap in eV + +lamda=h*c/(q*E); //computing wavelength +lamda=lamda*10^6; + +printf("\nThe InP photodetector will stop operation above %.2f micrometer.",lamda); +printf("\nNOTE - calculation error in the book"); + +//calculation error in the book +//answer in the book 1.47 micrometer.(incorrect) -- cgit