diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /446/CH6/EX6.5/6_5.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '446/CH6/EX6.5/6_5.sce')
-rwxr-xr-x | 446/CH6/EX6.5/6_5.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/446/CH6/EX6.5/6_5.sce b/446/CH6/EX6.5/6_5.sce new file mode 100755 index 000000000..1b6df32e1 --- /dev/null +++ b/446/CH6/EX6.5/6_5.sce @@ -0,0 +1,18 @@ +clear
+clc
+disp('Exa-6.5');
+sl=364.5;n=3; //given variables and various constants are declared in the subsequent steps wherever necessary
+w1=sl*(n^2/(n^2-4)); //longest wavelength of balmer
+c=3*10^8;
+f1=c/(w1*10^-9); //corresponding freq.
+n0=1;n=2;
+w2=91.13*(n^2/(n^2-n0^2)); //first longest of lymann
+f2=c/(w2*10^-9); //correspoding freq
+n0=1;n=3
+w3=91.13*(n^2/(n^2-n0^2)); //second longest of lymann
+f3=3*10^8/(w3*10^-9) //corresponding freq.
+printf('The freq. corresponding to the longest wavelength of balmer is %e & First longest wavelength of Lymann is %e.\n',f1,f2);
+printf('The sum of which s equal to %e\n',f1+f2);
+printf('The freq. corresponding to 2nd longest wavelength was found out to be %e\n.Hence Ritz combination principle is satisfied.',f3);
+
+
\ No newline at end of file |