summaryrefslogtreecommitdiff
path: root/1397/CH1/EX1.20/1_20.sce
blob: 2c6a840a418a8833c154cc1ac34e428a575171d2 (plain)
1
2
3
4
5
6
7
8
//clc();
clear;
//To determine the wavelength of the light used
R=70;          //radius of curvature of the lens in centimetres
n=10;
Dn=0.433      //diameter of 10th dark ring in centimetres
lambda=(Dn^2)/(4*R*n);
printf("the wavelength of the light used when a convex lens is exposed by a monochromatic light is %f cm",lambda);