summaryrefslogtreecommitdiff
path: root/3755/CH12/EX12.5/Ex12_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH12/EX12.5/Ex12_5.sce')
-rw-r--r--3755/CH12/EX12.5/Ex12_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3755/CH12/EX12.5/Ex12_5.sce b/3755/CH12/EX12.5/Ex12_5.sce
new file mode 100644
index 000000000..c5e75ef8f
--- /dev/null
+++ b/3755/CH12/EX12.5/Ex12_5.sce
@@ -0,0 +1,16 @@
+clear
+//
+//
+//
+
+//Variable declaration
+c=3*10^8; //velocity of matter wave(m/s)
+h=6.62*10^-34; //plank's constant(Js)
+lamda=6940*10^-10; //wavelength(m)
+P=1; //power(J)
+
+//Calculation
+n=P*lamda/(h*c); //number of ions
+
+//Result
+printf("\n number of ions is %0.2f *10^18",n/10^18)