summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.19/Ex1_19.sce
blob: 2a6cd2b14d73ad6139f28eb86037c9343bc9c2b2 (plain)
1
2
3
4
5
6
7
8
//Example 1_19
clc();
clear;
//To find the diameter of 20th ring
D4=0.4                       //units in cm
D12=0.7                     //units in cm
D20=sqrt(2*(D12^2-D4^2)+D4^2)
printf("The diameter of the 20th dark ring is %.4f cm",D20)