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/CH2/EX2.18/Ex2_18.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 3756/CH2/EX2.18/Ex2_18.sce (limited to '3756/CH2/EX2.18') diff --git a/3756/CH2/EX2.18/Ex2_18.sce b/3756/CH2/EX2.18/Ex2_18.sce new file mode 100644 index 000000000..ec33f00ca --- /dev/null +++ b/3756/CH2/EX2.18/Ex2_18.sce @@ -0,0 +1,16 @@ +clc +// +// +// + +//Variable declaration +lambdaa=5890 //Wavelength +dlambdaa=6 //Difference in wavelengths +n=2 //order + +//Calculations +N=((lambdaa)/(n*dlambdaa)) + +//Result +printf("\n The Minimum number of lines in the grating are %3.0f ",N) + -- cgit