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 /1448/CH12/EX12.1.e | |
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 '1448/CH12/EX12.1.e')
-rwxr-xr-x | 1448/CH12/EX12.1.e/E12_1.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1448/CH12/EX12.1.e/E12_1.sce b/1448/CH12/EX12.1.e/E12_1.sce new file mode 100755 index 000000000..270116260 --- /dev/null +++ b/1448/CH12/EX12.1.e/E12_1.sce @@ -0,0 +1,11 @@ +clc
+//Initialization of variables
+P=100 //W
+t=10 //s
+l=560 //nm
+//calculations
+TE=P*t
+E1=6.626*10^-34 *2.998*10^8 /(l*10^-9)
+N=TE/E1
+//results
+printf("No. of photons required = %.2e ",N)
|