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 --- 3537/CH1/EX1.21/Ex1_21.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3537/CH1/EX1.21/Ex1_21.sce (limited to '3537/CH1/EX1.21/Ex1_21.sce') diff --git a/3537/CH1/EX1.21/Ex1_21.sce b/3537/CH1/EX1.21/Ex1_21.sce new file mode 100644 index 000000000..9f534ac7f --- /dev/null +++ b/3537/CH1/EX1.21/Ex1_21.sce @@ -0,0 +1,10 @@ +//Example 1_21 +clc(); +clear; +//To find the wavelength of light used +D5=0.3 //units in cm +D25=0.8 //units in cm +R=100 //units in cm +P=20 +lemda=(D25^2-D5^2)/(4*P*R) +printf("The wavelength of the light used is %f cm",lemda) -- cgit