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 --- 1004/CH2/EX2.7/Ch02Ex7.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 1004/CH2/EX2.7/Ch02Ex7.sci (limited to '1004/CH2/EX2.7') diff --git a/1004/CH2/EX2.7/Ch02Ex7.sci b/1004/CH2/EX2.7/Ch02Ex7.sci new file mode 100755 index 000000000..bcc9aaa34 --- /dev/null +++ b/1004/CH2/EX2.7/Ch02Ex7.sci @@ -0,0 +1,10 @@ +// Scilab Code Ex2.7 Maximum energy of ejected electrons: Pg:47 (2008) +h = 6.6e-034; // Planck's constant, Js +c = 3e+08; // Speed of light, m/s +L = 2537e-010; // Wavelength of incident light, m +L0 = 3250e-010; // Threshold wavelength of silver, m +// As U = h*(f - f0), the kinetic energy of ejected electrons +U = h*c*(1/L - 1/L0); // Maximum energy of ejected electrons, J +printf("\nThe maximum energy of ejected electrons = %5.3e J", U); +// Result +// The maximum energy of ejected electrons = 1.712e-019 J \ No newline at end of file -- cgit