summaryrefslogtreecommitdiff
path: root/3411/CH6/EX6.7/Ex6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH6/EX6.7/Ex6_7.sce')
-rw-r--r--3411/CH6/EX6.7/Ex6_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3411/CH6/EX6.7/Ex6_7.sce b/3411/CH6/EX6.7/Ex6_7.sce
new file mode 100644
index 000000000..51356e02b
--- /dev/null
+++ b/3411/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,11 @@
+//Example 6_7
+clc();
+clear;
+//To calculate the no of photons emitted by the ruby laser
+p=1 //units in W
+lamda=694.3*10^-9
+h=6.63*10^-34
+c=3*10^8
+n=(p*lamda)/(h*c)
+printf("The no of photons emitted by the ruby laser is n=")
+disp(n)