summaryrefslogtreecommitdiff
path: root/1448/CH12/EX12.1.e
diff options
context:
space:
mode:
Diffstat (limited to '1448/CH12/EX12.1.e')
-rwxr-xr-x1448/CH12/EX12.1.e/E12_1.sce11
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)