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 --- 3828/CH1/EX1.8/Ex1_8.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 3828/CH1/EX1.8/Ex1_8.sce (limited to '3828/CH1/EX1.8') diff --git a/3828/CH1/EX1.8/Ex1_8.sce b/3828/CH1/EX1.8/Ex1_8.sce new file mode 100644 index 000000000..e08a5d651 --- /dev/null +++ b/3828/CH1/EX1.8/Ex1_8.sce @@ -0,0 +1,19 @@ +//Chapter 1 : Wave Optics + +clear; + +//Variable declaration +lamda=5.1*10**-7 //wavelength +myu=4/3 //refractive index of glass +r=45 //angle in degrees +sin_i=4/5 +n=50 + +//Calculations +sin_r=sin_i/myu +cos_r=(1-sin_r**2)**0.5 +t=(n*lamda)/(2*myu*cos_r)/10**-5 + +//Result +mprintf("Thickness of the film t= %.1f*10**-5 m",t) + -- cgit