blob: 0acbbac60f05c8484b7c0a76a231959de5c891c4 (
plain)
1
2
3
4
5
6
7
8
|
clc;
clear;
D_4=0.4 //diameter of the 4th dark ring in cm
D_12=0.7 //diameter of the 12th dark ring in cm
//calculation
D_20=sqrt(2*((0.7^2)-(0.4^2))+0.4^2)
mprintf("The diameter of the 20th dark ring is = %1.3f cm",D_20)
|