From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 374/CH3/EX3.2/32.sci | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 374/CH3/EX3.2/32.sci (limited to '374/CH3/EX3.2') diff --git a/374/CH3/EX3.2/32.sci b/374/CH3/EX3.2/32.sci new file mode 100644 index 000000000..934b38cc8 --- /dev/null +++ b/374/CH3/EX3.2/32.sci @@ -0,0 +1,15 @@ +//chapter 3 example 2// +//temperature of silica glass=T,isothermal compressebility=Bc,refractive index of silica=n1,photoelastic coeffcient of silica=P,boltzmann constant=Kb,optical wavelength=l,rayleigh scattering coeffcient=Tr,attenuation in km=Akm,attenuation in db=Adb// +clc +clear +n1=1.46; +P=0.286; +Bc=7*(10^-11);//in meter sqr per newton// +l=(10^-6)// in meters// +T=1400//in kelvin// +Kb=1.38*(10^-23)//in joules per kelvin// +Tr=((8*(%pi^3))*(n1^8)*(P^2)*Bc*Kb*T)/(3*(l^4)); +printf("\n rayleigh scattering constant=%f per metre.\n",Tr); +Akm=exp(-1*Tr*(10^3)); +Adb=10*(log10(1/Akm)); +printf("\n attenuation in db=%f db per Km.\n",Adb); -- cgit