summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.54/Ex1_54.sce
blob: ad0c5a94e1338ab4336f8b41563bfb766590b17a (plain)
1
2
3
4
5
6
7
8
9
10
//Example 1_54
clc();
clear;
//To find the wavelength of the light
R=70                 //units in cm
//Diameter of the 10th dark ring
D=0.433              //units in cm
n=10
lamda=D^2/(4*R*n)           //units in cm
printf("The wavelength of the light is %f cm",lamda)