From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3756/CH1/EX1.21/Ex1_21.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 3756/CH1/EX1.21/Ex1_21.sce (limited to '3756/CH1/EX1.21/Ex1_21.sce') diff --git a/3756/CH1/EX1.21/Ex1_21.sce b/3756/CH1/EX1.21/Ex1_21.sce new file mode 100644 index 000000000..992581a50 --- /dev/null +++ b/3756/CH1/EX1.21/Ex1_21.sce @@ -0,0 +1,17 @@ +clc +// +// +// + +//Variable declaration +R=100 //radius +D25=0.8 //Diameter of the 25th ring +D5=0.3 //Diameter of the 5th ring +p=20 + + +//Calculations +lambdaa=((D25**2)-(D5**2))*10**8/(4*20*100) + +//Result +printf("\n The Wavelength is %i Angstrom",lambdaa) -- cgit