summaryrefslogtreecommitdiff
path: root/3753/CH1/EX1.16/Ex1_16.sce
blob: fb4f2173f71ab363fe1b6f029ec986a880db5032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example number 1.16, Page number 1.39
clc;clear;close


//Variable declaration
theta=90*%pi/180    //theta=90 degrees to get maximum number of orders assume
lamda=5890*10**-10 // in m
aplusb=2*10**-6       //micro mts to mts 

//Calculation
n=(aplusb*sin(theta))/lamda // order

//Result
printf("Maximum number of orders=%d",n)