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/CH2/EX2.21/Ex2_21.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 3537/CH2/EX2.21/Ex2_21.sce (limited to '3537/CH2/EX2.21/Ex2_21.sce') diff --git a/3537/CH2/EX2.21/Ex2_21.sce b/3537/CH2/EX2.21/Ex2_21.sce new file mode 100644 index 000000000..6a7139227 --- /dev/null +++ b/3537/CH2/EX2.21/Ex2_21.sce @@ -0,0 +1,9 @@ +//Example 2_21 +clc(); +clear; +//To find the no. of orders are visible +N=10520 //units in centimeters +lemda=5*10^-5 //units in centimeters +theta=90 //units in degrees +n=((1/N)*sin(theta*%pi/180))/lemda +printf("number of orders that are visible in granting spectra is %.0f",n) -- cgit