From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2780/CH7/EX7.10/Ex7_10.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2780/CH7/EX7.10/Ex7_10.sce (limited to '2780/CH7/EX7.10') diff --git a/2780/CH7/EX7.10/Ex7_10.sce b/2780/CH7/EX7.10/Ex7_10.sce new file mode 100755 index 000000000..9d871e800 --- /dev/null +++ b/2780/CH7/EX7.10/Ex7_10.sce @@ -0,0 +1,14 @@ +clc +//to calculate wavelength +h=6.6*10^-34 //plank's constant in J/sec +m=9.1*10^-31 //mass of electron in kg +c=3*10^8 //light speed in m/s +lambda=h/(m*c) +disp("wavelength of quantum of radiant energy is lambda="+string(lambda)+"m") +//to calculate number of photons +power=12 //power emitted by the lamp =150*(8/100) in watts +E=12 //energy emitted per second +lambda=4500*10^-10 +energy=(h*c)/lambda //energy contained in one photon in J +number=E/energy +disp("number of photons emitted per sec is number="+string(number)+"unitless") -- cgit