blob: 79ccf1a45b7916c7700c8a7e1eea2d7351755d4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Ex1_6
//given
//page no 12
clc;
clear;
disp('Solution (i) is ');
l=720; //wavelength in nm
n=1.5; //refractive index
lm=l/n;
disp('nm',lm,'Wavelenth is'); //result
disp('Solution (ii) is ');
c=3*10^8; //in m/s speed of light
u=c/n;
disp('m/s',u,'Velocity is'); //result
|