blob: 7c102fb4609e30a707f577fd9588aa7278c282b7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
// Given that
N = 400000 // no. of lines in grating per meter
lambda = 5e-7 // wavelength of incident radiation in meter
n = 3 // no. of order
// Sample Problem 36 on page no. 2.52
printf("\n # PROBLEM 36 # \n")
p = (n * N) / (sqrt(1 - (N * n * lambda)))// dispersive power (p) = d(theta)/d(lambda)
printf("\n Standard formula used \n p = (n * N) / (sqrt(1 - (N * n * lambda))). \n")
printf("\n Dispersive power = %e rad/m",p)
|