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.31/Ex7_31.sce | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 2780/CH7/EX7.31/Ex7_31.sce (limited to '2780/CH7/EX7.31') diff --git a/2780/CH7/EX7.31/Ex7_31.sce b/2780/CH7/EX7.31/Ex7_31.sce new file mode 100755 index 000000000..ace63e168 --- /dev/null +++ b/2780/CH7/EX7.31/Ex7_31.sce @@ -0,0 +1,7 @@ +clc +//to calculate frequency of vibration +En=0.1*1.6*10^-19 //energy of a linear harmonic oscillator in eV +n=3 //third excited state +h=6.63*10^-34 //planck's constant +nu=En/((n+(1/2))*h) +disp("the frequency of vibration is nu="+string(nu)+"Hz") -- cgit