diff options
Diffstat (limited to '3755/CH12/EX12.2/Ex12_2.sce')
-rw-r--r-- | 3755/CH12/EX12.2/Ex12_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3755/CH12/EX12.2/Ex12_2.sce b/3755/CH12/EX12.2/Ex12_2.sce new file mode 100644 index 000000000..55f223773 --- /dev/null +++ b/3755/CH12/EX12.2/Ex12_2.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=7000*10^-10; //wavelength(m)
+n=2.8*10^19; //number of ions
+
+//Calculation
+E=n*h*c/lamda; //energy of laser pulse(joule)
+
+//Result
+printf("\n energy of laser pulse is %0.2f joule",E)
|