summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.22/Ex1_22.sce
blob: c78e08ef13663a1a39b10e04d32c2db8860ff650 (plain)
1
2
3
4
5
6
7
8
9
//Example 1_22
clc();
clear;
//To calculate the number of lines
theta=18.233   //units in degrees
n=1
lamda=6.56*10^-7   //units in meters
m=(0.02*sin(theta*%pi/180))/(n*lamda)
printf("Number of lines M=%d",m)